@ceed/ads 1.32.2 → 1.33.0-next.1

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/dist/index.cjs CHANGED
@@ -2182,7 +2182,7 @@ var useCurrencySetting = (props) => {
2182
2182
  const symbol = parts.find((p) => p.type === "currency")?.value ?? "$";
2183
2183
  const thousandSeparator = parts.find((p) => p.type === "group")?.value ?? ",";
2184
2184
  const decimalSeparator = parts.find((p) => p.type === "decimal")?.value;
2185
- const decimalScale = CURRENCY_DECIMAL_MAP[currency];
2185
+ const decimalScale = CURRENCY_DECIMAL_MAP[currency.toUpperCase()];
2186
2186
  return {
2187
2187
  symbol: `${symbol} `,
2188
2188
  thousandSeparator,
package/dist/index.js CHANGED
@@ -2040,7 +2040,7 @@ var useCurrencySetting = (props) => {
2040
2040
  const symbol = parts.find((p) => p.type === "currency")?.value ?? "$";
2041
2041
  const thousandSeparator = parts.find((p) => p.type === "group")?.value ?? ",";
2042
2042
  const decimalSeparator = parts.find((p) => p.type === "decimal")?.value;
2043
- const decimalScale = CURRENCY_DECIMAL_MAP[currency];
2043
+ const decimalScale = CURRENCY_DECIMAL_MAP[currency.toUpperCase()];
2044
2044
  return {
2045
2045
  symbol: `${symbol} `,
2046
2046
  thousandSeparator,