@yerofey/cryptowallet-cli 1.37.0 → 1.37.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cli.js +6 -0
  2. package/package.json +9 -7
package/cli.js CHANGED
@@ -17,10 +17,13 @@ import Method from './src/Method.js';
17
17
  // get the current file path
18
18
  const __filename = fileURLToPath(import.meta.url);
19
19
 
20
+ const exit = process.exit;
21
+
20
22
  if (options.list !== undefined) {
21
23
  (async () => {
22
24
  return new Method('list').init();
23
25
  })();
26
+ exit(0);
24
27
  }
25
28
 
26
29
  // generate mnemonic string if no argument is passed or only the mnemonic length is passed
@@ -36,18 +39,21 @@ if (
36
39
  copy: options?.copy || false,
37
40
  });
38
41
  })();
42
+ exit(0);
39
43
  }
40
44
 
41
45
  if (options.version) {
42
46
  (async () => {
43
47
  return new Method('version').init();
44
48
  })();
49
+ exit(0);
45
50
  }
46
51
 
47
52
  if (options.donate) {
48
53
  (async () => {
49
54
  return new Method('donate').init();
50
55
  })();
56
+ exit(0);
51
57
  }
52
58
 
53
59
  const chain = (options.chain.toUpperCase() || 'EVM').trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yerofey/cryptowallet-cli",
3
- "version": "1.37.0",
3
+ "version": "1.37.2",
4
4
  "description": "Crypto wallet generator CLI tool",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/yerofey/cryptowallet-cli",
@@ -45,10 +45,12 @@
45
45
  "cw": "cli.js"
46
46
  },
47
47
  "engines": {
48
- "node": ">=16.0.0"
48
+ "node": ">=18.0.0"
49
49
  },
50
50
  "scripts": {
51
51
  "dev:npm": "npm i --package-lock-only",
52
+ "dev:pnpm": "pnpm install --lockfile-only",
53
+ "dev:yarn": "yarn install --mode=skip-build --no-node-modules",
52
54
  "lint": "pnpm exec eslint src/*.js",
53
55
  "test": "ava"
54
56
  },
@@ -111,21 +113,21 @@
111
113
  "@harmony-js/account": "^0.1.58",
112
114
  "@mysten/sui": "^1.18.0",
113
115
  "@solana/web3.js": "^1.98.0",
114
- "@ton/core": "^0.59.1",
116
+ "@ton/core": "^0.60.0",
115
117
  "@ton/crypto": "^3.3.0",
116
118
  "@ton/ton": "^15.1.0",
117
119
  "@yerofey/dogecoin-bip84": "^0.0.5",
118
120
  "@yerofey/litecoin-bip84": "^0.0.5",
119
121
  "bip39": "3.1.0",
120
- "bip84": "0.2.7",
121
- "bip86": "^0.0.3",
122
+ "bip84": "^0.2.9",
123
+ "bip86": "^0.0.4",
122
124
  "bs58": "^6.0.0",
123
125
  "chalk": "5.4.1",
124
126
  "clipboardy": "^4.0.0",
125
127
  "coininfo": "5.2.1",
126
128
  "coinkey": "3.0.0",
127
129
  "columnify": "1.6.0",
128
- "commander": "13.0.0",
130
+ "commander": "^13.1.0",
129
131
  "csv-writer": "^1.6.0",
130
132
  "dotenv": "^16.4.7",
131
133
  "ed25519-hd-key": "^1.3.0",
@@ -136,7 +138,7 @@
136
138
  "qrcode-terminal": "^0.12.0",
137
139
  "tezos-sign": "1.4.1",
138
140
  "tonweb": "^0.0.66",
139
- "tronweb": "6.0.0"
141
+ "tronweb": "^6.0.1"
140
142
  },
141
143
  "devDependencies": {
142
144
  "ava": "^6.2.0",