Socket
Socket
Sign inDemoInstall

@ns8/ns8-shopify-switches

Package Overview
Dependencies
79
Maintainers
16
Versions
195
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.174 to 1.0.175

2

dist/ShopifyInstallEventSwitch.js

@@ -6,3 +6,3 @@ "use strict";

constructor() {
this.onInstall = async (switchContext) => {
this.handle = async (switchContext) => {
const { actions } = switchContext.data;

@@ -9,0 +9,0 @@ const createOrderEndpoint = switchContext.createWebhookUrl(actions.CREATE_ORDER);

@@ -7,3 +7,3 @@ "use strict";

class ShopifyUpdateCustomerVerificationStatusEventSwitch {
async update(switchContext) {
async handle(switchContext) {
const { platformId } = switchContext.data;

@@ -10,0 +10,0 @@ const client = getShopifyClient_1.default(switchContext);

@@ -7,3 +7,3 @@ "use strict";

class ShopifyUpdateEQ8ScoreEventSwitch {
async update(switchContext) {
async handle(switchContext) {
const { platformId } = switchContext.data;

@@ -10,0 +10,0 @@ const client = getShopifyClient_1.default(switchContext);

@@ -8,3 +8,3 @@ "use strict";

class ShopifyUpdateOrderRiskEventSwitch {
async update(switchContext) {
async handle(switchContext) {
const { platformId } = switchContext.data;

@@ -11,0 +11,0 @@ const client = getShopifyClient_1.default(switchContext);

@@ -11,3 +11,3 @@ "use strict";

class ShopifyUpdateOrderStatusEventSwitch {
async update(switchContext) {
async handle(switchContext) {
const { merchant: { profile, }, data: { platformId, status, name, }, } = switchContext;

@@ -14,0 +14,0 @@ const orderId = parseInt(platformId, 10);

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

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

"ns8-protect-models": "^1.0.192",
"ns8-switchboard-interfaces": "^1.0.74",
"ns8-switchboard-interfaces": "^1.0.76",
"shopify-api-node": "2.20.1"
}
}

Sorry, the diff of this file is not supported yet

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