@ns8/ns8-shopify-switches
Advanced tools
Comparing version 1.0.68 to 1.0.70
@@ -6,4 +6,4 @@ "use strict"; | ||
constructor() { | ||
this.onInstall = async (data) => { | ||
const { trackingScriptUrl: src, platformData: { shopName, accessToken, }, webhooks: { createOrder: createOrderEndpoint, updateMerchant: updateMerchantEndpoint, updateOrderStatus: orderStatusUpdateEndpoint, uninstall: uninstallEndpoint, }, } = data; | ||
this.onInstall = async (switchContext) => { | ||
const { data: { trackingScriptUrl: src, platformData: { shopName, accessToken, }, webhooks: { createOrder: createOrderEndpoint, updateMerchant: updateMerchantEndpoint, updateOrderStatus: orderStatusUpdateEndpoint, uninstall: uninstallEndpoint, }, }, } = switchContext; | ||
const client = new Shopify({ shopName, accessToken }); | ||
@@ -10,0 +10,0 @@ const pendingDeletions = []; |
{ | ||
"name": "@ns8/ns8-shopify-switches", | ||
"version": "1.0.68", | ||
"version": "1.0.70", | ||
"description": "Custom switches for the shopify integration", | ||
@@ -24,5 +24,5 @@ "main": "dist/index.js", | ||
"ns8-protect-models": "^1.0.117", | ||
"ns8-switchboard-interfaces": "^1.0.49", | ||
"ns8-switchboard-interfaces": "^1.0.50", | ||
"shopify-api-node": "^2.17.2" | ||
} | ||
} |
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
33983