kubesail-shipping
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -31,3 +31,6 @@ const countryVat = require('country-vat') | ||
let shippingCost = 0 | ||
if (shippingCosts[countryCode]) { | ||
if (['US', 'DE'].includes(countryCode)) { | ||
// These countries get free shipping | ||
return 0 | ||
} else if (typeof shippingCosts[countryCode] !== 'undefined') { | ||
shippingCost = shippingCostTable[shippingCosts[countryCode]] | ||
@@ -34,0 +37,0 @@ } |
{ | ||
"name": "kubesail-shipping", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "KubeSail Shipping and Tax Cost logic", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
3799
267