@rc-ex/pubnub
TypeScript icon, indicating that this package has built-in type declarations

1.1.15 • Public • Published

PubNub Extension

PubNub Extension adds PubNub notifications feature.

It is deprecated. Please use WebSocket Extension instead.

Install

yarn add @rc-ex/pubnub

Usage

import RingCentral from '@rc-ex/core';
import PubNubExtension from '@rc-ex/pubnub';

const rc = new RingCentral(...);
const pubNubExtension = new PubNubExtension();
await rc.installExtension(pubNubExtension);

const subscription = await pubNubExtension.subscribe(
    ['/restapi/v1.0/account/~/extension/~/message-store'],
    message => {
       ...
    }
);

Known issue

The last pubnub version I tested is 7.3.3. I confirmed that it worked.

However, after I upgrade to pubnub 7.4.x, it stopped working. I don't know why.

We are not going to spend time on it any more because pubnub support is deprecated.

Readme

Keywords

none

Package Sidebar

Install

npm i @rc-ex/pubnub

Weekly Downloads

2

Version

1.1.15

License

MIT

Unpacked Size

15.5 kB

Total Files

7

Last publish

Collaborators

  • tylerlong