@exodus/assets
Advanced tools
Comparing version 8.0.48 to 8.0.49
@@ -1,3 +0,7 @@ | ||
## 8.0.47 / 2021-03-08 | ||
## 8.0.49 / 2021-03-25 | ||
- add binance chain bep2 token support | ||
## 8.0.48 / 2021-03-08 | ||
- No change, re-release to prevent 9.0.x major changes | ||
@@ -4,0 +8,0 @@ |
@@ -18,3 +18,4 @@ "use strict"; | ||
ontology: 'ontologygas', | ||
ontologygas: 'ontologygas' | ||
ontologygas: 'ontologygas', | ||
vechainthor: 'vethor' | ||
}; | ||
@@ -36,2 +37,4 @@ const assets = {}; | ||
if (asset.assetType === 'SOLANA_TOKEN') baseAssetName = 'solana'; | ||
if (asset.assetType === 'QUORUM_ERC20') baseAssetName = 'quorum'; | ||
if (asset.assetType === 'BINANCE_TOKEN') baseAssetName = 'bnbmainnet'; | ||
if (asset.assetType === 'TRON_TOKEN') baseAssetName = 'tronmainnet'; | ||
@@ -54,2 +57,4 @@ if (asset.assetType === 'VECHAIN_TOKEN') baseAssetName = 'vechainthor'; | ||
if (assets[assetName].assetType === 'BINANCE_TOKEN') return 'bnbmainnet'; | ||
if (assets[assetName].assetType === 'VECHAIN_TOKEN') return 'vethor'; | ||
return assets[assetName].baseAsset; | ||
@@ -56,0 +61,0 @@ } |
{ | ||
"name": "@exodus/assets", | ||
"version": "8.0.48", | ||
"version": "8.0.49", | ||
"description": "Exodus assets", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3728
53
1