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

sparkpost

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sparkpost - npm Package Versions

23

2.1.4

Diff

Changelog

Source

[2.1.4] - 2019-10-01

Added

  • Events API functionality by @sstaley-sparkpost
  • Example for searching the events/message API by @sstaley-sparkpost.
sparkpost
published 2.1.3 •

Changelog

Source

[2.1.3] - 2018-10-24

Fixed

Added

aydrian
published 2.1.2 •

Changelog

Source

[2.1.2] - 2017-01-20

Fixed

  • Callbacks are no longer being called twice in some methods by @avrahamgoldman. See Issue 203.
aydrian
published 2.1.1 •

Changelog

Source

[2.1.1] - 2017-01-11

Changed

  • Removed our addition to the native Promise prototype in favor of a bluebird-inspired callback-wrapping function. See Issue #199. Thanks @danieljuhl.

Fixed

  • Empty CC sugar method no longer triggers an API error by @avrahamgoldman.
aydrian
published 2.1.0 •

Changelog

Source

[2.1.0] - 2016-12-20

Added

Changed

  • Updated the following npm packages: coveralls, eslint, eslint-config-sparkpost, mocha, lodash, and request by @aydrian.
  • Resolved new linting issues from eslint-config-sparkpost update by @avrahamgoldman.

Fixed

  • The options parameter on the transmissions.send() method is now optional if you're using a callback function by @avrahamgoldman.
  • The options parameter on the templates.get() method is now optional if you're using a callback function by @avrahamgoldman.
aydrian
published 2.0.1 •

Changelog

Source

[2.0.1] - 2016-11-10

Added

  • Node.js version is now tracked using the User-Agent header by @ewandennis.
  • An optional "stack identifier" that can be set during initialization so we can track libraries that use node-sparkpost via the User-Agent header by @ewandennis.
aydrian
published 2.0.0 •

Changelog

Source

[2.0.0] - 2016-11-04 - breaking

With this major release, we streamlined and simplified the library making it more of a thin wrapper, adding sugar methods when needed. Parameters are no longer abstracted and are passed directly to the API as laid out in the official documentation. Please see the updated resource docs and examples. The high level changes have been listed below.

Added

  • Support for Promises and Callbacks. See Async Handling.
  • Debug option on initialization attaches debug information on response

Changed

  • Methods return the response body instead of the full response.
  • Standardized methods on all API wrappers. See Issue #175.
  • Transmissions send method now takes an object of transmission attributes as the first parameter. Any other options, such as num_rcpt_errors has been moved to a second optional options parameter.
  • Removed the toApiFormat method, parameters are passed directly to the API as snake_case.
  • Now using ESLint with SparkPost config instead of JSLint
  • Now using NPM scripts instead of grunt

Fixed

  • Responses for GET requests are now properly parsed as JSON by @aydrian. Closes #111

Removed

  • No longer supporting Node.js versions 0.10 & 0.12. We will be following the LTS Schedule going forward.
  • Removed SendGrid Compatibility layer.
aydrian
published 1.3.8 •

Changelog

Source

[1.3.8] - 2016-08-26

  • #165 Updated webhook update method to not send id in request (@aydrian)
aydrian
published 1.3.7 •

Changelog

Source

[1.3.7] - 2016-07-28

  • #150 Upgrade lodash version to 4 (@rnzo)
aydrian
published 1.3.6 •

Changelog

Source

[1.3.6] - 2016-07-14

  • #148 Preserve array/object structure of API data (@gpittarelli)
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