diff --git a/packages/cli/bin/nirium.js b/packages/cli/bin/nirium.js index 8de29a8..da04530 100755 --- a/packages/cli/bin/nirium.js +++ b/packages/cli/bin/nirium.js @@ -229,7 +229,7 @@ program .description('🚀 Spin up a local x402-protected demo HTTP server to test payments against') .option('-p, --price ', 'Price for access (e.g. $0.02)', '$0.02') .option('-P, --pay-to
', 'Stellar public key (G...) to receive payments') - .option('-port, --port ', 'Port number to listen on', '3000') + .option('--port ', 'Port number to listen on', '3000') .option('-n, --network ', 'CAIP-2 network ID (stellar:testnet or stellar:pubnet)', 'stellar:testnet') .option('-r, --route ', 'Route path to protect', '/api/v1/data') // Kept only to refuse it with a clear message: commander's own diff --git a/packages/cli/package-lock.json b/packages/cli/package-lock.json index 8772f8c..6e5bacf 100644 --- a/packages/cli/package-lock.json +++ b/packages/cli/package-lock.json @@ -12,7 +12,7 @@ "@stellar/stellar-sdk": "^16.3.0", "@x402/express": "^2.28.0", "axios": "^1.20.0", - "commander": "^11.0.0", + "commander": "^14.0.3", "express": "^5.1.0", "nirium": "^0.16.1" }, @@ -215,13 +215,6 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@stellar/stellar-sdk/node_modules/commander": { - "version": "14.0.3", - "license": "MIT", - "engines": { - "node": ">=20" - } - }, "node_modules/@toon-format/toon": { "version": "2.3.1", "license": "MIT" @@ -518,10 +511,12 @@ } }, "node_modules/commander": { - "version": "11.1.0", + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", + "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", "license": "MIT", "engines": { - "node": ">=16" + "node": ">=20" } }, "node_modules/content-disposition": { diff --git a/packages/cli/package.json b/packages/cli/package.json index f8c4605..361fc58 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -23,7 +23,7 @@ "license": "Apache-2.0", "dependencies": { "axios": "^1.20.0", - "commander": "^11.0.0", + "commander": "^14.0.3", "nirium": "^0.16.1", "express": "^5.1.0", "@stellar/stellar-sdk": "^16.3.0",