@pioneer-platform/pioneer-caip 8.1.87 → 9.0.1
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 +3 -1
- package/package.json +1 -1
package/lib/data.js
CHANGED
@@ -207,11 +207,13 @@ var thorchainToCaip = function (chain, symbol, ticker, type) {
|
|
207
207
|
//get networkId
|
208
208
|
// let chainEnumValue = getChainEnumValue(chain)
|
209
209
|
// console.log("chainEnumValue: ", chainEnumValue)
|
210
|
-
//if chain and symbol are the same, then we have a native token
|
211
210
|
= void 0;
|
212
211
|
//get networkId
|
213
212
|
// let chainEnumValue = getChainEnumValue(chain)
|
214
213
|
// console.log("chainEnumValue: ", chainEnumValue)
|
214
|
+
if (chain == "AVAX" && symbol == "WETH") {
|
215
|
+
caip = exports.ChainToCaip[chain];
|
216
|
+
}
|
215
217
|
//if chain and symbol are the same, then we have a native token
|
216
218
|
if (chain == symbol) {
|
217
219
|
caip = exports.ChainToCaip[chain];
|