@icgio/icg-exchanges-wrapper 1.12.49 → 1.12.51

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.
@@ -1377,7 +1377,7 @@ module.exports = class Orders {
1377
1377
  let ohlcv_handler = (exchange, pair, res) => {
1378
1378
  if (res.success) {
1379
1379
  if (res.body.length < OHLCV_DEFAULT_PAST_HOURS) {
1380
- console.error('ohlcv length should be:', OHLCV_DEFAULT_PAST_HOURS, exchange, pair, res.body.length)
1380
+ console.error('ohlcv length should be:', OHLCV_DEFAULT_PAST_HOURS, exchange, pair, res.body.length, _.first(res.body), _.last(res.body))
1381
1381
  this.ohlcv[exchange] = _.omit(this.ohlcv[exchange], [pair])
1382
1382
  } else {
1383
1383
  _.set(this.ohlcv, [exchange, pair], { data: 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.12.49",
3
+ "version": "1.12.51",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,8 +17,8 @@
17
17
  },
18
18
  "homepage": "https://github.com/icgio/icg-exchanges-wrapper#readme",
19
19
  "dependencies": {
20
- "@icgio/icg-exchanges": "^1.30.40",
21
- "@icgio/icg-exchanges-data": "^1.8.35",
20
+ "@icgio/icg-exchanges": "^1.30.44",
21
+ "@icgio/icg-exchanges-data": "^1.8.39",
22
22
  "@icgio/icg-utils": "^1.7.64",
23
23
  "influx": "^5.7.0",
24
24
  "lodash": "^4.17.20",