Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elarian

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elarian

Elrian JavaScript SDK

  • 0.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
increased by133.33%
Maintainers
1
Weekly downloads
 
Created
Source

Elarian JavaScript SDK

NPM

The wrapper provides convenient access to the Elarian APIs.

Documentation

Take a look at the API docs here.

Install

You can install the package from npm by running:

$ npm install elarian

Usage

const Elarian = require('elarian');

const elarian = new Elarian({
    apiKey: 'test_api_key',
    sandbox: true,
});

const stream = await elarian.StreamNotifications({
    app_id: 'test_app'
});

stream.on('data', (notification) => {
    console.log(notification);
});
stream.on('end', () => {
    // The server has finished sending
});
stream.on('error', (err) => {
    // An error has occurred and the stream has been closed.
    console.error(err);
});
stream.on('status', (status) => {
    // process status
});

Methods

  • AuthToken():

  • GetCustomerState():

  • AdoptCustomerState():

  • AddCustomerReminder():

  • AddCustomerReminderByTag():

  • CancelCustomerReminder():

  • CancelCustomerReminderByTag():

  • UpdateCustomerTag():

  • DeleteCustomerTag():

  • UpdateCustomerSecondaryId():

  • DeleteCustomerSecondaryId():

  • UpdateCustomerMetadata():

  • DeleteCustomerMetadata ():

  • SendMessage():

  • SendMessageByTag():

  • ReplyToMessage():

  • MessagingConsent():

  • SendPayment():

  • CheckoutPayment():

  • MakeVoiceCall():

  • StreamNotifications():

  • SendWebhookResponse():

Development

Run all tests:

$ npm install
$ npm test

Issues

If you find a bug, please file an issue on our issue tracker on GitHub.

Keywords

FAQs

Package last updated on 20 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc