@icgio/icg-exchanges-wrapper 1.14.90 → 1.14.92
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.
- package/middleware/orders.js +1 -1
- package/package.json +2 -2
package/middleware/orders.js
CHANGED
|
@@ -1214,7 +1214,7 @@ module.exports = class Orders {
|
|
|
1214
1214
|
orderbook_major_temp = {},
|
|
1215
1215
|
orderbook_good_with_buy_sell_limits_against_reserve_balance = {},
|
|
1216
1216
|
orderbook_good_temp = {}
|
|
1217
|
-
let exchanges_list = _.concat(this.pair_exchanges[pair], this.pair_exchanges_rates_only[pair])
|
|
1217
|
+
let exchanges_list = _.concat(this.pair_exchanges[pair] || [], this.pair_exchanges_rates_only[pair] || [])
|
|
1218
1218
|
for (let exchange of exchanges_list) {
|
|
1219
1219
|
if (_.get(this.rates, [exchange, pair, 'asks'], []).length > 0 && _.get(this.rates, [exchange, pair, 'bids'], []).length > 0) {
|
|
1220
1220
|
orderbook_all[exchange] = this.rates[exchange][pair]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icgio/icg-exchanges-wrapper",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.92",
|
|
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.51",
|
|
21
|
-
"@icgio/icg-exchanges-data": "^1.10.
|
|
21
|
+
"@icgio/icg-exchanges-data": "^1.10.49",
|
|
22
22
|
"@icgio/icg-utils": "^1.9.16",
|
|
23
23
|
"influx": "^5.10.0",
|
|
24
24
|
"lodash": "^4.17.20",
|