@pioneer-platform/pioneer-caip 9.0.5 → 9.0.6

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/data.js +4 -0
  2. package/package.json +1 -1
package/lib/data.js CHANGED
@@ -223,6 +223,10 @@ var thorchainToCaip = function (chain, symbol, ticker, type) {
223
223
  //if chain and symbol are the same, then we have a native token
224
224
  caip = exports.shortListNameToCaip['cosmos'];
225
225
  }
226
+ else if (chain == "THOR" && symbol == "RUNE") {
227
+ //if chain and symbol are the same, then we have a native token
228
+ caip = exports.shortListNameToCaip['thorchain'];
229
+ }
226
230
  else if (chain == symbol) {
227
231
  //if chain and symbol are the same, then we have a native token
228
232
  caip = exports.ChainToCaip[chain];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-caip",
3
- "version": "9.0.5",
3
+ "version": "9.0.6",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "_moduleAliases": {