@thecryptodonkey/toll-booth 3.0.1 → 3.1.0

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 (3) hide show
  1. package/README.md +13 -7
  2. package/llms.txt +7 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -77,10 +77,10 @@ Your API earns money the moment it receives a request. Clients pay with Lightnin
77
77
  ## Let AI agents pay for your API
78
78
 
79
79
  toll-booth is the **server side** of a two-part stack for machine-to-machine payments.
80
- [l402-mcp](https://github.com/TheCryptoDonkey/l402-mcp) is the **client side** - an MCP server that gives AI agents the ability to discover, pay, and consume L402-gated APIs autonomously.
80
+ [402-mcp](https://github.com/TheCryptoDonkey/402-mcp) is the **client side** - an MCP server that gives AI agents the ability to discover, pay, and consume L402-gated APIs autonomously.
81
81
 
82
82
  ```
83
- AI Agent -> l402-mcp -> toll-booth -> Your API
83
+ AI Agent -> 402-mcp -> toll-booth -> Your API
84
84
  ```
85
85
 
86
86
  An agent using Claude, GPT, or any MCP-capable model can call your API, receive a 402 payment challenge, pay the Lightning invoice from its wallet, and retry - all without human intervention. No OAuth dance, no API key rotation, no billing portal.
@@ -398,11 +398,17 @@ See [docs/configuration.md](docs/configuration.md) for the full reference includ
398
398
 
399
399
  ---
400
400
 
401
- ## Vision
401
+ ## Documentation
402
402
 
403
- **[Why L402?](docs/vision.md)** - the case for permissionless, machine-to-machine payments on the web.
404
-
405
- **[Architecture](docs/architecture.md)** - how toll-booth, satgate, and l402-mcp fit together.
403
+ | Document | Description |
404
+ |----------|-------------|
405
+ | **[Why L402?](docs/vision.md)** | The case for permissionless, machine-to-machine payments |
406
+ | **[Architecture](docs/architecture.md)** | How toll-booth, satgate, and 402-mcp fit together |
407
+ | **[Configuration](docs/configuration.md)** | Full reference for all Booth options |
408
+ | **[Deployment](docs/deployment.md)** | Docker, nginx, Cloudflare Workers, Deno, Bun, Hono |
409
+ | **[Security](docs/security.md)** | Threat model, macaroon security, hardening measures |
410
+ | **[Migration](docs/migration.md)** | Upgrading from v1 to v2, and v2 to v3 |
411
+ | **[Contributing](CONTRIBUTING.md)** | Development setup, conventions, adding backends |
406
412
 
407
413
  ---
408
414
 
@@ -412,7 +418,7 @@ See [docs/configuration.md](docs/configuration.md) for the full reference includ
412
418
  |---------|------|
413
419
  | **[toll-booth](https://github.com/TheCryptoDonkey/toll-booth)** | **Payment-rail agnostic HTTP 402 middleware** |
414
420
  | [satgate](https://github.com/TheCryptoDonkey/satgate) | Production showcase — pay-per-token AI inference proxy (~400 lines on toll-booth) |
415
- | [l402-mcp](https://github.com/TheCryptoDonkey/l402-mcp) | Client side — AI agents discover, pay, and consume L402 APIs |
421
+ | [402-mcp](https://github.com/TheCryptoDonkey/402-mcp) | Client side — AI agents discover, pay, and consume L402 APIs |
416
422
 
417
423
  ---
418
424
 
package/llms.txt CHANGED
@@ -88,8 +88,13 @@ Booth instance properties:
88
88
  - `.resetFreeTier()` — reset daily free-tier counters
89
89
  - `.close()` — clean up timers and database connections
90
90
 
91
- ## Optional
91
+ ## Documentation
92
92
 
93
93
  - [Vision: The Vending Machine Web](docs/vision.md) — why L402 and permissionless machine-to-machine payments matter
94
- - [Example: Valhalla routing proxy](examples/valhalla-proxy/) — complete Docker Compose deployment gating a routing engine behind Lightning payments
94
+ - [Architecture](docs/architecture.md) — how toll-booth, satgate, and 402-mcp fit together
95
+ - [Deployment guide](docs/deployment.md) — Docker, nginx, Cloudflare Workers, Deno, Bun, Hono
96
+ - [Security guide](docs/security.md) — threat model, macaroon security, hardening measures
97
+ - [Migration guide](docs/migration.md) — upgrading across major versions
95
98
  - [Production checklist](README.md#production-checklist) — deployment best practices
99
+ - [Example: Valhalla routing proxy](examples/valhalla-proxy/) — complete Docker Compose deployment
100
+ - [Full API reference](llms-full.txt) — complete type definitions and examples
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecryptodonkey/toll-booth",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "type": "module",
5
5
  "description": "Monetise any API with HTTP 402 payments. Payment-rail agnostic middleware for Express, Hono, Deno, Bun, and Workers.",
6
6
  "license": "MIT",