@narumitw/pi-usage 0.61.0 → 0.61.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.ts CHANGED
@@ -592,7 +592,7 @@ function deepSeekCurrency(value) {
592
592
  return CURRENCIES.find((currency) => currency === value);
593
593
  }
594
594
  function decimalAmount2(value) {
595
- return typeof value === "string" && value.length <= 64 && /^(?:0|[1-9]\d*)(?:\.\d+)?$/u.test(value);
595
+ return typeof value === "string" && value.length <= 64 && /^-?(?:0|[1-9]\d*)(?:\.\d+)?$/u.test(value);
596
596
  }
597
597
 
598
598
  // src/providers/fireworks.ts