@ns8/ns8-shopify-switches
Advanced tools
Comparing version 1.0.172 to 1.0.173
@@ -97,2 +97,5 @@ "use strict"; | ||
const { id, amount, currency, kind, gateway, status, message, payment_details, processed_at, } = transaction; | ||
if (!status) { | ||
console.log(`transaction status missing: ${JSON.stringify(transaction)}`); | ||
} | ||
const transactionPartial = { | ||
@@ -125,2 +128,5 @@ currency, | ||
} | ||
if (!status) { | ||
console.log(`transaction status missing, transactionPartial: ${JSON.stringify(transactionPartial)}`); | ||
} | ||
return new ns8_protect_models_1.Transaction(transactionPartial); | ||
@@ -127,0 +133,0 @@ })); |
{ | ||
"name": "@ns8/ns8-shopify-switches", | ||
"version": "1.0.172", | ||
"version": "1.0.173", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80746
960