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

postmark

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

postmark - npm Package Compare versions

Comparing version 3.0.12 to 3.0.13

4

CHANGELOG.md
# Changelog
## 3.0.13
* Minor code fix, fixing up library versions for older versions of node
## 3.0.12

@@ -4,0 +8,0 @@

2

dist/client/HttpClient.d.ts

@@ -35,4 +35,4 @@ import { AxiosInstance } from "axios";

*/
private getRequestTimeoutInSeconds;
private getRequestTimeoutInMilliseconds;
private adjustValue;
}

@@ -49,3 +49,3 @@ "use strict";

baseURL: this.getBaseHttpRequestURL(),
timeout: this.getRequestTimeoutInSeconds(),
timeout: this.getRequestTimeoutInMilliseconds(),
responseType: "json",

@@ -108,3 +108,3 @@ maxContentLength: Infinity,

*/
AxiosHttpClient.prototype.getRequestTimeoutInSeconds = function () {
AxiosHttpClient.prototype.getRequestTimeoutInMilliseconds = function () {
return (this.clientOptions.timeout || 60) * 1000;

@@ -111,0 +111,0 @@ };

@@ -12,3 +12,3 @@ {

],
"version": "3.0.12",
"version": "3.0.13",
"author": "Igor Balos",

@@ -66,3 +66,3 @@ "contributors": [

"devDependencies": {
"@types/chai": "^4.1.4",
"@types/chai": "4.3.1",
"@types/mocha": "^5.2.5",

@@ -72,4 +72,4 @@ "@types/nconf": "0.0.37",

"@types/sinon": "^7.5.0",
"chai": "^4.1.2",
"mocha": "^5.2.0",
"chai": "4.3.1",
"mocha": "5.2.0",
"nconf": "^0.10.0",

@@ -76,0 +76,0 @@ "pre-commit": "1.2.2",

@@ -17,13 +17,2 @@ import * as postmark from "../../src/index";

});
it("editServer", async () => {
const serverOptions = new postmark.Models.UpdateServerRequest(undefined, "red");
const updatedServerOptions = new postmark.Models.UpdateServerRequest(undefined, "green");
let server: postmark.Models.Server = await client.editServer(serverOptions);
expect(server.Color).to.eq(serverOptions.Color);
server = await client.editServer(updatedServerOptions);
expect(server.Color).to.eq(updatedServerOptions.Color);
});
});

Sorry, the diff of this file is not supported yet

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