soprox-abi
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -80,4 +80,3 @@ "use strict"; | ||
if (bigInt.gt(FF)) throw new Error('BigInt is too big'); | ||
if (bigInt.gt(FFMAX)) bigInt = NEONE.sub(FF.sub(bigInt)); | ||
console.log(bigInt.toString()); // Using global.BigInt instead of BigInt due to browser understanding | ||
if (bigInt.gt(FFMAX)) bigInt = NEONE.sub(FF.sub(bigInt)); // Using global.BigInt instead of BigInt due to browser understanding | ||
@@ -84,0 +83,0 @@ return global.BigInt(bigInt.toString()); |
{ | ||
"name": "soprox-abi", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "A convention that convert Rust types to NodeJS types", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -61,3 +61,2 @@ const BN = require('bn.js') | ||
if (bigInt.gt(FFMAX)) bigInt = NEONE.sub(FF.sub(bigInt)) | ||
console.log(bigInt.toString()) | ||
// Using global.BigInt instead of BigInt due to browser understanding | ||
@@ -64,0 +63,0 @@ return global.BigInt(bigInt.toString()) |
51738
1235