Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@exodus/assets-base

Package Overview
Dependencies
Maintainers
0
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/assets-base - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

lib/_erc2-tokens.js

8

CHANGELOG.md

@@ -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)

24

lib/index.js

@@ -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 @@

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc