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

notifications-node-client

Package Overview
Dependencies
Maintainers
0
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

1235

4.5.1

Diff

Changelog

Source

[4.5.1] - 2018-09-14

Changed

  • Made formatting consistent across documentation.
govuk-notify
published 4.5.0 •

Changelog

Source

[4.5.0] - 2018-09-13

Changed

  • Added a function to send precompiled letter through the client.
    • the new function uses a helper function to check if the file size is within the 5MB limit and to encode the file using base64. Then a POST request to our API is made with the file data and user reference.
    • instructions for the new functionality added to the documentation.
govuk-notify
published 4.4.0 •

Changelog

Source

[4.4.0] - 2018-09-05

Changed

  • Added instructions for uploading a document to be linked to from an email notification.
    • Created a helper function prepareUpload as a part of this development. This function encodes the document that is to be uploaded with base64 and returns a dictionary with prepared document as a value (the way our API is prepared to receive it). It also checks if the provided file is not larger than 2MB. The function throws an error if the file is too big.
klssmith
published 4.3.0 •

Changelog

Source

[4.3.0] - 2018-09-04

  • Added name to the response for getTemplateById() and getTemplateByIdAndVersion()
    • These functions now return the name of the template as set in Notify
klssmith
published 4.2.0 •

Changelog

Source

[4.2.0] - 2018-07-24

Changed

  • Added created_by_name to the response for .getNotificationById() and .getNotifications():
    • If the notification was sent manually this will be the name of the sender. If the notification was sent through the API this will be null.
govuk-notify
published 4.1.0 •

Changelog

Source

[4.1.0] - 2017-11-23

Changed

  • Added new method:
    • getReceivedTexts - get one page of text messages (250) per call
klssmith
published 4.0.0 •

Changelog

Source

[4.0.0] - 2017-11-07

Changed

  • Updated sendSms, sendEmail and sendLetter to take an options object as a parameter.
    • personalisation, reference, smsSenderId and emailReplyToId now need to be passed to these functions inside options.
  • Removed the unused Crypto dependency
klssmith
published 3.5.0 •

Changelog

Source

[3.5.0] - 2017-11-01

Changed

  • Updated sendSms method with optional argument:
    • smsSenderId - specify the identifier of the sms sender (optional)
quis
published 3.2.0 •

Changelog

Source

[3.2.0] - 2017-09-22

Changed

  • Added new method:
    • setProxy(proxyUrl) - specify the URL of a proxy for the client to use (optional)
imdadgds
published 3.1.0 •

Changelog

Source

[3.1.0] - 2017-05-10

Changed

  • Added new methods for managing templates:

    • getTemplateById - retrieve a single template
    • getTemplateByIdAndVersion - retrieve a specific version for a desired template
    • getAllTemplates - retrieve all templates (can filter by type)
    • previewTemplateById - preview a template with personalisation applied
  • Update README to describe how to catch errors

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