zkjson 0.1.23 → 0.1.24
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/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
         |