Socket
Socket
Sign inDemoInstall

notifications-node-client

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notifications-node-client - npm Package Versions

1234

3.0.0

Diff

Changelog

Source

[3.0.0] - 2016-12-16

Changed

  • Using v2 of the notification-api.

  • Update to notifyClient.sendSms():

    • Added reference: an optional identifier you generate if you don’t want to use Notify’s id. It can be used to identify a single notification or a batch of notifications.
    • Updated method signature:
notifyClient.sendSms(templateId, phoneNumber, personalisation, reference);
 * Where `personalisation` and `reference` can be `undefined`.
  • Update to notifyClient.sendEmail():
    • Added reference: an optional identifier you generate if you don’t want to use Notify’s id. It can be used to identify a single notification or a batch of notifications.
    • Updated method signature:
notifyClient.sendEmail(templateId, emailAddress, personalisation, reference);
 * Where `personalisation` and `reference` can be `undefined`.
  • NotificationClient.getAllNotifications()
    • Notifications can now be filtered by reference and olderThanId, see the README for details.
    • Updated method signature:
notifyClient.getNotifications(templateType, status, reference, olderThanId);
 * Each one of these parameters can be `undefined`

Changelog not recorded - please see pull requests on github.

quis
published 2.3.1 •

mrlumbu
published 2.1.0 •

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