@icgio/icg-exchanges-wrapper 1.9.192 → 1.9.194

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.
@@ -34,6 +34,12 @@ const MINIMUM_LIMITS = {
34
34
  private_max_concurrent: 1,
35
35
  private_interval_concurrent: 1000,
36
36
  }
37
+ const SWFT_LIMITS = {
38
+ public_max_concurrent: 1,
39
+ public_interval_concurrent: 1000,
40
+ private_max_concurrent: 1,
41
+ private_interval_concurrent: 3000,
42
+ }
37
43
 
38
44
  const PROCESS_INTERVAL = 1000
39
45
  const RATES_LENGTH_MAX = 100
@@ -91,6 +97,8 @@ module.exports = class Orders {
91
97
  LIMITS = SMALL_LIMITS
92
98
  } else if (_.includes(['bitforex', 'bitkub', 'coinbene', 'poloniex'], exchange)) {
93
99
  LIMITS = MINIMUM_LIMITS
100
+ } else if (_.includes(['swft'], exchange)) {
101
+ LIMITS = SWFT_LIMITS
94
102
  } else {
95
103
  LIMITS = STANDARD_LIMITS
96
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.9.192",
3
+ "version": "1.9.194",
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.27.129",
21
- "@icgio/icg-exchanges-data": "^1.6.68",
20
+ "@icgio/icg-exchanges": "^1.27.132",
21
+ "@icgio/icg-exchanges-data": "^1.6.69",
22
22
  "@icgio/icg-utils": "^1.7.38",
23
23
  "influx": "^5.7.0",
24
24
  "lodash": "^4.17.20",