@sp-api-sdk/notifications-api-v1 1.11.0 → 1.11.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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -106,13 +106,15 @@ const client = new NotificationsApiClient({
106
106
  },
107
107
  response: {
108
108
  logger: console.debug
109
- }
109
+ },
110
+ error: true,
110
111
  },
111
112
  })
112
113
  ```
113
114
 
114
115
  Specifying `true` will use the default options, specifying an object will allow you to override the default options.
115
- This uses [axios-logger](https://github.com/hg-pyun/axios-logger) under the hood.
116
+ This uses [axios-logger](https://github.com/hg-pyun/axios-logger) under the hood.
117
+ By default, if enabled, the `request` and `response` loggers will use `console.info` and the `error` logger will use `console.error`.
116
118
 
117
119
 
118
120
  ## License
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/notifications-api-v1",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Notifications lets you subscribe to notifications that are relevant to a selling partner's business. Using this API you can create a destination to receive notifications, subscribe to notifications, delete notification subscriptions, and more. For more information, see the Notifications Use Case Guide",
5
- "version": "1.11.0",
5
+ "version": "1.11.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.13",
31
- "@sp-api-sdk/common": "^1.8.0",
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
  "notifications api"
52
52
  ],
53
- "gitHead": "975705017de9384bf28b85e97d93f866d4d71611"
53
+ "gitHead": "15c172555c85ce89731cebb62eb7e23f550f9506"
54
54
  }