1.0.6 • Published 5 years ago

@reactivehub/sdk-javascript v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

reactivehub.io Javascript SDK

The reactivehub.io Javascript SDK implements the methods to publish in Event api

Installation

Via npm

npm i -S @reactivehub/sdk-javascript

Usage

Config

const client = require('reactivehub-sdk-javascript');
client.initialize({
    namespace: '<team-name>',
    clientKey: '<client-key>',
    clientSecret: '<client-secret>',
});

Publish events

const result =  client.publishEvent('<event-name>', {key: 'keyValue', ... });

How to contribute

We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.

Contributor License Agreement Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution, this simply gives us permission to use and redistribute your contributions as part of the project.

You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again.

Code reviews

All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.

License

The contents of this repository is licensed under the Apache License, version 2.0.

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago