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
14
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.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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc