@rarible/utils
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -7,3 +7,3 @@ "use strict"; | ||
function toBn(number, base) { | ||
if (typeof number === "object" && "_isBigNumber" in number) { | ||
if (typeof number === "object" && "_isBigNumber" in number && "_hex" in number) { | ||
return new bignumber_js_1.default(number._hex, 16); | ||
@@ -10,0 +10,0 @@ } |
{ | ||
"name": "@rarible/utils", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"keywords": [ | ||
@@ -42,3 +42,3 @@ "rarible", | ||
}, | ||
"gitHead": "9ac911a8e8d9f3e4b408640233b54ee908d29731" | ||
"gitHead": "a7ffb8aab023dbb020a205bb977ecfcd7ec3bdcb" | ||
} |
Sorry, the diff of this file is not supported yet
21416