@sp-api-sdk/aplus-content-api-2020-11-01 1.9.0 → 1.9.1
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 +4 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -78,13 +78,15 @@ const client = new AplusContentApiClient({
|
|
|
78
78
|
},
|
|
79
79
|
response: {
|
|
80
80
|
logger: console.debug
|
|
81
|
-
}
|
|
81
|
+
},
|
|
82
|
+
error: true,
|
|
82
83
|
},
|
|
83
84
|
})
|
|
84
85
|
```
|
|
85
86
|
|
|
86
87
|
Specifying `true` will use the default options, specifying an object will allow you to override the default options.
|
|
87
|
-
This uses [axios-logger](https://github.com/hg-pyun/axios-logger) under the hood.
|
|
88
|
+
This uses [axios-logger](https://github.com/hg-pyun/axios-logger) under the hood.
|
|
89
|
+
By default, if enabled, the `request` and `response` loggers will use `console.info` and the `error` logger will use `console.error`.
|
|
88
90
|
|
|
89
91
|
|
|
90
92
|
## License
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/aplus-content-api-2020-11-01",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail pages. A+ content helps selling partners share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners assemble content by choosing from content modules and adding images and text.",
|
|
5
|
-
"version": "1.9.
|
|
5
|
+
"version": "1.9.1",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"test": "NODE_ENV='test' yarn jest"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@sp-api-sdk/auth": "^1.9.
|
|
31
|
-
"@sp-api-sdk/common": "^1.
|
|
30
|
+
"@sp-api-sdk/auth": "^1.9.14",
|
|
31
|
+
"@sp-api-sdk/common": "^1.9.0",
|
|
32
32
|
"axios": "^0.27.2"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"sp sdk",
|
|
51
51
|
"aplus content api"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "15c172555c85ce89731cebb62eb7e23f550f9506"
|
|
54
54
|
}
|