@icgio/icg-exchanges-wrapper 1.10.29 → 1.10.31

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.
@@ -274,7 +274,11 @@ module.exports = class Orders {
274
274
  }
275
275
  }
276
276
  }
277
- this.Exchanges[exchange].limit_trade_with_routes(pair, method, price, amount, routes, cb)
277
+ if (routes) {
278
+ this.Exchanges[exchange].limit_trade_with_routes(pair, method, price, amount, routes, cb)
279
+ } else {
280
+ this.error_log('uniswap no routes:', rates_with_routes, price)
281
+ }
278
282
  } else if (limiter_on) {
279
283
  this.Exchanges[exchange].limit_trade(pair, method, price, amount, cb)
280
284
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.10.29",
3
+ "version": "1.10.31",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,12 +17,12 @@
17
17
  },
18
18
  "homepage": "https://github.com/icgio/icg-exchanges-wrapper#readme",
19
19
  "dependencies": {
20
- "@icgio/icg-exchanges": "^1.28.21",
21
- "@icgio/icg-exchanges-data": "^1.6.78",
20
+ "@icgio/icg-exchanges": "^1.28.23",
21
+ "@icgio/icg-exchanges-data": "^1.6.79",
22
22
  "@icgio/icg-utils": "^1.7.40",
23
23
  "influx": "^5.7.0",
24
24
  "lodash": "^4.17.20",
25
- "uuid": "^8.3.2",
25
+ "uuid": "^9.0.0",
26
26
  "ws": "^6.2.1"
27
27
  }
28
28
  }