Comparing version 0.2.71 to 0.2.72
@@ -78,2 +78,4 @@ "use strict"; | ||
throw new Error("From symbol does not match amount symbol"); | ||
if (amountDesired.amount >= balanceTo.amount) | ||
throw new Error("Impossible to buy the entire reserve or more"); | ||
const balanceFromNumber = balanceFrom.toDecimal(); | ||
@@ -80,0 +82,0 @@ const balanceToNumber = balanceTo.toDecimal(); |
{ | ||
"name": "bancorx", | ||
"version": "0.2.71", | ||
"version": "0.2.72", | ||
"description": "BancorX Utility", | ||
@@ -27,3 +27,4 @@ "main": "build/index.js", | ||
"eos-common": "^0.1.36", | ||
"underscore": "^1.9.1" | ||
"underscore": "^1.9.1", | ||
"waait": "^1.0.5" | ||
}, | ||
@@ -30,0 +31,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
45065
688
3
+ Addedwaait@^1.0.5
+ Addedwaait@1.0.5(transitive)