Comparing version 2.1.3 to 2.1.4
@@ -6,3 +6,9 @@ # Change Log | ||
## [Unreleased][unreleased] | ||
- Security patches to dev-dependencies [#237](https://github.com/SparkPost/node-sparkpost/pull/237) by @jgzamora | ||
## [2.1.4] - 2019-10-01 | ||
### Added | ||
- Events API functionality by @sstaley-sparkpost | ||
- Example for [searching the events/message API](/examples/events/search_message.js) by @sstaley-sparkpost. | ||
## [2.1.3] - 2018-10-24 | ||
@@ -9,0 +15,0 @@ ### Fixed |
@@ -29,3 +29,3 @@ 'use strict'; | ||
// Callback | ||
client.transmissions.send(tranmission, function(err, data) { | ||
client.transmissions.send(transmission, function(err, data) { | ||
if (err) { | ||
@@ -32,0 +32,0 @@ console.log('Whoops! Something went wrong'); |
@@ -81,2 +81,3 @@ 'use strict'; | ||
this.messageEvents = require('./messageEvents')(this); | ||
this.events = require('./events')(this); | ||
this.recipientLists = require('./recipientLists')(this); | ||
@@ -83,0 +84,0 @@ this.relayWebhooks = require('./relayWebhooks')(this); |
{ | ||
"name": "sparkpost", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "A Node.js wrapper for interfacing with your favorite SparkPost APIs", | ||
@@ -32,7 +32,7 @@ "main": "./lib/sparkpost.js", | ||
"chai-as-promised": "^6.0.0", | ||
"coveralls": "^2.11.15", | ||
"coveralls": "^3.0.2", | ||
"eslint": "^3.12.2", | ||
"eslint-config-sparkpost": "1.3.1", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.2.0", | ||
"mocha": "^5.2.0", | ||
"nock": "^9.0.0", | ||
@@ -39,0 +39,0 @@ "sinon": "^1.17.5", |
@@ -7,3 +7,3 @@ <a href="https://www.sparkpost.com"><img src="https://www.sparkpost.com/sites/default/files/attachments/SparkPost_Logo_2-Color_Gray-Orange_RGB.svg" width="200px"/></a> | ||
[![Travis CI](https://travis-ci.org/SparkPost/node-sparkpost.svg?branch=master)](https://travis-ci.org/SparkPost/node-sparkpost) [![Coverage Status](https://coveralls.io/repos/SparkPost/node-sparkpost/badge.svg?branch=master&service=github)](https://coveralls.io/github/SparkPost/node-sparkpost?branch=master) [![NPM version](https://badge.fury.io/js/sparkpost.png)](http://badge.fury.io/js/sparkpost) [![Slack Status](http://slack.sparkpost.com/badge.svg)](http://slack.sparkpost.com) | ||
[![Travis CI](https://travis-ci.org/SparkPost/node-sparkpost.svg?branch=master)](https://travis-ci.org/SparkPost/node-sparkpost) [![Coverage Status](https://coveralls.io/repos/SparkPost/node-sparkpost/badge.svg?branch=master&service=github)](https://coveralls.io/github/SparkPost/node-sparkpost?branch=master) [![NPM version](https://badge.fury.io/js/sparkpost.png)](http://badge.fury.io/js/sparkpost) | ||
@@ -157,2 +157,3 @@ The official Node.js binding for your favorite [SparkPost APIs](https://developers.sparkpost.com/api)! | ||
* [Message Events](/docs/resources/messageEvents.md) - `client.messageEvents` ([examples](/examples/messageEvents)) | ||
* [Events](/docs/resources/events.md) - `client.events` ([examples](/examples/events)) | ||
* [Recipient Lists](/docs/resources/recipientLists.md) - `client.recipientLists` ([examples](/examples/recipientLists)) | ||
@@ -159,0 +160,0 @@ * [Relay Webhooks](/docs/resources/relayWebhooks.md) - `client.relayWebhooks` ([examples](/examples/relayWebhooks)) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
251331
117
5041
187