@icgio/icg-exchanges-wrapper 1.14.42 → 1.14.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -240,7 +240,7 @@ module.exports = class Orders {
240
240
  this.account = new Account(balances, benchmarks)
241
241
  }
242
242
  update_non_initial_from_balances(balances) {
243
- this.account.update_non_initial_from_balances(balances)
243
+ this.account?.update_non_initial_from_balances(balances)
244
244
  }
245
245
  limit_trade(exchange, pair, method, price, amount, id = uuid(), order_type = '', limiter_on = true, api_key_index) {
246
246
  price = round_price(_.upperFirst(exchange), pair, price)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.14.42",
3
+ "version": "1.14.44",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "homepage": "https://github.com/icgio/icg-exchanges-wrapper#readme",
19
19
  "dependencies": {
20
20
  "@icgio/icg-exchanges": "^1.32.33",
21
- "@icgio/icg-exchanges-data": "^1.10.15",
21
+ "@icgio/icg-exchanges-data": "^1.10.16",
22
22
  "@icgio/icg-utils": "^1.9.13",
23
23
  "influx": "^5.10.0",
24
24
  "lodash": "^4.17.20",