@ckb-lumos/bi
Advanced tools
Comparing version 0.17.0-rc7 to 0.17.0-rc8
@@ -156,2 +156,4 @@ "use strict"; | ||
return toBI(toJSBI(value)); | ||
} else if (value instanceof _jsbi.default) { | ||
return toBI(toJSBI(value.toString())); | ||
} else { | ||
@@ -158,0 +160,0 @@ throw new Error(`invalid type: ${value} can't be converted into BI`); |
{ | ||
"name": "@ckb-lumos/bi", | ||
"version": "0.17.0-rc7", | ||
"version": "0.17.0-rc8", | ||
"description": "Bigint support in lumos", | ||
@@ -35,3 +35,3 @@ "author": "", | ||
"lint": "eslint -c ../../.eslintrc.js \"{src,tests,examples}/**/*.ts\"", | ||
"test": "ava **/*.test.ts", | ||
"test": "ava **/*.test.ts --timeout=2m", | ||
"build": "npm run build:types && npm run build:js", | ||
@@ -55,3 +55,3 @@ "build:types": "tsc --declaration --emitDeclarationOnly", | ||
}, | ||
"gitHead": "38bf70632142311ae06f068b7d76ed4062fec5da" | ||
"gitHead": "2489e45e67fad85feb01e6a9793bcc150c30b8a3" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18086
6
177