agent402-tollbooth 0.10.5 → 0.10.6

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/demo.js +1 -1
  2. package/index.js +1 -1
  3. package/package.json +2 -2
package/demo.js CHANGED
@@ -52,7 +52,7 @@ try {
52
52
  r = await visit(CRAWLER, { "x-pow-solution": `${q.proofOfWork.token}:${nonce}` });
53
53
  log(` → HTTP ${r.status} ${c.green}OK${c.reset} (paid via ${r.headers.get("x-tollbooth-paid")}) "${await r.text()}"\n`);
54
54
 
55
- log(`${c.bold}${c.green}✓ Pay-per-crawl, end to end${c.reset}: humans free, bots pay (USDC or compute). No Cloudflare, no Stripe, no signup.`);
55
+ log(`${c.bold}${c.green}✓ Pay-per-crawl, end to end${c.reset}: humans free, bots pay (USDC or compute), settled to your own wallet with no signup.`);
56
56
  } finally {
57
57
  server.close();
58
58
  }
package/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  // Put it in front of any site or API: human visitors pass through free, while
5
5
  // AI crawlers / agents must pay per request, either in USDC over the x402
6
6
  // protocol, or for free by solving a proof-of-work (no wallet, no signup, no
7
- // Stripe, no Cloudflare). Use it two ways:
7
+ // account). Use it two ways:
8
8
  //
9
9
  // 1. Express middleware: app.use(createTollbooth({ ... }))
10
10
  // 2. Reverse proxy (CLI): TOLLBOOTH_UPSTREAM=https://your-site.com npx agent402-tollbooth
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agent402-tollbooth",
3
- "version": "0.10.5",
4
- "description": "Agent402 tollbooth: open-source, self-hostable pay-per-crawl for x402 AND MPP (the sell side of Agentic Finance): charge AI bots per request (USDC via x402, or MPP - the Machine Payments Protocol - through the same settlement, or USDG on Robinhood Chain, or free proof-of-work) while humans browse free. Drop-in Express middleware or reverse proxy that settles both wires from env alone - no Cloudflare, no Stripe, no signup.",
3
+ "version": "0.10.6",
4
+ "description": "Agent402 tollbooth: open-source, self-hostable pay-per-crawl for x402 AND MPP (the sell side of Agentic Finance): charge AI bots per request (USDC via x402, or MPP - the Machine Payments Protocol - through the same settlement, or USDG on Robinhood Chain, or free proof-of-work) while humans browse free. Drop-in Express middleware or reverse proxy that settles both wires from env alone, on your own server with no account or signup.",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "bin": {