@exodus/assets-base
Advanced tools
Comparing version 2.0.5 to 3.0.0
@@ -0,1 +1,11 @@ | ||
3.0.0 / 2019-10-21 | ||
----------------- | ||
- Switch VET's `assetType` to `VECHAIN_LIKE` | ||
- Switch VET tokens' `assetType` to `VECHAIN_TOKEN` | ||
- Remove the old EOS ERC20 asset | ||
- Fix capitalization of LINK's properName | ||
- Switch Tezos' block explorer to tzstats.com | ||
- Switch Nano's block explorer to nanocrawler | ||
2.0.5 / 2019-10-08 | ||
@@ -2,0 +12,0 @@ ----------------- |
@@ -123,3 +123,3 @@ "use strict"; | ||
name: 'chainlink', | ||
properName: 'ChainLink', | ||
properName: 'Chainlink', | ||
decimals: 18, | ||
@@ -212,11 +212,2 @@ ticker: 'LINK', | ||
}, { | ||
name: 'eos', | ||
properName: 'EOS (OLD)', | ||
decimals: 18, | ||
ticker: 'EOS', | ||
addresses: { | ||
current: '0x86Fa049857E0209aa7D9e616F7eb3b3B78ECfdb0' | ||
}, | ||
old: true | ||
}, { | ||
name: 'ethos', | ||
@@ -223,0 +214,0 @@ properName: 'Ethos', |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.default = void 0; | ||
var _default = [{ | ||
const tokens = [{ | ||
name: 'vethor', | ||
@@ -17,2 +17,19 @@ properName: 'VeThor', | ||
}]; | ||
var _default = tokens.map(token => ({ | ||
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 | ||
})); | ||
exports.default = _default; |
@@ -121,19 +121,3 @@ "use strict"; | ||
_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.push(..._vechainTokens.default); | ||
@@ -140,0 +124,0 @@ _assets.sort((asset1, asset2) => asset1.properName.toLowerCase() < asset2.properName.toLowerCase() ? -1 : 1); |
@@ -24,5 +24,5 @@ "use strict"; | ||
const blockExplorer = { | ||
addressUrl: address => `https://www.nanode.co/account/${address}`, | ||
txUrl: txId => `https://www.nanode.co/block/${txId}` | ||
addressUrl: address => `https://nanocrawler.cc/explorer/account/${address}/history`, | ||
txUrl: txId => `https://nanocrawler.cc/explorer/block/${txId}` | ||
}; | ||
exports.blockExplorer = blockExplorer; |
@@ -24,5 +24,5 @@ "use strict"; | ||
const blockExplorer = { | ||
addressUrl: address => `https://tzscan.io/${address}`, | ||
txUrl: txId => `https://tzscan.io/${txId}` | ||
addressUrl: address => `https://tzstats.com/account/${address}`, | ||
txUrl: txId => `https://tzstats.com/operation/${txId}` | ||
}; | ||
exports.blockExplorer = blockExplorer; |
@@ -21,3 +21,3 @@ "use strict"; | ||
exports.units = units; | ||
const assetType = 'OTHER'; | ||
const assetType = 'VECHAIN_LIKE'; | ||
exports.assetType = assetType; | ||
@@ -24,0 +24,0 @@ const blockExplorer = { |
{ | ||
"name": "@exodus/assets-base", | ||
"version": "2.0.5", | ||
"version": "3.0.0", | ||
"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
54892
1746