@exodus/ethereumclassic-meta
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -6,13 +6,7 @@ "use strict"; | ||
}); | ||
exports.default = exports.asset = void 0; | ||
var _currency = require("@exodus/currency"); | ||
exports.tokens = exports.default = exports.assetsList = exports.asset = void 0; | ||
var _asset = require("@exodus/asset"); | ||
const name = 'ethereumclassic'; | ||
const displayName = 'Ethereum Classic'; | ||
const ticker = 'ETC'; | ||
const displayTicker = 'ETC'; | ||
const displayNetworkTicker = displayTicker; | ||
const displayNetworkName = displayName; | ||
const baseAssetName = name; | ||
const primaryColor = '#58D98C'; | ||
@@ -27,6 +21,5 @@ const gradientColors = ['#58D98C', '#599270']; | ||
const chainBadgeColors = gradientColors; | ||
const gasLimit = 21e3; // enough to send ETH to a normal address | ||
const contractGasLimit = 1e6; // used when estimateGas fails | ||
const chainId = 61; | ||
const gasLimit = 21e3; | ||
const contractGasLimit = 1e6; | ||
const units = { | ||
@@ -41,5 +34,2 @@ wei: 0, | ||
}; | ||
const currency = _currency.UnitType.create(units); | ||
const assetType = 'ETHEREUM_LIKE'; | ||
@@ -57,13 +47,9 @@ const blockExplorer = { | ||
}; | ||
const asset = { | ||
const assetParams = { | ||
assetType, | ||
baseAssetName, | ||
blockExplorer, | ||
chainBadgeColors, | ||
chainId, | ||
contractGasLimit, | ||
currency, | ||
displayName, | ||
displayNetworkName, | ||
displayNetworkTicker, | ||
displayTicker, | ||
gasLimit, | ||
@@ -75,12 +61,15 @@ gradientColors, | ||
primaryColor, | ||
properName: displayName, | ||
// deprecated | ||
properTicker: displayTicker, | ||
// deprecated | ||
ticker, | ||
toString: () => name, | ||
units | ||
}; | ||
const { | ||
asset, | ||
tokens, | ||
assetsList | ||
} = (0, _asset.createMetaDef)({ | ||
assetParams | ||
}); | ||
exports.assetsList = assetsList; | ||
exports.tokens = tokens; | ||
exports.asset = asset; | ||
var _default = [asset]; | ||
exports.default = _default; | ||
var _default = exports.default = assetsList; |
{ | ||
"name": "@exodus/ethereumclassic-meta", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Ethereum Classic constants, icons, colors and other metadata", | ||
@@ -16,6 +16,16 @@ "main": "lib/index.js", | ||
}, | ||
"scripts": { | ||
"build": "run -T babel --root-mode upward --delete-dir-on-start --ignore '**/__tests__/**' src --out-dir lib", | ||
"build:clean": "rm -rf lib", | ||
"test": "run -T jest", | ||
"lint": "run -T eslint src", | ||
"lint:fix": "yarn lint --fix" | ||
}, | ||
"dependencies": { | ||
"@exodus/currency": "^2.1.3" | ||
"@exodus/asset": "^1.1.0" | ||
}, | ||
"gitHead": "3356979d2a095c718f0ecb6ed34670ebd0c056dc" | ||
"devDependencies": { | ||
"@exodus/assets-meta-testing": "^1.0.0" | ||
}, | ||
"gitHead": "e0b6f849ffcfbb05a48e2e36b2c19d1bbe6707a8" | ||
} |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
3721
0
100
1
4
69
1
+ Added@exodus/asset@^1.1.0
+ Added@exodus/asset@1.2.0(transitive)
+ Added@exodus/basic-utils@1.5.0(transitive)
- Removed@exodus/currency@^2.1.3