@stacks/storage 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 +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +6 -6
package/dist/umd/index.js
CHANGED
|
@@ -16376,7 +16376,7 @@ function without0x(value) {
|
|
|
16376
16376
|
function hexToBigInt(hex) {
|
|
16377
16377
|
if (typeof hex !== 'string')
|
|
16378
16378
|
throw new TypeError(`hexToBigInt: expected string, got ${typeof hex}`);
|
|
16379
|
-
return BigInt(
|
|
16379
|
+
return BigInt(with0x(hex));
|
|
16380
16380
|
}
|
|
16381
16381
|
function intToHex(integer, byteLength = 8) {
|
|
16382
16382
|
const value = typeof integer === 'bigint' ? integer : intToBigInt(integer);
|