@betterstore/sdk 0.3.45 → 0.3.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.46
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fix
8
+
3
9
  ## 0.3.45
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -408,7 +408,7 @@ var Helpers = class {
408
408
  TRY: "tr-TR"
409
409
  // Turkish Lira
410
410
  };
411
- const locale = (_a = currencyLocales[currency]) != null ? _a : void 0;
411
+ const locale = (_a = currencyLocales[currency.toUpperCase()]) != null ? _a : void 0;
412
412
  const formattedPrice = new Intl.NumberFormat(locale, {
413
413
  style: "currency",
414
414
  currency,
package/dist/index.mjs CHANGED
@@ -372,7 +372,7 @@ var Helpers = class {
372
372
  TRY: "tr-TR"
373
373
  // Turkish Lira
374
374
  };
375
- const locale = (_a = currencyLocales[currency]) != null ? _a : void 0;
375
+ const locale = (_a = currencyLocales[currency.toUpperCase()]) != null ? _a : void 0;
376
376
  const formattedPrice = new Intl.NumberFormat(locale, {
377
377
  style: "currency",
378
378
  currency,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.45",
3
+ "version": "0.3.46",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {