New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@trycourier/courier

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trycourier/courier - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

7

CHANGELOG.md

@@ -8,2 +8,6 @@ # Change Log

## [v3.2.0] - 2021-11-18
- adds idempotency expiration support for send and send list endpoints
## [v3.1.0] - 2021-11-16

@@ -185,3 +189,4 @@

[unreleased]: https://github.com/trycourier/courier-node/compare/v3.1.0...HEAD
[unreleased]: https://github.com/trycourier/courier-node/compare/v3.2.0...HEAD
[v3.2.0]: https://github.com/trycourier/courier-node/compare/v3.1.0...v3.2.0
[v3.1.0]: https://github.com/trycourier/courier-node/compare/v3.0.0...v3.1.0

@@ -188,0 +193,0 @@ [v3.0.0]: https://github.com/trycourier/courier-node/compare/v2.8.0...v3.0.0

@@ -58,2 +58,6 @@ "use strict";

}
if (config && config.idempotencyExpiry) {
axiosConfig.headers["x-idempotency-expiration"] =
config.idempotencyExpiry;
}
return [4 /*yield*/, options.httpClient.post("/send", {

@@ -60,0 +64,0 @@ brand: params.brand,

@@ -195,2 +195,6 @@ "use strict";

}
if (config && config.idempotencyExpiry) {
axiosConfig.headers["x-idempotency-expiration"] =
config.idempotencyExpiry;
}
return [4 /*yield*/, options.httpClient.post("/send/list", params, axiosConfig)];

@@ -197,0 +201,0 @@ case 1:

@@ -34,2 +34,3 @@ import { AxiosRequestConfig } from "axios";

idempotencyKey?: string;
idempotencyExpiry?: number;
}

@@ -36,0 +37,0 @@ export interface ICourierSendResponse {

2

package.json
{
"name": "@trycourier/courier",
"version": "3.1.0",
"version": "3.2.0",
"description": "A node.js module for communicating with the Courier REST API.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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