@stacks/auth 7.4.1-beta.3 → 7.4.1-pr.1854.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/umd/index.js CHANGED
@@ -16268,7 +16268,7 @@ function without0x(value) {
16268
16268
  function hexToBigInt(hex) {
16269
16269
  if (typeof hex !== 'string')
16270
16270
  throw new TypeError(`hexToBigInt: expected string, got ${typeof hex}`);
16271
- return BigInt(`0x${hex}`);
16271
+ return BigInt(with0x(hex));
16272
16272
  }
16273
16273
  function intToHex(integer, byteLength = 8) {
16274
16274
  const value = typeof integer === 'bigint' ? integer : intToBigInt(integer);