@zilliqa-js/util
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -0,0 +0,0 @@ /** |
@@ -5,3 +5,4 @@ import * as bytes from './bytes'; | ||
import BN from 'bn.js'; | ||
export { BN, bytes, types, validation }; | ||
import Long from 'long'; | ||
export { BN, bytes, Long, types, validation }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -12,2 +12,4 @@ "use strict"; | ||
exports.BN = bn_js_1.default; | ||
var long_1 = tslib_1.__importDefault(require("long")); | ||
exports.Long = long_1.default; | ||
//# sourceMappingURL=index.js.map |
import { RPCResponse } from '@zilliqa-js/core'; | ||
export declare const isError: <R, E>(response: RPCResponse<R, E>) => response is RPCResponse<never, E>; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -0,0 +0,0 @@ import BN from 'bn.js'; |
{ | ||
"name": "@zilliqa-js/util", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Utilities for working with Zillia.", | ||
@@ -22,5 +22,7 @@ "main": "dist/index.js", | ||
"@types/bn.js": "^4.11.3", | ||
"bn.js": "^4.11.8" | ||
"@types/long": "^4.0.0", | ||
"bn.js": "^4.11.8", | ||
"long": "^4.0.0" | ||
}, | ||
"gitHead": "4dad7fce171666d934fffe0699213dd4b5d50b4d" | ||
"gitHead": "3f0feb3c71926b1d3a6cb389d23bf8d9f452cfab" | ||
} |
@@ -12,2 +12,8 @@ # @zilliqa-js/util | ||
### `Long` | ||
See documentation at [long.js](https://github.com/dcodeIO/long.js). This is | ||
simply a re-export for similar reasons. Note that `long` is only required if | ||
you need to serialise integers with size greater than or equal to `2^53`. | ||
## Functions | ||
@@ -14,0 +20,0 @@ |
@@ -5,3 +5,4 @@ import * as bytes from './bytes'; | ||
import BN from 'bn.js'; | ||
import Long from 'long'; | ||
export { BN, bytes, types, validation }; | ||
export { BN, bytes, Long, types, validation }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
208
476359
4
25
504
1
+ Added@types/long@^4.0.0
+ Addedlong@^4.0.0
+ Added@types/long@4.0.2(transitive)
+ Addedlong@4.0.0(transitive)