@aztec/cli-wallet 3.0.0-nightly.20251105 → 3.0.0-nightly.20251106
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.
- package/dest/bin/index.js +4 -0
- package/package.json +12 -12
- package/src/bin/index.ts +5 -0
package/dest/bin/index.js
CHANGED
|
@@ -56,6 +56,10 @@ function injectInternalCommands(program, log, db) {
|
|
|
56
56
|
'native',
|
|
57
57
|
'none'
|
|
58
58
|
]).env('PXE_PROVER').default('native')).addOption(new Option('-n, --node-url <string>', 'URL of the Aztec node to connect to').env('AZTEC_NODE_URL').default(`http://${LOCALHOST}:8080`)).hook('preSubcommand', async (command)=>{
|
|
59
|
+
// Skip initialization if user is just requesting help
|
|
60
|
+
if (command.args.includes('--help') || command.args.includes('-h')) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
59
63
|
const { dataDir, nodeUrl, prover } = command.optsWithGlobals();
|
|
60
64
|
const proverEnabled = prover !== 'none';
|
|
61
65
|
const bbBinaryPath = prover === 'native' ? process.env.BB_BINARY_PATH ?? resolve(dirname(fileURLToPath(import.meta.url)), '../../../../barretenberg/cpp/build/bin/bb') : undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/cli-wallet",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.20251106",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/cmds/index.js",
|
|
@@ -67,17 +67,17 @@
|
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@aztec/accounts": "3.0.0-nightly.
|
|
71
|
-
"@aztec/aztec.js": "3.0.0-nightly.
|
|
72
|
-
"@aztec/cli": "3.0.0-nightly.
|
|
73
|
-
"@aztec/entrypoints": "3.0.0-nightly.
|
|
74
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
75
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
76
|
-
"@aztec/kv-store": "3.0.0-nightly.
|
|
77
|
-
"@aztec/noir-contracts.js": "3.0.0-nightly.
|
|
78
|
-
"@aztec/noir-noirc_abi": "3.0.0-nightly.
|
|
79
|
-
"@aztec/pxe": "3.0.0-nightly.
|
|
80
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
70
|
+
"@aztec/accounts": "3.0.0-nightly.20251106",
|
|
71
|
+
"@aztec/aztec.js": "3.0.0-nightly.20251106",
|
|
72
|
+
"@aztec/cli": "3.0.0-nightly.20251106",
|
|
73
|
+
"@aztec/entrypoints": "3.0.0-nightly.20251106",
|
|
74
|
+
"@aztec/ethereum": "3.0.0-nightly.20251106",
|
|
75
|
+
"@aztec/foundation": "3.0.0-nightly.20251106",
|
|
76
|
+
"@aztec/kv-store": "3.0.0-nightly.20251106",
|
|
77
|
+
"@aztec/noir-contracts.js": "3.0.0-nightly.20251106",
|
|
78
|
+
"@aztec/noir-noirc_abi": "3.0.0-nightly.20251106",
|
|
79
|
+
"@aztec/pxe": "3.0.0-nightly.20251106",
|
|
80
|
+
"@aztec/stdlib": "3.0.0-nightly.20251106",
|
|
81
81
|
"commander": "^12.1.0",
|
|
82
82
|
"inquirer": "^10.1.8",
|
|
83
83
|
"source-map-support": "^0.5.21",
|
package/src/bin/index.ts
CHANGED
|
@@ -95,6 +95,11 @@ async function main() {
|
|
|
95
95
|
.default(`http://${LOCALHOST}:8080`),
|
|
96
96
|
)
|
|
97
97
|
.hook('preSubcommand', async command => {
|
|
98
|
+
// Skip initialization if user is just requesting help
|
|
99
|
+
if (command.args.includes('--help') || command.args.includes('-h')) {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
|
|
98
103
|
const { dataDir, nodeUrl, prover } = command.optsWithGlobals();
|
|
99
104
|
|
|
100
105
|
const proverEnabled = prover !== 'none';
|