Socket
Socket
Sign inDemoInstall

@ns8/ns8-shopify-switches

Package Overview
Dependencies
79
Maintainers
14
Versions
195
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.170 to 1.0.171

14

dist/ShopifyCreateOrderActionSwitch.js

@@ -197,14 +197,6 @@ "use strict";

const { kind, payment_details, status, source_name, } = transaction;
if (kind === 'authorization' && !payment_details && transaction.gateway !== 'bogus') {
console.log('authorization without payment_details', JSON.stringify({
contextData: transaction,
}));
}
if (!payment_details && kind === 'capture' && (status === 'pending' || status === 'success')) {
console.log('capture without payment_details', JSON.stringify({
contextData: transaction,
}));
}
let shouldProcessOrder = false;
if (!payment_details && kind !== 'void' && kind !== 'refund' && (status === 'pending' || status === 'success')) {
if (!payment_details &&
kind !== 'void' && kind !== 'refund' && kind !== 'capture' &&
(status === 'pending' || status === 'success')) {
shouldProcessOrder = true;

@@ -211,0 +203,0 @@ }

{
"name": "@ns8/ns8-shopify-switches",
"version": "1.0.170",
"version": "1.0.171",
"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