zkjson 0.1.23 → 0.1.24
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/uint.js +3 -0
package/package.json
CHANGED
package/uint.js
CHANGED
@@ -464,6 +464,9 @@ function push(json, size, digit, c, overflow = 8) {
|
|
464
464
|
}
|
465
465
|
return json
|
466
466
|
}
|
467
|
+
function str(arr) {
|
468
|
+
return arr.map(n => n.toString())
|
469
|
+
}
|
467
470
|
function bn(arr) {
|
468
471
|
if (typeof arr == "number") return BigInt(arr)
|
469
472
|
if (!Array.isArray(arr)) return arr
|