@depay/local-currency
Advanced tools
Comparing version 3.5.1 to 3.5.2
@@ -436,3 +436,3 @@ var timezoneToCurrency = { | ||
static getCode(timeZone) { | ||
return timezoneToCurrency[timeZone || Currency.timeZone()] || 'USD' | ||
return window._LocalCurrencyCode || timezoneToCurrency[timeZone || Currency.timeZone()] || 'USD' | ||
} | ||
@@ -439,0 +439,0 @@ |
@@ -442,3 +442,3 @@ (function (global, factory) { | ||
static getCode(timeZone) { | ||
return timezoneToCurrency[timeZone || Currency.timeZone()] || 'USD' | ||
return window._LocalCurrencyCode || timezoneToCurrency[timeZone || Currency.timeZone()] || 'USD' | ||
} | ||
@@ -445,0 +445,0 @@ |
{ | ||
"name": "@depay/local-currency", | ||
"moduleName": "LocalCurrency", | ||
"version": "3.5.1", | ||
"version": "3.5.2", | ||
"description": "JavaScript library that detects user's local currency and provides functionalities to convert between multiple currencies.", | ||
@@ -6,0 +6,0 @@ "main": "dist/umd/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
33002