@icgio/clients-config 1.0.272 → 1.0.273
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/config.js +3 -4
- package/package.json +1 -1
package/config.js
CHANGED
|
@@ -19,8 +19,8 @@ for (let client in client_exchange_pairs) {
|
|
|
19
19
|
pairs.forEach((pair) => {
|
|
20
20
|
let match = pair.match(/^([A-Z0-9]+?)(USDT|USDC|USD|HKD|BTC|ETH)$/)
|
|
21
21
|
if (match) {
|
|
22
|
-
currencies.add(match[1])
|
|
23
|
-
currencies.add(match[2])
|
|
22
|
+
currencies.add(match[1])
|
|
23
|
+
currencies.add(match[2])
|
|
24
24
|
} else {
|
|
25
25
|
currencies.add(pair.replace(client, ''))
|
|
26
26
|
}
|
|
@@ -85,7 +85,7 @@ module.exports.client_exchanges = _.fromPairs(Object.keys(client_exchange_pairs)
|
|
|
85
85
|
}
|
|
86
86
|
*/
|
|
87
87
|
module.exports.client_currencies_with_stables = _.fromPairs(
|
|
88
|
-
|
|
88
|
+
_.keys(client_exchange_pairs).map((cur) => [cur, _.uniq([..._.split(cur, '-'), 'BTC', 'ETH', 'BNB', 'USD', 'USDC', 'USDT', 'HKD', 'KRW', 'THB'])])
|
|
89
89
|
)
|
|
90
90
|
|
|
91
91
|
const clients_reporter_interval = config_data.clients_reporter_interval
|
|
@@ -124,4 +124,3 @@ module.exports.server_config_whitelist_ips = server_config_whitelist_ips
|
|
|
124
124
|
|
|
125
125
|
const server_config_admin_whitelist_ips = config_data.server_config_admin_whitelist_ips
|
|
126
126
|
module.exports.server_config_admin_whitelist_ips = server_config_admin_whitelist_ips
|
|
127
|
-
|