@pioneer-platform/pioneer-caip 9.0.3 → 9.0.5

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 +8 -0
  2. package/package.json +1 -1
package/lib/data.js CHANGED
@@ -215,6 +215,14 @@ var thorchainToCaip = function (chain, symbol, ticker, type) {
215
215
  console.log("WETH detected");
216
216
  caip = exports.ChainToCaip[chain];
217
217
  }
218
+ else if (chain == "BSC" && symbol == "BNB") {
219
+ //if chain and symbol are the same, then we have a native token
220
+ caip = exports.shortListNameToCaip['bnbsmartchain'];
221
+ }
222
+ else if (chain == "GAIA" && symbol == "ATOM") {
223
+ //if chain and symbol are the same, then we have a native token
224
+ caip = exports.shortListNameToCaip['cosmos'];
225
+ }
218
226
  else if (chain == symbol) {
219
227
  //if chain and symbol are the same, then we have a native token
220
228
  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.3",
3
+ "version": "9.0.5",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "_moduleAliases": {