@pioneer-platform/pioneer-caip 9.0.1 → 9.0.3

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 +3 -2
  2. package/package.json +1 -1
package/lib/data.js CHANGED
@@ -212,10 +212,11 @@ var thorchainToCaip = function (chain, symbol, ticker, type) {
212
212
  // let chainEnumValue = getChainEnumValue(chain)
213
213
  // console.log("chainEnumValue: ", chainEnumValue)
214
214
  if (chain == "AVAX" && symbol == "WETH") {
215
+ console.log("WETH detected");
215
216
  caip = exports.ChainToCaip[chain];
216
217
  }
217
- //if chain and symbol are the same, then we have a native token
218
- if (chain == symbol) {
218
+ else if (chain == symbol) {
219
+ //if chain and symbol are the same, then we have a native token
219
220
  caip = exports.ChainToCaip[chain];
220
221
  }
221
222
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-caip",
3
- "version": "9.0.1",
3
+ "version": "9.0.3",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "_moduleAliases": {