@icgio/icg-utils 1.8.3 → 1.8.5

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.
Files changed (2) hide show
  1. package/lib/crypto-rates.js +12 -12
  2. package/package.json +1 -1
@@ -212,7 +212,7 @@ let get_crypto_rates = (cb, pair_or_pairs_or_cur_curs, type, source = 'coingecko
212
212
  })
213
213
  } else if (exchange === 'bitmart') {
214
214
  let pair = cur + '_USDT'
215
- if ((pair = 'ELON_USDT')) {
215
+ if (pair === 'ELON_USDT') {
216
216
  pair = '$ELONSOL_USDT'
217
217
  }
218
218
  let url = `https://api-cloud.bitmart.com/spot/v1/symbols/book?symbol=${pair}`
@@ -520,17 +520,17 @@ let get_crypto_rates = (cb, pair_or_pairs_or_cur_curs, type, source = 'coingecko
520
520
  get_crypto_rates_base(cb, pair_or_pairs_or_cur_curs, type)
521
521
  }
522
522
 
523
- get_crypto_rates(
524
- (res) => {
525
- console.log(res)
526
- },
527
- {
528
- AXL: 'coingecko',
529
- ELON: 'bitmart',
530
- POLY: 'ascendex',
531
- },
532
- 'curs_dict'
533
- )
523
+ // get_crypto_rates(
524
+ // (res) => {
525
+ // console.log(res)
526
+ // },
527
+ // {
528
+ // AXL: 'coingecko',
529
+ // ROBIE: 'bitmart',
530
+ // POLY: 'ascendex',
531
+ // },
532
+ // 'curs_dict'
533
+ // )
534
534
 
535
535
  // get_crypto_rates(
536
536
  // (res) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-utils",
3
- "version": "1.8.3",
3
+ "version": "1.8.5",
4
4
  "description": "Utils package.",
5
5
  "main": "index.js",
6
6
  "directories": {