@shopify/koa-shopify-webhooks
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -10,4 +10,14 @@ # Changelog | ||
## [2.1.0] - 2010-10-03 | ||
## [2.2.0] - 2019-11-08 | ||
### Added | ||
- Add payload to webhook data for the `receiveWebhook` middleware ([#1168](https://github.com/Shopify/quilt/pull/1168)). | ||
### Fixed | ||
- Fixed a typo in the README ([#1167](https://github.com/Shopify/quilt/pull/1167)). | ||
## [2.1.0] - 2019-10-03 | ||
- The `ApiVersion` enum now has an `October19` option | ||
@@ -14,0 +24,0 @@ |
@@ -32,2 +32,3 @@ "use strict"; | ||
domain: domain, | ||
payload: JSON.parse(rawBody), | ||
}; | ||
@@ -34,0 +35,0 @@ return [4 /*yield*/, onReceived(ctx)]; |
{ | ||
"name": "@shopify/koa-shopify-webhooks", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Receive webhooks from Shopify with ease.", |
@@ -167,3 +167,3 @@ # `@shopify/koa-shopify-webhooks` | ||
}); | ||
router.post('/webhooks/products/create', webhook, () => { | ||
router.post('/webhooks/orders/create', webhook, () => { | ||
/* handle orders create */ | ||
@@ -193,3 +193,1 @@ }); | ||
`require('isomorphic-fetch')` | ||
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
15451
165
192