@getalby/cli 0.6.0 → 0.6.1

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.
@@ -5,7 +5,7 @@ export function registerFetch402Command(program) {
5
5
  .command("fetch")
6
6
  .description("Fetch a payment-protected resource (auto-detects L402, X402, MPP)")
7
7
  .argument("<url>", "URL to fetch")
8
- .option("-m, --method <method>", "HTTP method (GET, POST, etc.)")
8
+ .option("-X, --method <method>", "HTTP method (GET, POST, etc.)")
9
9
  .option("-b, --body <json>", "Request body (JSON string)")
10
10
  .option("-H, --headers <json>", "Additional headers (JSON string)")
11
11
  .option("--max-amount <sats>", "Maximum amount in sats to pay per request. Aborts if the endpoint requests more. (default: 5000, 0 = no limit)", parseInt)
package/build/index.js CHANGED
@@ -33,7 +33,7 @@ program
33
33
  ' $ npx @getalby/cli connect "nostr+walletconnect://..."\n' +
34
34
  " $ npx @getalby/cli get-balance\n" +
35
35
  " $ npx @getalby/cli pay-invoice --invoice lnbc...")
36
- .version("0.6.0")
36
+ .version("0.6.1")
37
37
  .option("-w, --wallet-name <name>", "Use a named wallet's connection secret (~/.alby-cli/connection-secret-<name>.key)")
38
38
  .option("-c, --connection-secret <string>", "NWC connection secret (nostr+walletconnect://...) or path to file containing it (preferred)")
39
39
  .option("-v, --verbose", "Print status messages to stderr")
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@getalby/cli",
3
3
  "description": "CLI for Nostr Wallet Connect (NIP-47) with a few additional useful lightning tools",
4
4
  "repository": "https://github.com/getAlby/cli.git",
5
- "version": "0.6.0",
5
+ "version": "0.6.1",
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "bin": {