@stacks/encryption 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 +4 -4
package/dist/umd/index.js
CHANGED
|
@@ -7017,7 +7017,7 @@ function without0x(value) {
|
|
|
7017
7017
|
function hexToBigInt(hex) {
|
|
7018
7018
|
if (typeof hex !== 'string')
|
|
7019
7019
|
throw new TypeError(`hexToBigInt: expected string, got ${typeof hex}`);
|
|
7020
|
-
return BigInt(
|
|
7020
|
+
return BigInt(with0x(hex));
|
|
7021
7021
|
}
|
|
7022
7022
|
function intToHex(integer, byteLength = 8) {
|
|
7023
7023
|
const value = typeof integer === 'bigint' ? integer : intToBigInt(integer);
|