Skip to content

Commit

Permalink
v1.1.37: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
yerofey committed Aug 30, 2021
1 parent a4c4177 commit 65fbb3a
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 20 deletions.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ async function run() {
}

let appsString = appsArray.join(', ');
if (coinData.apps.includes('other') || false) {
if (coinData.apps || false) {
appsString += ' and many other wallet apps';
}
log(chalk.greenBright('ℹ️ You can import this wallet into ' + appsString));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yerofey/cryptowallet-cli",
"version": "1.1.36",
"version": "1.1.37",
"homepage": "https://github.com/yerofey/cryptowallet-cli",
"author": "Yerofey S. <[email protected]> (https://github.com/yerofey)",
"bin": {
Expand Down
6 changes: 2 additions & 4 deletions src/coins/BNB.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
"startsWith": "bnb",
"prefixTest": "[0-9a-z]",
"apps": [
"binance-chain-wallet",
"metamask",
"trustwallet",
"other"
"binance-chain-wallet"
],
"flags": [
"f",
Expand All @@ -24,10 +23,9 @@
"startsWith": "0x",
"prefixTest": "[0-9a-f]",
"apps": [
"binance-chain-wallet",
"metamask",
"trustwallet",
"other"
"binance-chain-wallet"
],
"flags": [
"f",
Expand Down
3 changes: 1 addition & 2 deletions src/coins/BTC.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"path": "m/84'/0",
"purpose": 84,
"apps": [
"trustwallet",
"other"
"trustwallet"
],
"flags": [
"f",
Expand Down
3 changes: 1 addition & 2 deletions src/coins/ERC.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"startsWith": "0x",
"prefixTest": "[0-9a-f]",
"apps": [
"binance-chain-wallet",
"metamask",
"trustwallet",
"other"
"binance-chain-wallet"
],
"flags": [
"m",
Expand Down
3 changes: 1 addition & 2 deletions src/coins/ETH.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"prefixTest": "[0-9a-f]",
"apps": [
"metamask",
"trustwallet",
"other"
"trustwallet"
],
"flags": [
"m",
Expand Down
3 changes: 1 addition & 2 deletions src/coins/LTC.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"path": "m/84'/2",
"purpose": 84,
"apps": [
"trustwallet",
"other"
"trustwallet"
],
"flags": [
"f",
Expand Down
3 changes: 1 addition & 2 deletions src/coins/ONE.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"rareSymbols": "[a-z]",
"apps": [
"trustwallet",
"harmony-chrome-ext",
"other"
"harmony-chrome-ext"
],
"flags": [
"m",
Expand Down
3 changes: 1 addition & 2 deletions src/coins/POLYGON.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"prefixTest": "[0-9a-f]",
"apps": [
"metamask",
"trustwallet",
"other"
"trustwallet"
],
"flags": [
"m",
Expand Down
3 changes: 1 addition & 2 deletions src/coins/TRX.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"rareSymbols": "[1-9]",
"apps": [
"tronlink",
"trustwallet",
"other"
"trustwallet"
],
"flags": [
"p"
Expand Down

0 comments on commit 65fbb3a

Please sign in to comment.