lightning-wallet-mcp 1.4.0 → 1.4.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.
package/README.md CHANGED
@@ -9,14 +9,14 @@
9
9
  ## What's New in v1.4
10
10
 
11
11
  - **`update_operator` tool / `lw set-email`** - set your operator email from the MCP client or CLI; a verification link is emailed to you.
12
- - **`claim_promo` tool / `lw claim-promo`** - claim the free-sats install promo directly from your agent. Requirements: verified email + operator account at least 24 hours old.
12
+ - **`claim_promo` tool / `lw claim-promo`** - claim the free-sats install promo directly from your agent. Requirements: verified email + operator account at least 3 hours old.
13
13
  - **`get_info` works before registration** - service info no longer requires an API key.
14
14
 
15
15
  ### Free 100 sats for new operators
16
16
 
17
17
  1. `lw register --email you@example.com` (or the `register_operator` MCP tool with an email)
18
18
  2. Click the verification link we email you
19
- 3. After your account is 24 hours old: `lw claim-promo` (or the `claim_promo` MCP tool)
19
+ 3. After your account is 3 hours old: `lw claim-promo` (or the `claim_promo` MCP tool)
20
20
 
21
21
  One bonus per operator, first 100 installs only, no deposit required.
22
22
 
@@ -174,7 +174,7 @@ Then ask Claude: *"Register a new Lightning Wallet operator account"*
174
174
  | `set_operator_key` | Switch to operator credentials |
175
175
 
176
176
  - `update_operator` - set operator email (sends verification link) and/or name
177
- - `claim_promo` - claim the free-sats install promo (verified email + 24h account)
177
+ - `claim_promo` - claim the free-sats install promo (verified email + 3h account)
178
178
 
179
179
  ### Agent Management
180
180
 
package/dist/cli.js CHANGED
@@ -331,7 +331,7 @@ COMMANDS
331
331
  transactions Recent transactions [--limit 10] [--offset 0]
332
332
  set-email <email> Set operator email (verification link emailed)
333
333
  claim-promo Claim the 100-sat install promo
334
- (requires verified email + 24h account age)
334
+ (requires verified email + 3h account age)
335
335
  help Show this help
336
336
 
337
337
  WEBHOOKS
package/dist/index.js CHANGED
@@ -104,7 +104,7 @@ const GetTransactionsSchema = zod_1.z.object({
104
104
  // Operator management schemas
105
105
  const RegisterOperatorSchema = zod_1.z.object({
106
106
  name: zod_1.z.string().optional().describe('Name for the operator account'),
107
- email: zod_1.z.string().email().optional().describe('Optional email for product updates and announcements'),
107
+ email: zod_1.z.string().email().optional().describe('Your email — register WITH it to claim the 100 free-sats install promo. A verification link is sent; once verified, claim_promo funds your wallet. Strongly recommended.'),
108
108
  });
109
109
  const GetDepositInvoiceSchema = zod_1.z.object({
110
110
  amount_sats: zod_1.z.number().int().min(100).max(10_000_000).describe('Amount in satoshis to deposit'),
@@ -340,12 +340,12 @@ server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
340
340
  // Operator management tools
341
341
  {
342
342
  name: 'register_operator',
343
- description: 'Register a new operator account. Returns API key and recovery code. SAVE THESE - they cannot be retrieved later!',
343
+ description: 'Register a new operator account. Returns API key and recovery code. SAVE THESE - they cannot be retrieved later! Tip: pass an email to claim the 100 free-sats install promo.',
344
344
  inputSchema: {
345
345
  type: 'object',
346
346
  properties: {
347
347
  name: { type: 'string', description: 'Name for the operator account (optional)' },
348
- email: { type: 'string', description: 'Email address — strongly recommended for onboarding tips, setup help, and product updates. Without it we cannot reach you if there are issues.' },
348
+ email: { type: 'string', description: 'Email address — pass it here to claim the 100 free-sats install promo (a verification link is sent; once verified, and once the operator account is at least 3 hours old, call claim_promo to get funded). Also used for onboarding tips and important account notices.' },
349
349
  },
350
350
  required: [],
351
351
  },
@@ -364,7 +364,7 @@ server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
364
364
  },
365
365
  {
366
366
  name: 'claim_promo',
367
- description: 'Claim the free-sats install promo (100 sats, first 100 installs). Requires a verified email (set one with update_operator, then click the emailed link) and an operator account at least 24 hours old. REQUIRES OPERATOR KEY.',
367
+ description: 'Claim the free-sats install promo (100 sats, first 100 installs). Requires a verified email (set one with update_operator, then click the emailed link) and an operator account at least 3 hours old. REQUIRES OPERATOR KEY.',
368
368
  inputSchema: {
369
369
  type: 'object',
370
370
  properties: {
@@ -527,7 +527,7 @@ export declare class LightningFaucetClient {
527
527
  }>;
528
528
  /**
529
529
  * Claim a promo bonus (default: the first_100_installs free-sats promo).
530
- * Requires a verified email and an operator account at least 24 hours old.
530
+ * Requires a verified email and an operator account at least 3 hours old.
531
531
  */
532
532
  claimPromo(promoCode?: string): Promise<ApiResponse & {
533
533
  promo?: string;
@@ -789,7 +789,7 @@ class LightningFaucetClient {
789
789
  }
790
790
  /**
791
791
  * Claim a promo bonus (default: the first_100_installs free-sats promo).
792
- * Requires a verified email and an operator account at least 24 hours old.
792
+ * Requires a verified email and an operator account at least 3 hours old.
793
793
  */
794
794
  async claimPromo(promoCode) {
795
795
  const params = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lightning-wallet-mcp",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "mcpName": "io.github.lightningfaucet/lightning-wallet-mcp",
5
5
  "description": "Lightning wallet for AI agents. MCP server + CLI. Works with Claude Code, OpenClaw, Cursor, and any agent framework.",
6
6
  "main": "dist/index.js",