@pioneer-platform/thorchain-client 0.0.28 → 0.0.29

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/index.js +10 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -78,6 +78,13 @@ function nodeRequest(path) {
78
78
  });
79
79
  });
80
80
  }
81
+ var assets = [
82
+ 'bip122:000000000019d6689c085ae165831e93/slip44:0', // BTC
83
+ 'eip155:1/slip44:60', // ETH
84
+ 'cosmos:thorchain-mainnet-v1/slip44:931', // RUNE
85
+ 'bip122:00000000001a91e3dace36e2be3bf030/slip44:3', // Doge
86
+ 'bip122:000000000000000000651ef99cb9fcbe/slip44:145', // BCH
87
+ ];
81
88
  module.exports = {
82
89
  init: function (settings) {
83
90
  return true;
@@ -85,6 +92,9 @@ module.exports = {
85
92
  networkSupport: function () {
86
93
  return networkSupport;
87
94
  },
95
+ assetSupport: function () {
96
+ return assets;
97
+ },
88
98
  getQuote: function (quote) {
89
99
  return get_quote(quote);
90
100
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/thorchain-client",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "dependencies": {