@icgio/icg-exchanges-wrapper 1.12.56 → 1.12.58
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 +5 -1
- package/package.json +4 -4
package/middleware/orders.js
CHANGED
|
@@ -197,7 +197,11 @@ module.exports = class Orders {
|
|
|
197
197
|
this.check_ohlcv()
|
|
198
198
|
}
|
|
199
199
|
if (this.function_enabled.cmc_rates_check) {
|
|
200
|
-
|
|
200
|
+
if (_.isArray(this.cmc_curs)) {
|
|
201
|
+
this.check_cmc_rates(this.cmc_curs, 'curs', this.cmc_source)
|
|
202
|
+
} else if (_.isObject(this.cmc_curs)) {
|
|
203
|
+
this.check_cmc_rates(this.cmc_curs, 'curs_dict')
|
|
204
|
+
}
|
|
201
205
|
}
|
|
202
206
|
if (this.function_enabled.balances_check && this.function_enabled.open_orders_check && this.function_enabled.trades_check) {
|
|
203
207
|
setInterval(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icgio/icg-exchanges-wrapper",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.58",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/icgio/icg-exchanges-wrapper#readme",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@icgio/icg-exchanges": "^1.30.
|
|
21
|
-
"@icgio/icg-exchanges-data": "^1.8.
|
|
22
|
-
"@icgio/icg-utils": "^1.7.
|
|
20
|
+
"@icgio/icg-exchanges": "^1.30.49",
|
|
21
|
+
"@icgio/icg-exchanges-data": "^1.8.45",
|
|
22
|
+
"@icgio/icg-utils": "^1.7.65",
|
|
23
23
|
"influx": "^5.7.0",
|
|
24
24
|
"lodash": "^4.17.20",
|
|
25
25
|
"uuid": "^9.0.1",
|