@stacks/stacking 7.4.1-beta.2 → 7.4.1-pr.1854.0

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/umd/index.js CHANGED
@@ -6620,7 +6620,7 @@ function without0x(value) {
6620
6620
  function hexToBigInt(hex) {
6621
6621
  if (typeof hex !== 'string')
6622
6622
  throw new TypeError(`hexToBigInt: expected string, got ${typeof hex}`);
6623
- return BigInt(`0x${hex}`);
6623
+ return BigInt(with0x(hex));
6624
6624
  }
6625
6625
  function intToHex(integer, byteLength = 8) {
6626
6626
  const value = typeof integer === 'bigint' ? integer : intToBigInt(integer);