soluser 1.0.6 → 1.0.7

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/bin/index.js +4 -1
  2. package/package.json +1 -1
package/bin/index.js CHANGED
@@ -13,7 +13,10 @@ const checkBalance = require('../src/commands/balance');
13
13
  // Import the airdrop command
14
14
  const requestAirdrop = require('../src/commands/airdrop');
15
15
 
16
-
16
+ // Get version from package.json
17
+ const packageJson = require('../package.json');
18
+ // Set program version
19
+ program.version(packageJson.version);
17
20
 
18
21
  // 定义地址查询命令
19
22
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soluser",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "A CLI tool to manage Solana accounts (new, switch, list)",
5
5
  "main": "bin/index.js",
6
6
  "bin": {