@icgio/icg-exchanges-wrapper 1.9.123 → 1.9.124
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 -6
- package/package.json +2 -2
package/middleware/orders.js
CHANGED
|
@@ -1180,12 +1180,7 @@ module.exports = class Orders {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
}
|
|
1182
1182
|
let rates_handler = (exchange, pair, res) => {
|
|
1183
|
-
if (
|
|
1184
|
-
if (_.get(this.rates, ['bitmart', 'PRMXUSDT'])) {
|
|
1185
|
-
_.set(this.rates, ['coinsbit', 'PRMXUSDT'], Object.assign(_.get(this.rates, ['bitmart', 'PRMXUSDT']), { update_time: new Date() }))
|
|
1186
|
-
process_rates()
|
|
1187
|
-
}
|
|
1188
|
-
} else if (res.success) {
|
|
1183
|
+
if (res.success) {
|
|
1189
1184
|
res.body.asks = res.body.asks.slice(0, RATES_LENGTH_MAX)
|
|
1190
1185
|
res.body.bids = res.body.bids.slice(0, RATES_LENGTH_MAX)
|
|
1191
1186
|
_.set(this.rates, [exchange, pair], Object.assign(res.body, { update_time: new Date() }))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icgio/icg-exchanges-wrapper",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.124",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/icgio/icg-exchanges-wrapper#readme",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@icgio/icg-exchanges": "^1.27.
|
|
20
|
+
"@icgio/icg-exchanges": "^1.27.94",
|
|
21
21
|
"@icgio/icg-exchanges-data": "^1.6.48",
|
|
22
22
|
"@icgio/icg-utils": "^1.7.21",
|
|
23
23
|
"influx": "^5.7.0",
|