Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.66 to 1.0.67

6

dist/ShopifyUpdateOrderStatusEventSwitch.js

@@ -10,5 +10,9 @@ "use strict";

async update(switchContext) {
const { merchant: { profile: { interceptPaymentCapture, }, }, data: { platformId, status, }, } = switchContext;
const { merchant: { profile, }, data: { platformId, status, }, } = switchContext;
const orderId = parseInt(platformId, 10);
const client = getShopifyClient_1.default(switchContext);
let interceptPaymentCapture = false;
if (profile && profile.interceptPaymentCapture) {
interceptPaymentCapture = profile.interceptPaymentCapture;
}
const orderDetails = getPlatformOrderDetails_1.default(switchContext.data);

@@ -15,0 +19,0 @@ const result = await client.order.update(orderId, orderDetails);

2

package.json
{
"name": "@ns8/ns8-shopify-switches",
"version": "1.0.66",
"version": "1.0.67",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc