@smartpay/sdk-node
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -378,2 +378,3 @@ // src/smartpay.ts | ||
const { currency } = orderData; | ||
console.log(orderData, orderData.amount == null); | ||
if (orderData.amount == null) { | ||
@@ -391,2 +392,3 @@ orderData.amount = orderData.lineItemData.reduce((sum, item) => { | ||
} | ||
console.log(orderData, orderData.amount == null); | ||
return payload; | ||
@@ -393,0 +395,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Smartpay SDK NodeJS", | ||
@@ -10,0 +10,0 @@ "main": "./build/cjs/index.cjs", |
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
2089
61888
11