@exodus/assets-base
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -0,2 +1,10 @@ | ||
1.0.12 / 2019-05-24 | ||
----------------- | ||
- Correctly export VET and VTHO | ||
- Add the assetType VECHAIN_TOKEN | ||
- Make VTHO a VECHAIN_TOKEN | ||
1.0.11 / 2019-05-23 | ||
----------------- | ||
@@ -3,0 +11,0 @@ - BTF -> BFT (fix incorrect ticker symbol) |
@@ -66,2 +66,6 @@ "use strict"; | ||
var vechain = _interopRequireWildcard(require("./vechain")); | ||
var _vechainTokens = _interopRequireDefault(require("./_vechain-tokens")); | ||
var vertcoin = _interopRequireWildcard(require("./vertcoin")); | ||
@@ -77,3 +81,3 @@ | ||
const _assets = [ark, bcash, bgold, bitcoin, bitcoinsv, bnbmainnet, dash, decred, digibyte, dogecoin, eosio, ethereum, ethereumclassic, factom, lisk, litecoin, monero, neo, nem, ontology, ontologygas, qtumignition, ripple, stellar, tezos, tether, tronmainnet, vertcoin, waves, zcash]; | ||
const _assets = [ark, bcash, bgold, bitcoin, bitcoinsv, bnbmainnet, dash, decred, digibyte, dogecoin, eosio, ethereum, ethereumclassic, factom, lisk, litecoin, monero, neo, nem, ontology, ontologygas, qtumignition, ripple, stellar, tezos, tether, tronmainnet, vechain, vertcoin, waves, zcash]; | ||
@@ -120,2 +124,20 @@ _erc20Tokens.default.forEach(token => { | ||
_vechainTokens.default.forEach(token => { | ||
_assets.push({ | ||
name: token.name, | ||
properName: token.properName, | ||
ticker: token.ticker, | ||
assetType: 'VECHAIN_TOKEN', | ||
units: { | ||
base: 0, | ||
[token.ticker]: token.decimals | ||
}, | ||
blockExplorer: { | ||
addressUrl: address => `https://explore.veforge.com/accounts/${address}`, | ||
txUrl: txId => `https://explore.veforge.com/transactions/${txId}/clauses` | ||
}, | ||
contract: token.addresses | ||
}); | ||
}); | ||
_assets.sort((asset1, asset2) => asset1.properName.toLowerCase() < asset2.properName.toLowerCase() ? -1 : 1); | ||
@@ -122,0 +144,0 @@ |
{ | ||
"name": "@exodus/assets-base", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Base level package for supporting 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
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
59123
41
2252
0