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

@scaleleap/amazon-mws-api-sdk

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scaleleap/amazon-mws-api-sdk - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

lib/sections/shipment-invoicing.d.ts

19

CHANGELOG.md

@@ -6,2 +6,21 @@ # Changelog

# [1.3.0](https://github.com/ScaleLeap/amazon-mws-api-sdk/compare/v1.2.0...v1.3.0) (2020-07-08)
### Bug Fixes
* check both api vers ([2775650](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/27756500fe6e90a47415666bc46a46c8d2f8ccd2))
* fix api extractor issues ([167110a](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/167110a20490414a044415456c7a39723cfc287a))
* fix api version ([edaf222](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/edaf22205bf61edb308a4ff325bd4e8a33326a7d))
* make comment clearer ([56029b1](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/56029b1b194b406d0ef818267e16833a4517bf3a))
* make name of address different from MerchantFulfillment ([7e6afb9](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/7e6afb9e2e3656c35050c23de1ffd149d7b6a0a6))
* this is the correct API ver ([a455fbf](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/a455fbfa3a759a69c03b8b8671cbbfe303c16aa1))
### Features
* create GetFbaOutboundShipmentDetail ([f259195](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/f259195a53742ebbb619f2ec8858f3d5d2b5d651))
* init shipmentInvoicing ([c7f36ab](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/c7f36ab1eb320cb4687f41c0a59d306c47891a9d))
* make submitFbaOutboundShipmentInvoice ([a5541be](https://github.com/ScaleLeap/amazon-mws-api-sdk/commit/a5541bee71f733f5fe0e59db682b6668231bf5ef))
# [1.2.0](https://github.com/ScaleLeap/amazon-mws-api-sdk/compare/v1.1.1...v1.2.0) (2020-07-08)

@@ -8,0 +27,0 @@

2

lib/http.d.ts

@@ -24,2 +24,3 @@ import { AmazonMarketplace } from '@scaleleap/amazon-marketplaces';

Feeds = "Feeds",
ShipmentInvoicing = "ShipmentInvoicing",
MerchantFulfillment = "MerchantFulfillment"

@@ -36,2 +37,3 @@ }

[Resource.Feeds]: 'SubmitFeed' | 'GetFeedSubmissionList' | 'GetFeedSubmissionListByNextToken' | 'GetFeedSubmissionCount' | 'CancelFeedSubmissions' | 'GetFeedSubmissionResult';
[Resource.ShipmentInvoicing]: 'GetFBAOutboundShipmentDetail' | 'SubmitFBAOutboundShipmentInvoice' | 'GetFBAOutboundShipmentInvoiceStatus' | 'GetServiceStatus';
[Resource.MerchantFulfillment]: 'GetEligibleShippingServices' | 'GetAdditionalSellerInputs' | 'CreateShipment' | 'GetShipment' | 'CancelShipment' | 'GetServiceStatus';

@@ -38,0 +40,0 @@ }

12

lib/http.js

@@ -23,4 +23,10 @@ "use strict";

Resource["Feeds"] = "Feeds";
Resource["ShipmentInvoicing"] = "ShipmentInvoicing";
Resource["MerchantFulfillment"] = "MerchantFulfillment";
})(Resource = exports.Resource || (exports.Resource = {}));
/**
* `SubmitFeed` and `SubmitFBAOutboundShipmentInvoice` has the feed passed as an XML file in the body
* and the other parameters as query parameters
*/
const REQUEST_HAS_BODY = new Set(['SubmitFeed', 'SubmitFBAOutboundShipmentInvoice']);
const canonicalizeParameters = (parameters) => {

@@ -123,8 +129,4 @@ const sp = new url_1.URLSearchParams(parameters);

};
/**
* `SubmitFeed` has the feed passed as an XML file in the body
* and the other parameters as query parameters
*/
}
else if (body && info.action === 'SubmitFeed') {
else if (body && REQUEST_HAS_BODY.has(info.action)) {
config = {

@@ -131,0 +133,0 @@ url: `${url}?${canonicalizeParameters(parametersWithSignature)}`,

@@ -12,2 +12,3 @@ export * from './error';

export * from './sections/subscriptions';
export * from './sections/shipment-invoicing';
export * from './sections/orders';

@@ -14,0 +15,0 @@ export * from './sections/products/products';

@@ -24,2 +24,3 @@ "use strict";

__exportStar(require("./sections/subscriptions"), exports);
__exportStar(require("./sections/shipment-invoicing"), exports);
__exportStar(require("./sections/orders"), exports);

@@ -26,0 +27,0 @@ __exportStar(require("./sections/products/products"), exports);

@@ -10,2 +10,3 @@ import { HttpClient } from './http';

import { Sellers } from './sections/sellers';
import { ShipmentInvoicing } from './sections/shipment-invoicing';
import { Subscriptions } from './sections/subscriptions';

@@ -23,2 +24,3 @@ export declare class MWS {

private _subscriptions;
private _shipmentInvoicing;
constructor(httpClient: HttpClient);

@@ -33,3 +35,4 @@ get sellers(): Sellers;

get reports(): Reports;
get shipmentInvoicing(): ShipmentInvoicing;
get subscriptions(): Subscriptions;
}

@@ -12,2 +12,3 @@ "use strict";

const sellers_1 = require("./sections/sellers");
const shipment_invoicing_1 = require("./sections/shipment-invoicing");
const subscriptions_1 = require("./sections/subscriptions");

@@ -66,2 +67,8 @@ class MWS {

}
get shipmentInvoicing() {
if (!this._shipmentInvoicing) {
this._shipmentInvoicing = new shipment_invoicing_1.ShipmentInvoicing(this.httpClient);
}
return this._shipmentInvoicing;
}
get subscriptions() {

@@ -68,0 +75,0 @@ if (!this._subscriptions) {

@@ -22,3 +22,3 @@ {

"homepage": "https://github.com/ScaleLeap/amazon-mws-api-sdk/#readme",
"version": "1.2.0",
"version": "1.3.0",
"main": "lib/index.js",

@@ -25,0 +25,0 @@ "files": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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