@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.
- package/lib/data.js +4 -0
- 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];
|