Socket
Socket
Sign inDemoInstall

@ns8/ns8-shopify-switches

Package Overview
Dependencies
159
Maintainers
74
Versions
195
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.207 to 1.0.208

17

dist/ShopifyInstallEventSwitch.js

@@ -35,7 +35,16 @@ "use strict";

}));
const flowEnabled = process.env.NEW_INSTALLS_ADD_ORDERS_CREATE_WEBHOOK;
if (flowEnabled && flowEnabled.trim() === 'true') {
pendingInstallations.push(client.webhook.create({
topic: 'orders/create',
address: createOrderEndpoint.toString(),
}));
}
else {
pendingInstallations.push(client.webhook.create({
topic: 'order_transactions/create',
address: createOrderEndpoint.toString(),
}));
}
pendingInstallations.push(client.webhook.create({
topic: 'order_transactions/create',
address: createOrderEndpoint.toString(),
}));
pendingInstallations.push(client.webhook.create({
topic: 'shop/update',

@@ -42,0 +51,0 @@ address: updateMerchantEndpoint.toString(),

{
"name": "@ns8/ns8-shopify-switches",
"version": "1.0.207",
"version": "1.0.208",
"description": "Custom switches for the shopify integration",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc