@sp-api-sdk/product-pricing-api-v0 1.15.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,12 +27,6 @@ const auth = new SellingPartnerApiAuth({
27
27
  clientId: process.env.LWA_CLIENT_ID,
28
28
  clientSecret: process.env.LWA_CLIENT_SECRET,
29
29
  refreshToken: 'Atzr|…',
30
- accessKeyId: '',
31
- secretAccessKey: '',
32
- region: 'eu-west-1',
33
- role: {
34
- arn: 'arn:aws:iam::…',
35
- },
36
30
  })
37
31
 
38
32
  const client = new ProductPricingApiClient({
@@ -54,7 +54,7 @@ export interface LowestPriceType {
54
54
  * @type {MoneyType}
55
55
  * @memberof LowestPriceType
56
56
  */
57
- 'LandedPrice': MoneyType;
57
+ 'LandedPrice'?: MoneyType;
58
58
  /**
59
59
  *
60
60
  * @type {MoneyType}
@@ -66,7 +66,7 @@ export interface LowestPriceType {
66
66
  * @type {MoneyType}
67
67
  * @memberof LowestPriceType
68
68
  */
69
- 'Shipping': MoneyType;
69
+ 'Shipping'?: MoneyType;
70
70
  /**
71
71
  *
72
72
  * @type {Points}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/product-pricing-api-v0",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.",
5
- "version": "1.15.0",
5
+ "version": "2.0.0",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "1.11.5",
22
- "axios": "^1.4.0"
21
+ "@sp-api-sdk/common": "2.0.0",
22
+ "axios": "^1.5.1"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "product pricing api"
42
42
  ],
43
- "gitHead": "0482222d751371d4e679aeb5dbab1cf8eb4c8bd4"
43
+ "gitHead": "a278405620f714b7bf6c42692d265f76d952bd49"
44
44
  }