Socket
Socket
Sign inDemoInstall

mws-sdk-promises

Package Overview
Dependencies
51
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.12 to 0.9.13

CHANGES.md

7

lib/mws.js

@@ -19,2 +19,4 @@ 'use strict';

function AmazonMwsClient(accessKeyId, secretAccessKey, merchantId, options) {
options = options || {};
var createCredentials = tls.createSecureContext || crypto.createCredentials;

@@ -29,2 +31,3 @@ this.host = options.host || 'mws.amazonservices.com';

this.merchantId = merchantId || null;
this.authToken = options.authToken;
}

@@ -70,2 +73,6 @@

if (this.authToken) {
query["MWSAuthToken"] = this.authToken;
}
if (api.legacy) {

@@ -72,0 +79,0 @@ query['Merchant'] = this.merchantId;

2

package.json

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

"homepage": "http://_",
"version": "0.9.12",
"version": "0.9.13",
"author": {

@@ -15,0 +15,0 @@ "name": "Eibbor Srenduas",

@@ -31,3 +31,3 @@ mws-sdk-promises

client = new MWS.Client('accessKeyId', 'secretAccessKey', 'merchantId', {}),
marketPlaceId = "ATVPDKIKX0DER";
MarketplaceId = "ATVPDKIKX0DER";
```

@@ -68,3 +68,3 @@

getListOrders(client, {
marketPlaceId: "ATVPDKIKX0DER",
MarketplaceId: MarketplaceId,
MaxResultsPerPage: 10,

@@ -71,0 +71,0 @@ CreatedAfter: new Date(1,1,2015)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc