Socket
Socket
Sign inDemoInstall

@ns8/ns8-shopify-switches

Package Overview
Dependencies
Maintainers
10
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ns8/ns8-shopify-switches - npm Package Compare versions

Comparing version 1.0.68 to 1.0.70

4

dist/ShopifyInstallEventSwitch.js

@@ -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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc