@icgio/icg-utils 1.6.25 → 1.6.26

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/lib/coingecko.js CHANGED
@@ -91,4 +91,19 @@ let get_coingecko_rates = (cb, pair) => {
91
91
  // console.log(res)
92
92
  // })
93
93
 
94
+ // https://api.coingecko.com/api/v3/coins/list
95
+
96
+ // const _ = require('lodash')
97
+ // needle.get('https://api.coingecko.com/api/v3/coins/list', (err, res, body) => {
98
+ // let list = body
99
+
100
+ // let map = {}
101
+ // for (let line of list) {
102
+ // let cur = line.symbol.toUpperCase()
103
+ // _.set(map, [cur], line.id)
104
+ // }
105
+
106
+ // console.log(JSON.stringify(map, null, 4))
107
+ // })
108
+
94
109
  module.exports = get_coingecko_rates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-utils",
3
- "version": "1.6.25",
3
+ "version": "1.6.26",
4
4
  "description": "Utils package.",
5
5
  "main": "index.js",
6
6
  "directories": {