starknet 11.10.7 → 11.10.8

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.js CHANGED
@@ -1048,7 +1048,7 @@ function toBigInt(value) {
1048
1048
  return BigInt(value);
1049
1049
  }
1050
1050
  function tryToBigInt(value) {
1051
- return value ? BigInt(value) : void 0;
1051
+ return value === void 0 ? void 0 : BigInt(value);
1052
1052
  }
1053
1053
  function toHex(value) {
1054
1054
  const bn = toBigInt(value);