@bizon/mws-sdk
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -5,2 +5,3 @@ const parseNotificationMetadata = require('./notification-metadata') | ||
const parseAnyOfferChanged = require('./any-offer-changed') | ||
const parseFeedProcessingFinished = require('./feed-processing-finished') | ||
@@ -23,2 +24,8 @@ module.exports = (key, node) => { | ||
case 'FeedProcessingFinished': | ||
return { | ||
notificationMetadata, | ||
notificationPayload: parseFeedProcessingFinished(`${key}/NotificationPayload/FeedProcessingFinishedNotification`, node) | ||
} | ||
default: | ||
@@ -25,0 +32,0 @@ throw new Error(`Unknown notification type ${notificationMetadata.notificationType}`) |
{ | ||
"name": "@bizon/mws-sdk", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "description": "SDK for Amazon Marketplace Web Services", |
@@ -231,4 +231,8 @@ # mws-sdk [![CircleCI](https://circleci.com/gh/bizon/mws-sdk.svg?style=svg)](https://circleci.com/gh/bizon/mws-sdk) | ||
Parse an XML notification. Only `Test` and `AnyOfferChanged` notifications are supported. | ||
Parse an XML notification. The following notifications are supported: | ||
- `Test` | ||
- `AnyOfferChanged` | ||
- `FeedProcessingFinished` | ||
### Common | ||
@@ -235,0 +239,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
107206
141
2365
256