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.mjs CHANGED
@@ -837,7 +837,7 @@ function toBigInt(value) {
837
837
  return BigInt(value);
838
838
  }
839
839
  function tryToBigInt(value) {
840
- return value ? BigInt(value) : void 0;
840
+ return value === void 0 ? void 0 : BigInt(value);
841
841
  }
842
842
  function toHex(value) {
843
843
  const bn = toBigInt(value);