Comparing version 0.5.9 to 0.6.0
13
index.js
@@ -18,3 +18,3 @@ /** | ||
version: "0.5.9", | ||
version: "0.6.0", | ||
@@ -340,12 +340,3 @@ constants: { | ||
case Number: | ||
if (Math.floor(Math.log(n) / Math.log(10) + 1) <= 15) { | ||
bn = new BigNumber(n, 10); | ||
} else { | ||
n = n.toString(); | ||
if (this.is_hex(n)) { | ||
bn = new BigNumber(n, 16); | ||
} else { | ||
bn = new BigNumber(n, 10); | ||
} | ||
} | ||
bn = new BigNumber(n, 10); | ||
break; | ||
@@ -352,0 +343,0 @@ case String: |
{ | ||
"name": "augur-abi", | ||
"version": "0.5.9", | ||
"version": "0.6.0", | ||
"description": "Contract ABI serialization", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1040326
20681