mws-sdk-promises
Advanced tools
Comparing version 0.9.17 to 0.9.18
Changes: | ||
======= | ||
2017/10/13 ver. 0.9.18 | ||
---------------------- | ||
merged PR #15 by [JoeMcGuire](https://github.com/JoeMcGuire) | ||
2016/08/15 ver. 0.9.17 | ||
@@ -4,0 +9,0 @@ ---------------------- |
@@ -162,3 +162,5 @@ /** | ||
DestinationFulfillmentCenterId: { name: 'InboundShipmentHeader.DestinationFulfillmentCenterId', required: true }, | ||
ShipmentStatus: { name: 'InboundShipmentHeader.ShipmentStatus' }, | ||
AreCasesRequired: { name: 'InboundShipmentHeader.AreCasesRequired': required: false }, | ||
ShipmentStatus: { name: 'InboundShipmentHeader.ShipmentStatus', required: true }, | ||
IntendedBoxContentsSource: { name: 'InboundShipmentHeader.IntendedBoxContentsSource', required: false }, | ||
LabelPrepPreference: { name: 'InboundShipmentHeader.LabelPrepPreference' }, | ||
@@ -165,0 +167,0 @@ InboundShipmentItems: { name: 'InboundShipmentItems', type: 'Complex', required: true, construct: complex.InboundShipmentItems } |
@@ -212,3 +212,2 @@ 'use strict'; | ||
var setValue = function setValue(name, val) { | ||
console.log(name, val) | ||
if (p.type == 'Timestamp') { | ||
@@ -215,0 +214,0 @@ self.params[name].value = val.toISOString(); |
@@ -12,3 +12,3 @@ { | ||
"homepage": "http://_", | ||
"version": "0.9.17", | ||
"version": "0.9.18", | ||
"author": { | ||
@@ -19,12 +19,16 @@ "name": "Eibbor Srenduas", | ||
}, | ||
"contributors": [{ | ||
"name": "Adrian Sanchezdelc", | ||
"email": "adrian@ticadia.com" | ||
}, { | ||
"name": "David F. Sklar", | ||
"email": "dfsklar@gmail.com" | ||
}, { | ||
"name": "Alex I. Vedmedenko", | ||
"email": "vedmalex@gmail.com" | ||
}], | ||
"contributors": [ | ||
{ | ||
"name": "Adrian Sanchezdelc", | ||
"email": "adrian@ticadia.com" | ||
}, | ||
{ | ||
"name": "David F. Sklar", | ||
"email": "dfsklar@gmail.com" | ||
}, | ||
{ | ||
"name": "Alex I. Vedmedenko", | ||
"email": "vedmalex@gmail.com" | ||
} | ||
], | ||
"main": "./lib/mws", | ||
@@ -54,2 +58,2 @@ "directories": { | ||
} | ||
} | ||
} |
@@ -30,3 +30,11 @@ mws-sdk-promises | ||
var MWS = require('mws-sdk-promises'), | ||
client = new MWS.Client('accessKeyId', 'secretAccessKey', 'merchantId', {}), | ||
client = new MWS.Client( | ||
'accessKeyId', | ||
'secretAccessKey', | ||
'merchantId', | ||
{ | ||
// Optional Auth Token when using delegated Developer access. | ||
authToken: 'amzn.mws...' | ||
} | ||
), | ||
MarketplaceId = "ATVPDKIKX0DER"; | ||
@@ -33,0 +41,0 @@ ``` |
60249
1362
106