@pioneer-platform/pioneer-caip 9.0.2 → 9.0.4

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
@@ -215,6 +215,10 @@ 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
+ }
218
222
  else if (chain == symbol) {
219
223
  //if chain and symbol are the same, then we have a native token
220
224
  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.2",
3
+ "version": "9.0.4",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "_moduleAliases": {