ffjavascript
Advanced tools
Comparing version
{ | ||
"name": "ffjavascript", | ||
"type": "module", | ||
"version": "0.2.37", | ||
"version": "0.2.38", | ||
"description": "Finite Field Library in Javascript", | ||
@@ -6,0 +6,0 @@ "main": "./build/main.cjs", |
@@ -23,2 +23,4 @@ import bigInt from "big-integer"; | ||
return bigInt(o); | ||
} else if ((typeof(o) == "string") && (/^0x[0-9a-fA-F]+$/.test(o) )) { | ||
return bigInt(o); | ||
} else if (Array.isArray(o)) { | ||
@@ -25,0 +27,0 @@ return o.map(unstringifyBigInts); |
@@ -26,2 +26,4 @@ /* global BigInt */ | ||
return BigInt(o); | ||
} else if ((typeof(o) == "string") && (/^0x[0-9a-fA-F]+$/.test(o) )) { | ||
return BigInt(o); | ||
} else if (Array.isArray(o)) { | ||
@@ -28,0 +30,0 @@ return o.map(unstringifyBigInts); |
Sorry, the diff of this file is not supported yet
436162
0.1%11821
0.07%