npm.io
0.3.1 • Published 9 years ago

wire-webapp-core

Licence
GPL-3.0
Version
0.3.1
Deps
10
Vulns
15
Weekly
0
DeprecatedThis package is deprecated

Greenkeeper badge

THIS PROJECT IS NOT OFFICIALLY SUPPORTED! ALL CODE IN HERE IS IN DEVELOPMENT AND LIKELY TO CHANGE WITHOUT WARNING. USE AT YOUR OWN RISK.


Wire

This repository is part of the source code of Wire. You can find more information at wire.com or by contacting opensource@wire.com.

You can find the published source code at github.com/wireapp.

For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.

wire-webapp-core

Wire for Web's communication core.

Simple example

var wire = require('wire-webapp-core');

var user = new wire.User({email: 'name@mail.com', password: 'secret'})
.login()
.then(function (service) {
  return service.conversation.sendTextMessage('conversation-id', 'Message');
});