New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sp-api-sdk/notifications-api-v1

Package Overview
Dependencies
Maintainers
2
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sp-api-sdk/notifications-api-v1 - npm Package Compare versions

Comparing version 1.4.3 to 1.5.0

8

package.json

@@ -5,3 +5,3 @@ {

"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.",
"version": "1.4.3",
"version": "1.5.0",
"main": "dist/cjs/index.js",

@@ -28,4 +28,4 @@ "module": "dist/es/index.js",

"dependencies": {
"@sp-api-sdk/auth": "^0.3.4",
"@sp-api-sdk/common": "^0.6.2",
"@sp-api-sdk/auth": "^0.4.0",
"@sp-api-sdk/common": "^0.6.3",
"axios": "^0.21.1"

@@ -51,3 +51,3 @@ },

],
"gitHead": "a9026c9e3fd5deb8af55c47c125c530316e1bf9d"
"gitHead": "85b8f6ce3669697528c2570923155372c450a8cc"
}

@@ -17,3 +17,30 @@ # `notifications-api-v1`

### With grantless API
```javascript
import {SellingPartnerApiAuth, AuthorizationScope} from '@sp-api-sdk/auth'
import {NotificationsApiClient} from '@sp-api-sdk/notifications-api-v1'
const auth = new SellingPartnerApiAuth({
clientId: '',
clientSecret: '',
scopes: [AuthorizationScope.NOTIFICATIONS],
secretAccessKey: '',
accessKeyId: '',
region: '',
role: {
arn: '',
}
})
const client = new NotificationsApiClient({
auth,
region: 'eu' // or 'eu-west-1'
})
```
### With access token
```javascript
import {SellingPartnerApiAuth} from '@sp-api-sdk/auth'

@@ -20,0 +47,0 @@ import {NotificationsApiClient} from '@sp-api-sdk/notifications-api-v1'

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