@shopify/koa-shopify-webhooks
Advanced tools
Comparing version 5.0.4 to 5.0.5
@@ -1,2 +0,2 @@ | ||
import { Context, Middleware } from 'koa'; | ||
import type { Context, Middleware } from 'koa'; | ||
import { Topic } from './types'; | ||
@@ -3,0 +3,0 @@ interface Options { |
import { Topic } from './types'; | ||
export declare type ApiVersion = '2020-10' | '2021-01' | '2021-04' | '2021-07' | '2021-10' | '2022-01' | '2022-04' | '2022-07' | '2022-10' | 'unstable' | 'unversioned' | (string & {}); | ||
export type ApiVersion = '2020-10' | '2021-01' | '2021-04' | '2021-07' | '2021-10' | '2022-01' | '2022-04' | '2022-07' | '2022-10' | 'unstable' | 'unversioned' | (string & {}); | ||
export declare enum DeliveryMethod { | ||
@@ -4,0 +4,0 @@ Http = "http", |
@@ -7,3 +7,3 @@ export declare enum WebhookHeader { | ||
} | ||
export declare type Topic = 'APP_UNINSTALLED' | 'APP_SUBSCRIPTIONS_UPDATE' | 'APP_PURCHASES_ONE_TIME_UPDATE' | 'CARTS_CREATE' | 'CARTS_UPDATE' | 'CHECKOUTS_CREATE' | 'CHECKOUTS_DELETE' | 'CHECKOUTS_UPDATE' | 'COLLECTION_LISTINGS_ADD' | 'COLLECTION_LISTINGS_REMOVE' | 'COLLECTION_LISTINGS_UPDATE' | 'COLLECTIONS_CREATE' | 'COLLECTIONS_DELETE' | 'COLLECTIONS_UPDATE' | 'CUSTOMER_GROUPS_CREATE' | 'CUSTOMER_GROUPS_DELETE' | 'CUSTOMER_GROUPS_UPDATE' | 'CUSTOMERS_CREATE' | 'CUSTOMERS_DELETE' | 'CUSTOMERS_DISABLE' | 'CUSTOMERS_ENABLE' | 'CUSTOMERS_UPDATE' | 'DRAFT_ORDERS_CREATE' | 'DRAFT_ORDERS_DELETE' | 'DRAFT_ORDERS_UPDATE' | 'FULFILLMENT_EVENTS_CREATE' | 'FULFILLMENT_EVENTS_DELETE' | 'FULFILLMENTS_CREATE' | 'FULFILLMENTS_UPDATE' | 'ORDER_TRANSACTIONS_CREATE' | 'ORDERS_CANCELLED' | 'ORDERS_CREATE' | 'ORDERS_DELETE' | 'ORDERS_FULFILLED' | 'ORDERS_PAID' | 'ORDERS_PARTIALLY_FULFILLED' | 'ORDERS_UPDATED' | 'PRODUCT_LISTINGS_ADD' | 'PRODUCT_LISTINGS_REMOVE' | 'PRODUCT_LISTINGS_UPDATE' | 'PRODUCTS_CREATE' | 'PRODUCTS_DELETE' | 'PRODUCTS_UPDATE' | 'REFUNDS_CREATE' | 'SHOP_UPDATE' | 'THEMES_CREATE' | 'THEMES_DELETE' | 'THEMES_PUBLISH' | 'THEMES_UPDATE' | 'INVENTORY_LEVELS_CONNECT' | 'INVENTORY_LEVELS_UPDATE' | 'INVENTORY_LEVELS_DISCONNECT' | 'INVENTORY_ITEMS_CREATE' | 'INVENTORY_ITEMS_UPDATE' | 'INVENTORY_ITEMS_DELETE' | 'LOCATIONS_CREATE' | 'LOCATIONS_UPDATE' | 'LOCATIONS_DELETE'; | ||
export type Topic = 'APP_UNINSTALLED' | 'APP_SUBSCRIPTIONS_UPDATE' | 'APP_PURCHASES_ONE_TIME_UPDATE' | 'CARTS_CREATE' | 'CARTS_UPDATE' | 'CHECKOUTS_CREATE' | 'CHECKOUTS_DELETE' | 'CHECKOUTS_UPDATE' | 'COLLECTION_LISTINGS_ADD' | 'COLLECTION_LISTINGS_REMOVE' | 'COLLECTION_LISTINGS_UPDATE' | 'COLLECTIONS_CREATE' | 'COLLECTIONS_DELETE' | 'COLLECTIONS_UPDATE' | 'CUSTOMER_GROUPS_CREATE' | 'CUSTOMER_GROUPS_DELETE' | 'CUSTOMER_GROUPS_UPDATE' | 'CUSTOMERS_CREATE' | 'CUSTOMERS_DELETE' | 'CUSTOMERS_DISABLE' | 'CUSTOMERS_ENABLE' | 'CUSTOMERS_UPDATE' | 'DRAFT_ORDERS_CREATE' | 'DRAFT_ORDERS_DELETE' | 'DRAFT_ORDERS_UPDATE' | 'FULFILLMENT_EVENTS_CREATE' | 'FULFILLMENT_EVENTS_DELETE' | 'FULFILLMENTS_CREATE' | 'FULFILLMENTS_UPDATE' | 'ORDER_TRANSACTIONS_CREATE' | 'ORDERS_CANCELLED' | 'ORDERS_CREATE' | 'ORDERS_DELETE' | 'ORDERS_FULFILLED' | 'ORDERS_PAID' | 'ORDERS_PARTIALLY_FULFILLED' | 'ORDERS_UPDATED' | 'PRODUCT_LISTINGS_ADD' | 'PRODUCT_LISTINGS_REMOVE' | 'PRODUCT_LISTINGS_UPDATE' | 'PRODUCTS_CREATE' | 'PRODUCTS_DELETE' | 'PRODUCTS_UPDATE' | 'REFUNDS_CREATE' | 'SHOP_UPDATE' | 'THEMES_CREATE' | 'THEMES_DELETE' | 'THEMES_PUBLISH' | 'THEMES_UPDATE' | 'INVENTORY_LEVELS_CONNECT' | 'INVENTORY_LEVELS_UPDATE' | 'INVENTORY_LEVELS_DISCONNECT' | 'INVENTORY_ITEMS_CREATE' | 'INVENTORY_ITEMS_UPDATE' | 'INVENTORY_ITEMS_DELETE' | 'LOCATIONS_CREATE' | 'LOCATIONS_UPDATE' | 'LOCATIONS_DELETE'; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -1,1 +0,1 @@ | ||
module.exports = require("./build/cjs/index.js"); | ||
module.exports = require("./build/cjs/index.js"); |
{ | ||
"name": "@shopify/koa-shopify-webhooks", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"license": "MIT", | ||
@@ -35,3 +35,3 @@ "description": "Receive webhooks from Shopify with ease", | ||
"devDependencies": { | ||
"@shopify/jest-dom-mocks": "^4.0.2", | ||
"@shopify/jest-dom-mocks": "^4.1.1", | ||
"@types/koa-bodyparser": "*", | ||
@@ -38,0 +38,0 @@ "@types/koa-compose": "*" |
@@ -12,3 +12,3 @@ # `@shopify/koa-shopify-webhooks` | ||
```bash | ||
$ yarn add @shopify/koa-shopify-webhooks | ||
yarn add @shopify/koa-shopify-webhooks | ||
``` | ||
@@ -186,3 +186,3 @@ | ||
In your terminal | ||
`$ yarn add isomorphic-fetch` | ||
`yarn add isomorphic-fetch` | ||
@@ -189,0 +189,0 @@ In your app |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
26066
329