@or-sdk/notifications
TypeScript icon, indicating that this package has built-in type declarations

1.1.11 • Public • Published

Installation:

$ npm i @or-sdk/notifications

Usage:

import { Notifications } from '@or-sdk/notifications'

// with direct api url
const users = new Notifications({
  token: 'my-account-token-string',
  notificationsUrl: 'https://notifications',
});

// with service discovery(slower)
const users = new Notifications({
  token: 'my-account-token-string',
  discoveryUrl: 'http://example.users/endpoint'
});

Readme

Keywords

none

Package Sidebar

Install

npm i @or-sdk/notifications

Weekly Downloads

483

Version

1.1.11

License

Apache-2.0

Unpacked Size

35.9 kB

Total Files

35

Last publish

Collaborators

  • onereach.user
  • onereach.admin