@icgio/icg-utils 1.7.4 → 1.7.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.
@@ -1 +1 @@
1
- module.exports = ['USDT', 'TUSD', 'PAX', 'BUSD', 'USDK', 'USDC', 'HUSD', 'DAI', 'IUSD', 'USDD', 'FEI']
1
+ module.exports = ['USDT', 'TUSD', 'PAX', 'BUSD', 'USDK', 'USDC', 'HUSD', 'DAI', 'IUSD', 'USDD', 'FEI', 'FRAX']
package/lib/coingecko.js CHANGED
@@ -108,7 +108,7 @@ let get_coingecko_rates = (cb, pair_or_pairs_or_cur_curs) => {
108
108
  let get_coingecko_rate = (page, cb) => {
109
109
  let url = 'https://api.coingecko.com/api/v3/coins/markets?vs_currency=' + quote_cur.toLowerCase() + '&per_page=' + per_page_nums + '&page=' + page
110
110
  needle.get(url, options, (err, res, body) => {
111
- console.log(body.length)
111
+ console.log('fetching coingecko rate: body length', body.length)
112
112
  if (body && body.length > 0) {
113
113
  for (let coin of body) {
114
114
  let symbol = coin.symbol
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-utils",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Utils package.",
5
5
  "main": "index.js",
6
6
  "directories": {