1.0.14 • Published 4 years ago

cwc-sdk v1.0.14

Weekly downloads
5
License
ISC
Repository
-
Last release
4 years ago

Chat web SDK NPM version NPM monthly downloads NPM total downloads

Install

Install with npm:

$ npm install --save cwc-sdk

or yarn

$ yarn add cwc-sdk

Usage

Example

var initChatSdk = require("cwc-sdk")

const cws = initChatSdk("https://chat-web-sdk-server:8070/", {userId: "some.guy"});

cws.onReady = async function() {
  await cws.setCustomer({
    segment: "private"
  })
  cws.send({type: "text", text: "hei"});
}
1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.0

5 years ago