DetVape commited on
Commit
4e2ec4e
·
verified ·
1 Parent(s): 6f09270

Sync from GitHub via hub-sync (part 2)

Browse files
worker/.gitignore CHANGED
@@ -1,3 +1,2 @@
1
- .wrangler/
2
  .dev.vars
3
  *.log
 
 
1
  .dev.vars
2
  *.log
worker/README.md CHANGED
@@ -2,85 +2,64 @@
2
 
3
  Pay-per-call access to VAPE's 6 automatable ACP offerings over Coinbase's [x402](https://www.x402.org/) HTTP payment protocol. The other 8 offerings (deep audits, forensics, wallet recon, etc.) need the SKILLFORGE tool tier and are hired through a real [ACP job](../docs/ACP_PROTOCOL.md) instead — this worker doesn't duplicate that.
4
 
5
- ## What's actually verified vs. what needs your setup
6
-
7
- Verified in this session, without any live Cloudflare/Coinbase account:
8
- - `npm install` resolves the real, current, published packages (`@x402/hono`, `@x402/core`, `@x402/evm`, `hono` — not `x402-hono` v1, which is deprecated).
9
- - `npx tsc --noEmit` passes cleanly against the real published types.
10
- - `npx wrangler deploy --dry-run` bundles the whole worker successfully and correctly reads `wrangler.toml`'s bindings.
11
- - `npx wrangler dev --local` actually runs the worker: `GET /` returns the real offering catalog; `GET /scan/<offering>` correctly triggers the x402 middleware's facilitator handshake (it fails here only because this sandbox blocks outbound DNS to `facilitator.x402.org` — the same network policy that blocks CoinGecko/DexScreener elsewhere in this repo's dev sandbox).
12
-
13
- **Not yet verified** (needs your accounts): an actual end-to-end payment (sign → 402 → resubmit → settle) against a real wallet, and a live Cloudflare deployment.
14
 
15
  ## Setup
16
 
17
  ```bash
18
  cd worker
19
  npm install
20
- npx wrangler login # opens a browser, needs your Cloudflare account
21
- npx wrangler dev # local dev server, real network this time
22
  ```
23
 
24
  Try the unpaid route first:
25
  ```bash
26
- curl http://localhost:8787/
27
  ```
28
 
29
  Then a paid one (expect a real `402` with payment requirements, since you have no payment header yet):
30
  ```bash
31
- curl -i "http://localhost:8787/scan/token_safety_check?address=0x2b601d7fc4705361F0c0249a005a714b7A3EdaFE"
32
  ```
33
 
34
- ### Secrets
35
-
36
- ```bash
37
- npx wrangler secret put ETHERSCAN_API_KEY # optional — only exploit_check/safety_preflight use it
38
- npx wrangler secret put CDP_API_KEY_ID # required for real mainnet settlement — see below
39
- npx wrangler secret put CDP_API_KEY_SECRET
40
- npx wrangler secret put ALCHEMY_API_KEY # optional — powers /portfolio, /nfts, /network-status
41
- npx wrangler secret put COINGECKO_API_KEY # optional — powers /prices, and required for /cost-basis
42
- npx wrangler secret put GH_DISPATCH_TOKEN # optional — powers /scan/bounty_deep_dive (see below)
43
- ```
44
 
45
- ### Deploy
46
 
47
- ```bash
48
- npx wrangler deploy
49
- ```
 
 
 
 
 
 
 
50
 
51
- Ships on your `*.workers.dev` subdomain by default — no custom domain needed to start. **One manual one-time step**: Cloudflare requires you to register a `workers.dev` subdomain from the dashboard before the first deploy of any Worker on a fresh account will actually publish; `wrangler deploy` will tell you if this is still pending.
52
 
53
- ## Alternative: Deno Deploy (no subdomain registration step)
54
 
55
- The Cloudflare path above needs a one-time `workers.dev` subdomain registration on your account before the first deploy will actually publish — on at least one real account this hit a Cloudflare-side bug where that registration silently never completed (dashboard showed no way to fix it: the per-Worker URL stayed `*-null` even with the toggle on, `/workers/onboarding` 404'd, and three separate deploy paths — Wrangler, Cloudflare's own Git integration, and its "Create Application" wizard — all failed identically). If you hit the same wall, `worker/` also runs unmodified on [Deno Deploy](https://deno.com/deploy), which assigns a working `https://<project>.deno.dev` URL automatically on first deploy — no manual step.
 
 
 
 
56
 
57
- This works because `src/index.ts`'s Hono `app` object has zero Cloudflare-specific code — the only Workers-specific things are `wrangler.toml` and how `c.env` gets populated. `deno/deno-entry.ts` is the Deno equivalent of that: it builds the same `Env` shape from `Deno.env.get(...)` and calls `app.fetch(req, env)` directly (Hono's documented pattern for feeding `c.env` on any non-Workers runtime).
58
 
59
- `deno/deno.json` (its own directory, deliberately **not** next to `package.json`) holds the import map aliasing the same npm packages `worker/package.json` uses — `hono`, `@x402/hono`, `@x402/core`, `@x402/evm`, `@x402/extensions`, `jose` — to their `npm:` specifiers Deno resolves natively, plus `"nodeModulesDir": "none"`. Both matter: a `deno.json` sitting next to a `package.json` makes Deno auto-detect a Node "workspace" and try to resolve *every* dependency in `package.json` — including unrelated devDependencies like `tsx`/`wrangler`/`typescript` that the Deno runtime never imports — which failed in an actual Deno Deploy build with an unrelated npm version-resolution error before this was separated out.
60
 
61
- Verified locally in this session (via `npm install deno` — Deno ships as an npm package too):
62
- - `deno check deno-entry.ts` (run from `worker/deno/`) passes cleanly.
63
- - `deno task start` runs the real server: `GET /` returns the same offering catalog as the Cloudflare version, `GET /portfolio` and `GET /network-status` correctly 503 without `ALCHEMY_API_KEY`, and `GET /scan/<offering>` correctly reaches the x402 middleware's facilitator handshake (fails only on outbound network access to `api.cdp.coinbase.com` in this dev sandbox — the same block that affects `wrangler dev` and the Cloudflare API from here).
64
- - A live Deno Deploy build with the entry point pointed at `worker/src/deno-entry.ts` (its original location) failed with `Could not find "@x402/core" in a node_modules folder` — Deno Deploy's remote build runs `npm install` first and switches to strict "bring your own node_modules" resolution when it sees a sibling `package.json`, which doesn't consult the import map for scoped-package subpaths the way local `deno check`/`run` does. Moving the Deno-only files into their own `worker/deno/` directory (no `package.json` there) avoids this entirely — confirmed via a second local `deno check` run with `worker/node_modules` present the whole time, matching what Deno Deploy's build environment sees.
65
 
66
- To deploy:
67
- ```bash
68
- npm install deno # or the standalone installer at deno.com/deploy — either works
69
- cd worker/deno
70
- deno task start # local smoke test first; needs env vars set (see below)
71
- ```
72
 
73
- Then at [dash.deno.com](https://dash.deno.com):
74
- 1. **New Project → GitHub → jUXTAPOSITION1/V.A.P.E**.
75
- 2. Set the **entry point** to `worker/deno/deno-entry.ts` (not `worker/src/deno-entry.ts` — see above).
76
- 3. Add the same environment variables as the Cloudflare secrets above (`PAY_TO_ADDRESS`, `X402_NETWORK`, `X402_FACILITATOR_URL`, `CDP_API_KEY_ID`, `CDP_API_KEY_SECRET`, `ALCHEMY_API_KEY`, `ETHERSCAN_API_KEY`) — Deno Deploy's project settings support marking these as secrets (hidden after save, same as `wrangler secret put`).
77
- 4. Deploy. You get `https://<project-name>.deno.dev` immediately — update `docs/assets/app.js`'s and `docs/assets/profile.js`'s `WORKER_BASE` constant to that URL.
78
-
79
- If you go this route instead of Cloudflare, `.github/workflows/deploy-worker.yml` and the `wrangler.toml`-based secrets above become unused — Deno Deploy's own GitHub integration handles CI on every push, so that workflow file can be deleted (or left inert; it only runs on `worker/**` changes and no-ops without `CLOUDFLARE_API_TOKEN`).
80
 
81
  ## Base mainnet + Coinbase Developer Platform
82
 
83
- `wrangler.toml` is pointed at **Base mainnet** (`eip155:8453`) and CDP's hosted facilitator (`https://api.cdp.coinbase.com/platform/v2/x402`) — real funds move through this. The pay → verify → settle loop was proven first against Base Sepolia + the free public `facilitator.x402.org` facilitator before this switch (see git history on `wrangler.toml`/`src/index.ts` for the testnet config if you need to reproduce that).
84
 
85
  To actually settle payments you need a [CDP Secret API Key](https://portal.cdp.coinbase.com) (`CDP_API_KEY_ID` / `CDP_API_KEY_SECRET` above) — `src/lib/cdpAuth.ts` mints a Bearer JWT from it for every `/verify`, `/settle`, and `/supported` call to the facilitator (`src/index.ts`'s `buildCreateAuthHeaders()`). Without both secrets set, those calls go out unauthenticated and the facilitator returns 401.
86
 
@@ -94,13 +73,13 @@ Every `/scan/<offering>` route declares Bazaar discovery metadata (`@x402/extens
94
 
95
  ## `/scan/bounty_deep_dive` — the 24h-SLA premium offering ($50)
96
 
97
- Unlike every other `/scan/*` route (synchronous — pay, get a JSON result, done in well under a second), this one genuinely can't complete inside a Worker's request window: the real work (`agents/deep_dive_audit.py` — recon + Slither + a frontier-model line-by-line source review) takes minutes, not milliseconds. So the route:
98
 
99
  1. Gates payment exactly like the other 6 (x402, same middleware).
100
  2. On settlement, calls `src/lib/githubDispatch.ts`'s `dispatchDeepDiveAudit()` — a `workflow_dispatch` REST call to `.github/workflows/deep-dive-bounty.yml`, passing `address`/`chain`/an optional `callback_url`.
101
  3. Returns immediately with `{"status": "accepted", ...}` and where the report will land (`intel/audits/poc-reports/`) — never a synchronous result.
102
 
103
- Needs `GH_DISPATCH_TOKEN` (a fine-grained PAT scoped to this repo, `Actions: write` + `Contents: read` — Workers have no equivalent of the `GITHUB_TOKEN` Actions injects into its own runs). Without it, the route still gates and settles payment correctly but returns a `503` after settlement telling the buyer to use ACP instead — set this secret before advertising the x402 path for this offering. The ACP path (`scripts/acp-monitor/HANDLER_BRIEF.md`) doesn't need it — the host-side reasoning handler just runs `agents/deep_dive_audit.py` directly.
104
 
105
  ## Free reliability + pricing endpoints
106
 
@@ -112,11 +91,13 @@ Unpaid, no-x402-gate routes back the site's wallet profile ("Your Case File") an
112
  - `GET /prices?addresses=0x…,0x…` — current USD price + 24h change for a batch of Base contract addresses, proxying CoinGecko with `COINGECKO_API_KEY` attached for better rate-limit headroom than the fully anonymous public tier (which the site's client-side JS falls back to directly if this route isn't available).
113
  - `GET /cost-basis?address=0x…` — estimated cost-basis P&L per token (see `src/lib/costBasis.ts` for exactly what it computes — a single first-acquisition price point per token via Alchemy transfer history + CoinGecko's historical-price-by-contract endpoint, not full weighted-average accounting). Needs **both** `ALCHEMY_API_KEY` and `COINGECKO_API_KEY` — the historical-price endpoint specifically requires a CoinGecko key even on their free Demo tier (confirmed by testing it unauthenticated and getting rejected), unlike `/prices`' current-price lookup which works either way.
114
 
 
 
115
  Alchemy-backed routes need `ALCHEMY_API_KEY` (a free-tier [Alchemy](https://dashboard.alchemy.com) app scoped to Base Mainnet); CoinGecko-backed routes need `COINGECKO_API_KEY` (a free [CoinGecko Demo API key](https://www.coingecko.com/en/api) — signup required, no payment). Every route here returns `503` if its required key(s) aren't set — the site (`docs/assets/app.js`/`profile.js`) treats that as "not deployed/configured yet" and transparently falls back to its direct public-API path (except `/cost-basis`, which has no keyless equivalent and just shows as unavailable), so the site works with or without this worker running.
116
 
117
  ## CI
118
 
119
- `.github/workflows/deploy-worker.yml` deploys on push to `main` when `worker/**` changes. It needs two repo secrets before it can run: `CLOUDFLARE_API_TOKEN` (Workers Scripts: Edit permission) and `CLOUDFLARE_ACCOUNT_ID`.
120
 
121
  ## Keeping scan logic in sync
122
 
 
2
 
3
  Pay-per-call access to VAPE's 6 automatable ACP offerings over Coinbase's [x402](https://www.x402.org/) HTTP payment protocol. The other 8 offerings (deep audits, forensics, wallet recon, etc.) need the SKILLFORGE tool tier and are hired through a real [ACP job](../docs/ACP_PROTOCOL.md) instead — this worker doesn't duplicate that.
4
 
5
+ Runs on [Deno Deploy](https://deno.com/deploy), not Cloudflare Workers — see "Why Deno Deploy, not Cloudflare" below for the history, if you're wondering why `src/index.ts` still reads like Workers code.
 
 
 
 
 
 
 
 
6
 
7
  ## Setup
8
 
9
  ```bash
10
  cd worker
11
  npm install
12
+ npm run dev # runs worker/deno/deno-entry.ts locally via `deno task start`
 
13
  ```
14
 
15
  Try the unpaid route first:
16
  ```bash
17
+ curl http://localhost:8000/
18
  ```
19
 
20
  Then a paid one (expect a real `402` with payment requirements, since you have no payment header yet):
21
  ```bash
22
+ curl -i "http://localhost:8000/scan/token_safety_check?address=0x2b601d7fc4705361F0c0249a005a714b7A3EdaFE"
23
  ```
24
 
25
+ ### Environment variables
 
 
 
 
 
 
 
 
 
26
 
27
+ Set these as environment variables in the Deno Deploy project settings (mark them "secret" there — hidden after save, same idea as `wrangler secret put`):
28
 
29
+ | Variable | Required | Used for |
30
+ |---|---|---|
31
+ | `PAY_TO_ADDRESS` | [OK] | payout wallet for every settled x402 call — VAPE's existing ACP wallet |
32
+ | `X402_NETWORK` | [OK] | `eip155:8453` (Base mainnet) |
33
+ | `X402_FACILITATOR_URL` | [OK] | `https://api.cdp.coinbase.com/platform/v2/x402` |
34
+ | `CDP_API_KEY_ID` / `CDP_API_KEY_SECRET` | required for real settlement | mints the Bearer JWT `src/lib/cdpAuth.ts` needs for every `/verify`/`/settle` call — see [CDP Secret API Key](https://portal.cdp.coinbase.com) |
35
+ | `ETHERSCAN_API_KEY` | optional | only `exploit_check`/`safety_preflight` use it |
36
+ | `ALCHEMY_API_KEY` | optional | powers `/portfolio`, `/nfts`, `/network-status` |
37
+ | `COINGECKO_API_KEY` | optional | powers `/prices`; required for `/cost-basis` |
38
+ | `GH_DISPATCH_TOKEN` | optional | powers `/scan/bounty_deep_dive` (see below) |
39
 
40
+ Locally, export these in your shell before `npm run dev`; `deno-entry.ts` reads them via `Deno.env.get(...)`.
41
 
42
+ ### Deploy
43
 
44
+ At [dash.deno.com](https://dash.deno.com):
45
+ 1. **New Project → GitHub → jUXTAPOSITION1/V.A.P.E**.
46
+ 2. Set the **entry point** to `worker/deno/deno-entry.ts`.
47
+ 3. Add the environment variables above in the project's settings.
48
+ 4. Deploy. Deno assigns a working `https://<project>.deno.dev` URL immediately — no manual subdomain registration step. If you ever change the project name/URL, update `docs/assets/app.js`'s and `docs/assets/profile.js`'s `WORKER_BASE` constant to match.
49
 
50
+ Every push to `main` that touches `worker/**` auto-deploys via Deno Deploy's own GitHub integration — no workflow file, no token, nothing in this repo's CI drives it. `.github/workflows/worker-typecheck.yml` only runs `deno check` on PRs/pushes to catch type errors before merge; it never deploys anything.
51
 
52
+ ### Why Deno Deploy, not Cloudflare
53
 
54
+ This started on Cloudflare Workers, and `src/index.ts` still reads like Workers code because the actual application logic has zero Cloudflare-specific dependencies — it's a plain Hono `app`, and `deno-entry.ts` just feeds it the same `Env` shape via `Deno.env.get(...)` instead of a Workers binding (Hono's documented pattern for any non-Workers runtime).
 
 
 
55
 
56
+ The move happened because one real Cloudflare account hit a subdomain-registration bug that never got resolved: `workers.dev` registration silently never completed (the per-Worker URL stayed `*-null` even with the toggle on, `/workers/onboarding` 404'd, and three separate deploy paths — Wrangler, Cloudflare's own Git integration, and its "Create Application" wizard — all failed identically). Deno Deploy assigns a working `*.deno.dev` URL automatically on first deploy, with no equivalent manual step, so this repo now runs there instead. There's no remaining Cloudflare dependency anywhere in this project — no `wrangler.toml`, no Cloudflare secrets, no Cloudflare Workers Builds Git integration should be connected to this repo (disconnect it from the Cloudflare dashboard if it still shows up posting build-status comments on PRs).
 
 
 
 
 
57
 
58
+ `deno/deno.json` (its own directory, deliberately **not** next to `package.json`) holds the import map aliasing the same npm packages `worker/package.json` uses — `hono`, `@x402/hono`, `@x402/core`, `@x402/evm`, `@x402/extensions`, `jose` — to their `npm:` specifiers Deno resolves natively, plus `"nodeModulesDir": "none"`. Both matter: a `deno.json` sitting next to a `package.json` makes Deno auto-detect a Node "workspace" and try to resolve *every* dependency in `package.json` — including devDependencies Deno never imports — which failed in an actual Deno Deploy build with an unrelated npm version-resolution error before this was separated out. Similarly, the entry point must be `worker/deno/deno-entry.ts`, not a copy sitting next to `package.json` — Deno Deploy's remote build runs `npm install` first and switches to strict "bring your own node_modules" resolution when it sees a sibling `package.json`, which doesn't consult the import map for scoped-package subpaths the way `deno check`/`deno run` do locally.
 
 
 
 
 
 
59
 
60
  ## Base mainnet + Coinbase Developer Platform
61
 
62
+ This runs against **Base mainnet** (`eip155:8453`) and CDP's hosted facilitator (`https://api.cdp.coinbase.com/platform/v2/x402`) — real funds move through this. The pay → verify → settle loop was proven first against Base Sepolia + the free public `facilitator.x402.org` facilitator before this switch (see git history on `src/index.ts` for the testnet config if you need to reproduce that).
63
 
64
  To actually settle payments you need a [CDP Secret API Key](https://portal.cdp.coinbase.com) (`CDP_API_KEY_ID` / `CDP_API_KEY_SECRET` above) — `src/lib/cdpAuth.ts` mints a Bearer JWT from it for every `/verify`, `/settle`, and `/supported` call to the facilitator (`src/index.ts`'s `buildCreateAuthHeaders()`). Without both secrets set, those calls go out unauthenticated and the facilitator returns 401.
65
 
 
73
 
74
  ## `/scan/bounty_deep_dive` — the 24h-SLA premium offering ($50)
75
 
76
+ Unlike every other `/scan/*` route (synchronous — pay, get a JSON result, done in well under a second), this one genuinely can't complete inside a single request: the real work (`agents/deep_dive_audit.py` — recon + Slither + a frontier-model line-by-line source review) takes minutes, not milliseconds. So the route:
77
 
78
  1. Gates payment exactly like the other 6 (x402, same middleware).
79
  2. On settlement, calls `src/lib/githubDispatch.ts`'s `dispatchDeepDiveAudit()` — a `workflow_dispatch` REST call to `.github/workflows/deep-dive-bounty.yml`, passing `address`/`chain`/an optional `callback_url`.
80
  3. Returns immediately with `{"status": "accepted", ...}` and where the report will land (`intel/audits/poc-reports/`) — never a synchronous result.
81
 
82
+ Needs `GH_DISPATCH_TOKEN` (a fine-grained PAT scoped to this repo, `Actions: write` + `Contents: read` — Deno Deploy has no equivalent of a CI-injected token). Without it, the route still gates and settles payment correctly but returns a `503` after settlement telling the buyer to use ACP instead — set this variable before advertising the x402 path for this offering. The ACP path (`scripts/acp-monitor/HANDLER_BRIEF.md`) doesn't need it — the host-side reasoning handler just runs `agents/deep_dive_audit.py` directly.
83
 
84
  ## Free reliability + pricing endpoints
85
 
 
91
  - `GET /prices?addresses=0x…,0x…` — current USD price + 24h change for a batch of Base contract addresses, proxying CoinGecko with `COINGECKO_API_KEY` attached for better rate-limit headroom than the fully anonymous public tier (which the site's client-side JS falls back to directly if this route isn't available).
92
  - `GET /cost-basis?address=0x…` — estimated cost-basis P&L per token (see `src/lib/costBasis.ts` for exactly what it computes — a single first-acquisition price point per token via Alchemy transfer history + CoinGecko's historical-price-by-contract endpoint, not full weighted-average accounting). Needs **both** `ALCHEMY_API_KEY` and `COINGECKO_API_KEY` — the historical-price endpoint specifically requires a CoinGecko key even on their free Demo tier (confirmed by testing it unauthenticated and getting rejected), unlike `/prices`' current-price lookup which works either way.
93
 
94
+ `/portfolio`, `/nfts`, and `/network-status` are cached at the edge for 20–60s (Deno's `caches.open()` Web Cache API, via Hono's built-in `cache` middleware) — Alchemy usage is metered, and `/network-status` in particular is identical for every visitor at a given moment, so this absorbs repeat requests instead of burning a fresh Alchemy call each time. Error responses (400/502/503) are never cached.
95
+
96
  Alchemy-backed routes need `ALCHEMY_API_KEY` (a free-tier [Alchemy](https://dashboard.alchemy.com) app scoped to Base Mainnet); CoinGecko-backed routes need `COINGECKO_API_KEY` (a free [CoinGecko Demo API key](https://www.coingecko.com/en/api) — signup required, no payment). Every route here returns `503` if its required key(s) aren't set — the site (`docs/assets/app.js`/`profile.js`) treats that as "not deployed/configured yet" and transparently falls back to its direct public-API path (except `/cost-basis`, which has no keyless equivalent and just shows as unavailable), so the site works with or without this worker running.
97
 
98
  ## CI
99
 
100
+ `.github/workflows/worker-typecheck.yml` runs `deno check` against `worker/deno/deno-entry.ts` on every push/PR touching `worker/**` — no secrets, no `npm ci`, nothing to skip. It only catches type errors; it never deploys. Deployment is entirely Deno Deploy's own GitHub integration (see "Deploy" above).
101
 
102
  ## Keeping scan logic in sync
103
 
worker/deno/deno-entry.ts CHANGED
@@ -1,9 +1,11 @@
1
  /**
2
- * Deno Deploy entry point — same Hono `app` (src/index.ts) as the Cloudflare
3
- * Worker, just fed its `Env` via Deno.env instead of a Workers binding.
4
- * Deno assigns a public *.deno.dev URL automatically on deploy, with no
5
- * manual subdomain registration step (unlike the Cloudflare account issue
6
- * this was built to route around).
 
 
7
  */
8
  import app, { type Env } from "../src/index.ts";
9
 
 
1
  /**
2
+ * Deno Deploy entry point — this repo's only worker deployment target.
3
+ * `src/index.ts`'s Hono `app` was originally written for Cloudflare Workers
4
+ * and still reads that way (fed its `Env` here via Deno.env instead of a
5
+ * Workers binding) because it has zero Cloudflare-specific code either way;
6
+ * see worker/README.md's "Why Deno Deploy, not Cloudflare" for why this
7
+ * repo moved off Cloudflare entirely. Deno assigns a public *.deno.dev URL
8
+ * automatically on deploy, with no manual subdomain registration step.
9
  */
10
  import app, { type Env } from "../src/index.ts";
11
 
worker/deno/deno.lock CHANGED
@@ -3,6 +3,7 @@
3
  "specifiers": {
4
  "npm:@x402/core@2.17.0": "2.17.0",
5
  "npm:@x402/evm@2.17.0": "2.17.0",
 
6
  "npm:@x402/hono@2.17.0": "2.17.0_hono@4.12.27",
7
  "npm:hono@4.12.27": "4.12.27",
8
  "npm:jose@6.2.3": "6.2.3"
@@ -185,6 +186,7 @@
185
  "dependencies": [
186
  "npm:@x402/core@2.17.0",
187
  "npm:@x402/evm@2.17.0",
 
188
  "npm:@x402/hono@2.17.0",
189
  "npm:hono@4.12.27",
190
  "npm:jose@6.2.3"
 
3
  "specifiers": {
4
  "npm:@x402/core@2.17.0": "2.17.0",
5
  "npm:@x402/evm@2.17.0": "2.17.0",
6
+ "npm:@x402/extensions@2.17.0": "2.17.0",
7
  "npm:@x402/hono@2.17.0": "2.17.0_hono@4.12.27",
8
  "npm:hono@4.12.27": "4.12.27",
9
  "npm:jose@6.2.3": "6.2.3"
 
186
  "dependencies": [
187
  "npm:@x402/core@2.17.0",
188
  "npm:@x402/evm@2.17.0",
189
+ "npm:@x402/extensions@2.17.0",
190
  "npm:@x402/hono@2.17.0",
191
  "npm:hono@4.12.27",
192
  "npm:jose@6.2.3"
worker/package-lock.json CHANGED
@@ -16,10 +16,8 @@
16
  "jose": "^6.2.3"
17
  },
18
  "devDependencies": {
19
- "@cloudflare/workers-types": "4.20260702.1",
20
  "tsx": "4.23.0",
21
- "typescript": "6.0.3",
22
- "wrangler": "4.107.0"
23
  }
24
  },
25
  "node_modules/@adraffy/ens-normalize": {
@@ -28,148 +26,6 @@
28
  "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
29
  "license": "MIT"
30
  },
31
- "node_modules/@cloudflare/kv-asset-handler": {
32
- "version": "0.5.0",
33
- "resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.5.0.tgz",
34
- "integrity": "sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg==",
35
- "dev": true,
36
- "license": "MIT OR Apache-2.0",
37
- "engines": {
38
- "node": ">=22.0.0"
39
- }
40
- },
41
- "node_modules/@cloudflare/unenv-preset": {
42
- "version": "2.16.1",
43
- "resolved": "https://registry.npmjs.org/@cloudflare/unenv-preset/-/unenv-preset-2.16.1.tgz",
44
- "integrity": "sha512-ECxObrMfyTl5bhQf/lZCXwo5G6xX9IAUo+nDMKK4SZ8m4Jvvxp52vilxyySSWh2YTZz8+HQ07qGH/2rEom1vDw==",
45
- "dev": true,
46
- "license": "MIT OR Apache-2.0",
47
- "peerDependencies": {
48
- "unenv": "2.0.0-rc.24",
49
- "workerd": ">1.20260305.0 <2.0.0-0"
50
- },
51
- "peerDependenciesMeta": {
52
- "workerd": {
53
- "optional": true
54
- }
55
- }
56
- },
57
- "node_modules/@cloudflare/workerd-darwin-64": {
58
- "version": "1.20260701.1",
59
- "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20260701.1.tgz",
60
- "integrity": "sha512-Zd9Y1bah6DwwBN2RW8vJohffQrIUazb8UXnqSNecOxM+jJLhUuvv5IOG8dbHcV83TyZAubea6gsQXo2yH1lDdw==",
61
- "cpu": [
62
- "x64"
63
- ],
64
- "dev": true,
65
- "license": "Apache-2.0",
66
- "optional": true,
67
- "os": [
68
- "darwin"
69
- ],
70
- "engines": {
71
- "node": ">=16"
72
- }
73
- },
74
- "node_modules/@cloudflare/workerd-darwin-arm64": {
75
- "version": "1.20260701.1",
76
- "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20260701.1.tgz",
77
- "integrity": "sha512-yBLsjS1qCWqFyCY37qRUrYfzHHvMGvjh8zRKJ6MvUivYDhkZTzqduppK38FoqYvayLJ5KbcxH7zo5rkxGqbsaA==",
78
- "cpu": [
79
- "arm64"
80
- ],
81
- "dev": true,
82
- "license": "Apache-2.0",
83
- "optional": true,
84
- "os": [
85
- "darwin"
86
- ],
87
- "engines": {
88
- "node": ">=16"
89
- }
90
- },
91
- "node_modules/@cloudflare/workerd-linux-64": {
92
- "version": "1.20260701.1",
93
- "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20260701.1.tgz",
94
- "integrity": "sha512-vMfqSIMfoo4xmZXEuUVqLpSFS921YKjiR9q7kDXPi6Vld1PK74UHg9LZuBavT2KSyemHUCTpj9y/4JSYOEyQbQ==",
95
- "cpu": [
96
- "x64"
97
- ],
98
- "dev": true,
99
- "license": "Apache-2.0",
100
- "optional": true,
101
- "os": [
102
- "linux"
103
- ],
104
- "engines": {
105
- "node": ">=16"
106
- }
107
- },
108
- "node_modules/@cloudflare/workerd-linux-arm64": {
109
- "version": "1.20260701.1",
110
- "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20260701.1.tgz",
111
- "integrity": "sha512-HRfwbKU2pK44V2NhoM0+iH0JJSj7nQ9Wv13ifIiGYCmTtDL8/zKtEhX7kQ3D4Vy/Cpjhttl0FkfqXj1aqLDPPg==",
112
- "cpu": [
113
- "arm64"
114
- ],
115
- "dev": true,
116
- "license": "Apache-2.0",
117
- "optional": true,
118
- "os": [
119
- "linux"
120
- ],
121
- "engines": {
122
- "node": ">=16"
123
- }
124
- },
125
- "node_modules/@cloudflare/workerd-windows-64": {
126
- "version": "1.20260701.1",
127
- "resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20260701.1.tgz",
128
- "integrity": "sha512-ngxCiIN9s/fM2o1IBMD0o1/mcXrv2NJVdyznh51UH8sQuvrTrXvV2nM0Uj/qU2wMwF6prgNBcdcd7AZeZGiBQA==",
129
- "cpu": [
130
- "x64"
131
- ],
132
- "dev": true,
133
- "license": "Apache-2.0",
134
- "optional": true,
135
- "os": [
136
- "win32"
137
- ],
138
- "engines": {
139
- "node": ">=16"
140
- }
141
- },
142
- "node_modules/@cloudflare/workers-types": {
143
- "version": "4.20260702.1",
144
- "resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-4.20260702.1.tgz",
145
- "integrity": "sha512-mOhf5TUEB1m2vPrxtqoIGfz0fUC9xyxRDx5gWHy5s+OCo6dcV+g7wI1R7gYCMFohhqF/2y2xeKVwMwCJjfn/WA==",
146
- "dev": true,
147
- "license": "MIT OR Apache-2.0"
148
- },
149
- "node_modules/@cspotcode/source-map-support": {
150
- "version": "0.8.1",
151
- "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
152
- "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
153
- "dev": true,
154
- "license": "MIT",
155
- "dependencies": {
156
- "@jridgewell/trace-mapping": "0.3.9"
157
- },
158
- "engines": {
159
- "node": ">=12"
160
- }
161
- },
162
- "node_modules/@emnapi/runtime": {
163
- "version": "1.11.2",
164
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.2.tgz",
165
- "integrity": "sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==",
166
- "dev": true,
167
- "license": "MIT",
168
- "optional": true,
169
- "dependencies": {
170
- "tslib": "^2.4.0"
171
- }
172
- },
173
  "node_modules/@esbuild/aix-ppc64": {
174
  "version": "0.28.1",
175
  "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz",
@@ -476,658 +332,140 @@
476
  "node": ">=18"
477
  }
478
  },
479
- "node_modules/@esbuild/netbsd-x64": {
480
- "version": "0.28.1",
481
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz",
482
- "integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==",
483
- "cpu": [
484
- "x64"
485
- ],
486
- "dev": true,
487
- "license": "MIT",
488
- "optional": true,
489
- "os": [
490
- "netbsd"
491
- ],
492
- "engines": {
493
- "node": ">=18"
494
- }
495
- },
496
- "node_modules/@esbuild/openbsd-arm64": {
497
- "version": "0.28.1",
498
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz",
499
- "integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==",
500
- "cpu": [
501
- "arm64"
502
- ],
503
- "dev": true,
504
- "license": "MIT",
505
- "optional": true,
506
- "os": [
507
- "openbsd"
508
- ],
509
- "engines": {
510
- "node": ">=18"
511
- }
512
- },
513
- "node_modules/@esbuild/openbsd-x64": {
514
- "version": "0.28.1",
515
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz",
516
- "integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==",
517
- "cpu": [
518
- "x64"
519
- ],
520
- "dev": true,
521
- "license": "MIT",
522
- "optional": true,
523
- "os": [
524
- "openbsd"
525
- ],
526
- "engines": {
527
- "node": ">=18"
528
- }
529
- },
530
- "node_modules/@esbuild/openharmony-arm64": {
531
- "version": "0.28.1",
532
- "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz",
533
- "integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==",
534
- "cpu": [
535
- "arm64"
536
- ],
537
- "dev": true,
538
- "license": "MIT",
539
- "optional": true,
540
- "os": [
541
- "openharmony"
542
- ],
543
- "engines": {
544
- "node": ">=18"
545
- }
546
- },
547
- "node_modules/@esbuild/sunos-x64": {
548
- "version": "0.28.1",
549
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz",
550
- "integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==",
551
- "cpu": [
552
- "x64"
553
- ],
554
- "dev": true,
555
- "license": "MIT",
556
- "optional": true,
557
- "os": [
558
- "sunos"
559
- ],
560
- "engines": {
561
- "node": ">=18"
562
- }
563
- },
564
- "node_modules/@esbuild/win32-arm64": {
565
- "version": "0.28.1",
566
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz",
567
- "integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==",
568
- "cpu": [
569
- "arm64"
570
- ],
571
- "dev": true,
572
- "license": "MIT",
573
- "optional": true,
574
- "os": [
575
- "win32"
576
- ],
577
- "engines": {
578
- "node": ">=18"
579
- }
580
- },
581
- "node_modules/@esbuild/win32-ia32": {
582
- "version": "0.28.1",
583
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz",
584
- "integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==",
585
- "cpu": [
586
- "ia32"
587
- ],
588
- "dev": true,
589
- "license": "MIT",
590
- "optional": true,
591
- "os": [
592
- "win32"
593
- ],
594
- "engines": {
595
- "node": ">=18"
596
- }
597
- },
598
- "node_modules/@esbuild/win32-x64": {
599
- "version": "0.28.1",
600
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz",
601
- "integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==",
602
- "cpu": [
603
- "x64"
604
- ],
605
- "dev": true,
606
- "license": "MIT",
607
- "optional": true,
608
- "os": [
609
- "win32"
610
- ],
611
- "engines": {
612
- "node": ">=18"
613
- }
614
- },
615
- "node_modules/@img/colour": {
616
- "version": "1.1.0",
617
- "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
618
- "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",
619
- "dev": true,
620
- "license": "MIT",
621
- "engines": {
622
- "node": ">=18"
623
- }
624
- },
625
- "node_modules/@img/sharp-darwin-arm64": {
626
- "version": "0.34.5",
627
- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz",
628
- "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==",
629
- "cpu": [
630
- "arm64"
631
- ],
632
- "dev": true,
633
- "license": "Apache-2.0",
634
- "optional": true,
635
- "os": [
636
- "darwin"
637
- ],
638
- "engines": {
639
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
640
- },
641
- "funding": {
642
- "url": "https://opencollective.com/libvips"
643
- },
644
- "optionalDependencies": {
645
- "@img/sharp-libvips-darwin-arm64": "1.2.4"
646
- }
647
- },
648
- "node_modules/@img/sharp-darwin-x64": {
649
- "version": "0.34.5",
650
- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz",
651
- "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==",
652
- "cpu": [
653
- "x64"
654
- ],
655
- "dev": true,
656
- "license": "Apache-2.0",
657
- "optional": true,
658
- "os": [
659
- "darwin"
660
- ],
661
- "engines": {
662
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
663
- },
664
- "funding": {
665
- "url": "https://opencollective.com/libvips"
666
- },
667
- "optionalDependencies": {
668
- "@img/sharp-libvips-darwin-x64": "1.2.4"
669
- }
670
- },
671
- "node_modules/@img/sharp-libvips-darwin-arm64": {
672
- "version": "1.2.4",
673
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz",
674
- "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==",
675
- "cpu": [
676
- "arm64"
677
- ],
678
- "dev": true,
679
- "license": "LGPL-3.0-or-later",
680
- "optional": true,
681
- "os": [
682
- "darwin"
683
- ],
684
- "funding": {
685
- "url": "https://opencollective.com/libvips"
686
- }
687
- },
688
- "node_modules/@img/sharp-libvips-darwin-x64": {
689
- "version": "1.2.4",
690
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz",
691
- "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==",
692
- "cpu": [
693
- "x64"
694
- ],
695
- "dev": true,
696
- "license": "LGPL-3.0-or-later",
697
- "optional": true,
698
- "os": [
699
- "darwin"
700
- ],
701
- "funding": {
702
- "url": "https://opencollective.com/libvips"
703
- }
704
- },
705
- "node_modules/@img/sharp-libvips-linux-arm": {
706
- "version": "1.2.4",
707
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz",
708
- "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==",
709
- "cpu": [
710
- "arm"
711
- ],
712
- "dev": true,
713
- "license": "LGPL-3.0-or-later",
714
- "optional": true,
715
- "os": [
716
- "linux"
717
- ],
718
- "funding": {
719
- "url": "https://opencollective.com/libvips"
720
- }
721
- },
722
- "node_modules/@img/sharp-libvips-linux-arm64": {
723
- "version": "1.2.4",
724
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz",
725
- "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==",
726
- "cpu": [
727
- "arm64"
728
- ],
729
- "dev": true,
730
- "license": "LGPL-3.0-or-later",
731
- "optional": true,
732
- "os": [
733
- "linux"
734
- ],
735
- "funding": {
736
- "url": "https://opencollective.com/libvips"
737
- }
738
- },
739
- "node_modules/@img/sharp-libvips-linux-ppc64": {
740
- "version": "1.2.4",
741
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz",
742
- "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==",
743
- "cpu": [
744
- "ppc64"
745
- ],
746
- "dev": true,
747
- "license": "LGPL-3.0-or-later",
748
- "optional": true,
749
- "os": [
750
- "linux"
751
- ],
752
- "funding": {
753
- "url": "https://opencollective.com/libvips"
754
- }
755
- },
756
- "node_modules/@img/sharp-libvips-linux-riscv64": {
757
- "version": "1.2.4",
758
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz",
759
- "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==",
760
- "cpu": [
761
- "riscv64"
762
- ],
763
- "dev": true,
764
- "license": "LGPL-3.0-or-later",
765
- "optional": true,
766
- "os": [
767
- "linux"
768
- ],
769
- "funding": {
770
- "url": "https://opencollective.com/libvips"
771
- }
772
- },
773
- "node_modules/@img/sharp-libvips-linux-s390x": {
774
- "version": "1.2.4",
775
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz",
776
- "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==",
777
- "cpu": [
778
- "s390x"
779
- ],
780
- "dev": true,
781
- "license": "LGPL-3.0-or-later",
782
- "optional": true,
783
- "os": [
784
- "linux"
785
- ],
786
- "funding": {
787
- "url": "https://opencollective.com/libvips"
788
- }
789
- },
790
- "node_modules/@img/sharp-libvips-linux-x64": {
791
- "version": "1.2.4",
792
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz",
793
- "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==",
794
- "cpu": [
795
- "x64"
796
- ],
797
- "dev": true,
798
- "license": "LGPL-3.0-or-later",
799
- "optional": true,
800
- "os": [
801
- "linux"
802
- ],
803
- "funding": {
804
- "url": "https://opencollective.com/libvips"
805
- }
806
- },
807
- "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
808
- "version": "1.2.4",
809
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz",
810
- "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==",
811
- "cpu": [
812
- "arm64"
813
- ],
814
- "dev": true,
815
- "license": "LGPL-3.0-or-later",
816
- "optional": true,
817
- "os": [
818
- "linux"
819
- ],
820
- "funding": {
821
- "url": "https://opencollective.com/libvips"
822
- }
823
- },
824
- "node_modules/@img/sharp-libvips-linuxmusl-x64": {
825
- "version": "1.2.4",
826
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz",
827
- "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==",
828
- "cpu": [
829
- "x64"
830
- ],
831
- "dev": true,
832
- "license": "LGPL-3.0-or-later",
833
- "optional": true,
834
- "os": [
835
- "linux"
836
- ],
837
- "funding": {
838
- "url": "https://opencollective.com/libvips"
839
- }
840
- },
841
- "node_modules/@img/sharp-linux-arm": {
842
- "version": "0.34.5",
843
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz",
844
- "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==",
845
- "cpu": [
846
- "arm"
847
- ],
848
- "dev": true,
849
- "license": "Apache-2.0",
850
- "optional": true,
851
- "os": [
852
- "linux"
853
- ],
854
- "engines": {
855
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
856
- },
857
- "funding": {
858
- "url": "https://opencollective.com/libvips"
859
- },
860
- "optionalDependencies": {
861
- "@img/sharp-libvips-linux-arm": "1.2.4"
862
- }
863
- },
864
- "node_modules/@img/sharp-linux-arm64": {
865
- "version": "0.34.5",
866
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz",
867
- "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==",
868
- "cpu": [
869
- "arm64"
870
- ],
871
- "dev": true,
872
- "license": "Apache-2.0",
873
- "optional": true,
874
- "os": [
875
- "linux"
876
- ],
877
- "engines": {
878
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
879
- },
880
- "funding": {
881
- "url": "https://opencollective.com/libvips"
882
- },
883
- "optionalDependencies": {
884
- "@img/sharp-libvips-linux-arm64": "1.2.4"
885
- }
886
- },
887
- "node_modules/@img/sharp-linux-ppc64": {
888
- "version": "0.34.5",
889
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz",
890
- "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==",
891
- "cpu": [
892
- "ppc64"
893
- ],
894
- "dev": true,
895
- "license": "Apache-2.0",
896
- "optional": true,
897
- "os": [
898
- "linux"
899
- ],
900
- "engines": {
901
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
902
- },
903
- "funding": {
904
- "url": "https://opencollective.com/libvips"
905
- },
906
- "optionalDependencies": {
907
- "@img/sharp-libvips-linux-ppc64": "1.2.4"
908
- }
909
- },
910
- "node_modules/@img/sharp-linux-riscv64": {
911
- "version": "0.34.5",
912
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz",
913
- "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==",
914
  "cpu": [
915
- "riscv64"
916
  ],
917
  "dev": true,
918
- "license": "Apache-2.0",
919
  "optional": true,
920
  "os": [
921
- "linux"
922
  ],
923
  "engines": {
924
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
925
- },
926
- "funding": {
927
- "url": "https://opencollective.com/libvips"
928
- },
929
- "optionalDependencies": {
930
- "@img/sharp-libvips-linux-riscv64": "1.2.4"
931
  }
932
  },
933
- "node_modules/@img/sharp-linux-s390x": {
934
- "version": "0.34.5",
935
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz",
936
- "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==",
937
  "cpu": [
938
- "s390x"
939
  ],
940
  "dev": true,
941
- "license": "Apache-2.0",
942
  "optional": true,
943
  "os": [
944
- "linux"
945
  ],
946
  "engines": {
947
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
948
- },
949
- "funding": {
950
- "url": "https://opencollective.com/libvips"
951
- },
952
- "optionalDependencies": {
953
- "@img/sharp-libvips-linux-s390x": "1.2.4"
954
  }
955
  },
956
- "node_modules/@img/sharp-linux-x64": {
957
- "version": "0.34.5",
958
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz",
959
- "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==",
960
  "cpu": [
961
  "x64"
962
  ],
963
  "dev": true,
964
- "license": "Apache-2.0",
965
  "optional": true,
966
  "os": [
967
- "linux"
968
  ],
969
  "engines": {
970
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
971
- },
972
- "funding": {
973
- "url": "https://opencollective.com/libvips"
974
- },
975
- "optionalDependencies": {
976
- "@img/sharp-libvips-linux-x64": "1.2.4"
977
  }
978
  },
979
- "node_modules/@img/sharp-linuxmusl-arm64": {
980
- "version": "0.34.5",
981
- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz",
982
- "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==",
983
  "cpu": [
984
  "arm64"
985
  ],
986
  "dev": true,
987
- "license": "Apache-2.0",
988
  "optional": true,
989
  "os": [
990
- "linux"
991
  ],
992
  "engines": {
993
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
994
- },
995
- "funding": {
996
- "url": "https://opencollective.com/libvips"
997
- },
998
- "optionalDependencies": {
999
- "@img/sharp-libvips-linuxmusl-arm64": "1.2.4"
1000
  }
1001
  },
1002
- "node_modules/@img/sharp-linuxmusl-x64": {
1003
- "version": "0.34.5",
1004
- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz",
1005
- "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==",
1006
  "cpu": [
1007
  "x64"
1008
  ],
1009
  "dev": true,
1010
- "license": "Apache-2.0",
1011
  "optional": true,
1012
  "os": [
1013
- "linux"
1014
- ],
1015
- "engines": {
1016
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
1017
- },
1018
- "funding": {
1019
- "url": "https://opencollective.com/libvips"
1020
- },
1021
- "optionalDependencies": {
1022
- "@img/sharp-libvips-linuxmusl-x64": "1.2.4"
1023
- }
1024
- },
1025
- "node_modules/@img/sharp-wasm32": {
1026
- "version": "0.34.5",
1027
- "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz",
1028
- "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==",
1029
- "cpu": [
1030
- "wasm32"
1031
  ],
1032
- "dev": true,
1033
- "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",
1034
- "optional": true,
1035
- "dependencies": {
1036
- "@emnapi/runtime": "^1.7.0"
1037
- },
1038
  "engines": {
1039
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
1040
- },
1041
- "funding": {
1042
- "url": "https://opencollective.com/libvips"
1043
  }
1044
  },
1045
- "node_modules/@img/sharp-win32-arm64": {
1046
- "version": "0.34.5",
1047
- "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz",
1048
- "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==",
1049
  "cpu": [
1050
  "arm64"
1051
  ],
1052
  "dev": true,
1053
- "license": "Apache-2.0 AND LGPL-3.0-or-later",
1054
  "optional": true,
1055
  "os": [
1056
  "win32"
1057
  ],
1058
  "engines": {
1059
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
1060
- },
1061
- "funding": {
1062
- "url": "https://opencollective.com/libvips"
1063
  }
1064
  },
1065
- "node_modules/@img/sharp-win32-ia32": {
1066
- "version": "0.34.5",
1067
- "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz",
1068
- "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==",
1069
  "cpu": [
1070
  "ia32"
1071
  ],
1072
  "dev": true,
1073
- "license": "Apache-2.0 AND LGPL-3.0-or-later",
1074
  "optional": true,
1075
  "os": [
1076
  "win32"
1077
  ],
1078
  "engines": {
1079
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
1080
- },
1081
- "funding": {
1082
- "url": "https://opencollective.com/libvips"
1083
  }
1084
  },
1085
- "node_modules/@img/sharp-win32-x64": {
1086
- "version": "0.34.5",
1087
- "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",
1088
- "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",
1089
  "cpu": [
1090
  "x64"
1091
  ],
1092
  "dev": true,
1093
- "license": "Apache-2.0 AND LGPL-3.0-or-later",
1094
  "optional": true,
1095
  "os": [
1096
  "win32"
1097
  ],
1098
  "engines": {
1099
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
1100
- },
1101
- "funding": {
1102
- "url": "https://opencollective.com/libvips"
1103
- }
1104
- },
1105
- "node_modules/@jridgewell/resolve-uri": {
1106
- "version": "3.1.2",
1107
- "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
1108
- "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
1109
- "dev": true,
1110
- "license": "MIT",
1111
- "engines": {
1112
- "node": ">=6.0.0"
1113
- }
1114
- },
1115
- "node_modules/@jridgewell/sourcemap-codec": {
1116
- "version": "1.5.5",
1117
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
1118
- "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
1119
- "dev": true,
1120
- "license": "MIT"
1121
- },
1122
- "node_modules/@jridgewell/trace-mapping": {
1123
- "version": "0.3.9",
1124
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
1125
- "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
1126
- "dev": true,
1127
- "license": "MIT",
1128
- "dependencies": {
1129
- "@jridgewell/resolve-uri": "^3.0.3",
1130
- "@jridgewell/sourcemap-codec": "^1.4.10"
1131
  }
1132
  },
1133
  "node_modules/@noble/ciphers": {
@@ -1169,35 +507,6 @@
1169
  "url": "https://paulmillr.com/funding/"
1170
  }
1171
  },
1172
- "node_modules/@poppinss/colors": {
1173
- "version": "4.1.6",
1174
- "resolved": "https://registry.npmjs.org/@poppinss/colors/-/colors-4.1.6.tgz",
1175
- "integrity": "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==",
1176
- "dev": true,
1177
- "license": "MIT",
1178
- "dependencies": {
1179
- "kleur": "^4.1.5"
1180
- }
1181
- },
1182
- "node_modules/@poppinss/dumper": {
1183
- "version": "0.6.5",
1184
- "resolved": "https://registry.npmjs.org/@poppinss/dumper/-/dumper-0.6.5.tgz",
1185
- "integrity": "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==",
1186
- "dev": true,
1187
- "license": "MIT",
1188
- "dependencies": {
1189
- "@poppinss/colors": "^4.1.5",
1190
- "@sindresorhus/is": "^7.0.2",
1191
- "supports-color": "^10.0.0"
1192
- }
1193
- },
1194
- "node_modules/@poppinss/exception": {
1195
- "version": "1.2.3",
1196
- "resolved": "https://registry.npmjs.org/@poppinss/exception/-/exception-1.2.3.tgz",
1197
- "integrity": "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==",
1198
- "dev": true,
1199
- "license": "MIT"
1200
- },
1201
  "node_modules/@scure/base": {
1202
  "version": "1.2.6",
1203
  "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
@@ -1265,26 +574,6 @@
1265
  "apg-js": "^4.4.0"
1266
  }
1267
  },
1268
- "node_modules/@sindresorhus/is": {
1269
- "version": "7.2.0",
1270
- "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-7.2.0.tgz",
1271
- "integrity": "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==",
1272
- "dev": true,
1273
- "license": "MIT",
1274
- "engines": {
1275
- "node": ">=18"
1276
- },
1277
- "funding": {
1278
- "url": "https://github.com/sindresorhus/is?sponsor=1"
1279
- }
1280
- },
1281
- "node_modules/@speed-highlight/core": {
1282
- "version": "1.2.17",
1283
- "resolved": "https://registry.npmjs.org/@speed-highlight/core/-/core-1.2.17.tgz",
1284
- "integrity": "sha512-Z92FwKpCtfaW1V0jTU/fh3QzYEZN8wDwrzRIBoADCJfn4mJCNcJN/XegifX7BDrQ8/h9Xh/JnbyMchL0FqXrkg==",
1285
- "dev": true,
1286
- "license": "CC0-1.0"
1287
- },
1288
  "node_modules/@x402/core": {
1289
  "version": "2.17.0",
1290
  "resolved": "https://registry.npmjs.org/@x402/core/-/core-2.17.0.tgz",
@@ -1393,47 +682,6 @@
1393
  "integrity": "sha512-fefmXFknJmtgtNEXfPwZKYkMFX4Fyeyz+fNF6JWp87biGOPslJbCBVU158zvKRZfHBKnJDy8CMM40oLFGkXT8Q==",
1394
  "license": "BSD-2-Clause"
1395
  },
1396
- "node_modules/blake3-wasm": {
1397
- "version": "2.1.5",
1398
- "resolved": "https://registry.npmjs.org/blake3-wasm/-/blake3-wasm-2.1.5.tgz",
1399
- "integrity": "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==",
1400
- "dev": true,
1401
- "license": "MIT"
1402
- },
1403
- "node_modules/cookie": {
1404
- "version": "1.1.1",
1405
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz",
1406
- "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==",
1407
- "dev": true,
1408
- "license": "MIT",
1409
- "engines": {
1410
- "node": ">=18"
1411
- },
1412
- "funding": {
1413
- "type": "opencollective",
1414
- "url": "https://opencollective.com/express"
1415
- }
1416
- },
1417
- "node_modules/detect-libc": {
1418
- "version": "2.1.2",
1419
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
1420
- "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
1421
- "dev": true,
1422
- "license": "Apache-2.0",
1423
- "engines": {
1424
- "node": ">=8"
1425
- }
1426
- },
1427
- "node_modules/error-stack-parser-es": {
1428
- "version": "1.0.5",
1429
- "resolved": "https://registry.npmjs.org/error-stack-parser-es/-/error-stack-parser-es-1.0.5.tgz",
1430
- "integrity": "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==",
1431
- "dev": true,
1432
- "license": "MIT",
1433
- "funding": {
1434
- "url": "https://github.com/sponsors/antfu"
1435
- }
1436
- },
1437
  "node_modules/esbuild": {
1438
  "version": "0.28.1",
1439
  "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz",
@@ -1558,41 +806,10 @@
1558
  "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
1559
  "license": "MIT"
1560
  },
1561
- "node_modules/kleur": {
1562
- "version": "4.1.5",
1563
- "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",
1564
- "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
1565
- "dev": true,
1566
- "license": "MIT",
1567
- "engines": {
1568
- "node": ">=6"
1569
- }
1570
- },
1571
- "node_modules/miniflare": {
1572
- "version": "4.20260701.0",
1573
- "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-4.20260701.0.tgz",
1574
- "integrity": "sha512-L6eAAi6IKtyb/7J6L+YsH2vb1yBrJWKRXI293JYDiMl70+6nncdAgigex58w6WBd+CwvdMsqOyNyGs95Op5gWQ==",
1575
- "dev": true,
1576
- "license": "MIT",
1577
- "dependencies": {
1578
- "@cspotcode/source-map-support": "0.8.1",
1579
- "sharp": "0.34.5",
1580
- "undici": "7.28.0",
1581
- "workerd": "1.20260701.1",
1582
- "ws": "8.21.0",
1583
- "youch": "4.1.0-beta.10"
1584
- },
1585
- "bin": {
1586
- "miniflare": "bootstrap.js"
1587
- },
1588
- "engines": {
1589
- "node": ">=22.0.0"
1590
- }
1591
- },
1592
  "node_modules/ox": {
1593
- "version": "0.14.29",
1594
- "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.29.tgz",
1595
- "integrity": "sha512-M5j87Ec4V99MQdRct/g09eWXW60g6zhHTUs1lr4deUtrPDnezBdCJTgKd7pxqTpSZBFveV0ALi9jMMuT1qKyNg==",
1596
  "funding": [
1597
  {
1598
  "type": "github",
@@ -1634,20 +851,6 @@
1634
  "url": "https://paulmillr.com/funding/"
1635
  }
1636
  },
1637
- "node_modules/path-to-regexp": {
1638
- "version": "6.3.0",
1639
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
1640
- "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==",
1641
- "dev": true,
1642
- "license": "MIT"
1643
- },
1644
- "node_modules/pathe": {
1645
- "version": "2.0.3",
1646
- "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
1647
- "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
1648
- "dev": true,
1649
- "license": "MIT"
1650
- },
1651
  "node_modules/require-from-string": {
1652
  "version": "2.0.2",
1653
  "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
@@ -1657,85 +860,6 @@
1657
  "node": ">=0.10.0"
1658
  }
1659
  },
1660
- "node_modules/semver": {
1661
- "version": "7.8.5",
1662
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
1663
- "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
1664
- "dev": true,
1665
- "license": "ISC",
1666
- "bin": {
1667
- "semver": "bin/semver.js"
1668
- },
1669
- "engines": {
1670
- "node": ">=10"
1671
- }
1672
- },
1673
- "node_modules/sharp": {
1674
- "version": "0.34.5",
1675
- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz",
1676
- "integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",
1677
- "dev": true,
1678
- "hasInstallScript": true,
1679
- "license": "Apache-2.0",
1680
- "dependencies": {
1681
- "@img/colour": "^1.0.0",
1682
- "detect-libc": "^2.1.2",
1683
- "semver": "^7.7.3"
1684
- },
1685
- "engines": {
1686
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
1687
- },
1688
- "funding": {
1689
- "url": "https://opencollective.com/libvips"
1690
- },
1691
- "optionalDependencies": {
1692
- "@img/sharp-darwin-arm64": "0.34.5",
1693
- "@img/sharp-darwin-x64": "0.34.5",
1694
- "@img/sharp-libvips-darwin-arm64": "1.2.4",
1695
- "@img/sharp-libvips-darwin-x64": "1.2.4",
1696
- "@img/sharp-libvips-linux-arm": "1.2.4",
1697
- "@img/sharp-libvips-linux-arm64": "1.2.4",
1698
- "@img/sharp-libvips-linux-ppc64": "1.2.4",
1699
- "@img/sharp-libvips-linux-riscv64": "1.2.4",
1700
- "@img/sharp-libvips-linux-s390x": "1.2.4",
1701
- "@img/sharp-libvips-linux-x64": "1.2.4",
1702
- "@img/sharp-libvips-linuxmusl-arm64": "1.2.4",
1703
- "@img/sharp-libvips-linuxmusl-x64": "1.2.4",
1704
- "@img/sharp-linux-arm": "0.34.5",
1705
- "@img/sharp-linux-arm64": "0.34.5",
1706
- "@img/sharp-linux-ppc64": "0.34.5",
1707
- "@img/sharp-linux-riscv64": "0.34.5",
1708
- "@img/sharp-linux-s390x": "0.34.5",
1709
- "@img/sharp-linux-x64": "0.34.5",
1710
- "@img/sharp-linuxmusl-arm64": "0.34.5",
1711
- "@img/sharp-linuxmusl-x64": "0.34.5",
1712
- "@img/sharp-wasm32": "0.34.5",
1713
- "@img/sharp-win32-arm64": "0.34.5",
1714
- "@img/sharp-win32-ia32": "0.34.5",
1715
- "@img/sharp-win32-x64": "0.34.5"
1716
- }
1717
- },
1718
- "node_modules/supports-color": {
1719
- "version": "10.2.2",
1720
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz",
1721
- "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==",
1722
- "dev": true,
1723
- "license": "MIT",
1724
- "engines": {
1725
- "node": ">=18"
1726
- },
1727
- "funding": {
1728
- "url": "https://github.com/chalk/supports-color?sponsor=1"
1729
- }
1730
- },
1731
- "node_modules/tslib": {
1732
- "version": "2.8.1",
1733
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
1734
- "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
1735
- "dev": true,
1736
- "license": "0BSD",
1737
- "optional": true
1738
- },
1739
  "node_modules/tsx": {
1740
  "version": "4.23.0",
1741
  "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.0.tgz",
@@ -1775,30 +899,10 @@
1775
  "node": ">=14.17"
1776
  }
1777
  },
1778
- "node_modules/undici": {
1779
- "version": "7.28.0",
1780
- "resolved": "https://registry.npmjs.org/undici/-/undici-7.28.0.tgz",
1781
- "integrity": "sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==",
1782
- "dev": true,
1783
- "license": "MIT",
1784
- "engines": {
1785
- "node": ">=20.18.1"
1786
- }
1787
- },
1788
- "node_modules/unenv": {
1789
- "version": "2.0.0-rc.24",
1790
- "resolved": "https://registry.npmjs.org/unenv/-/unenv-2.0.0-rc.24.tgz",
1791
- "integrity": "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==",
1792
- "dev": true,
1793
- "license": "MIT",
1794
- "dependencies": {
1795
- "pathe": "^2.0.3"
1796
- }
1797
- },
1798
  "node_modules/viem": {
1799
- "version": "2.54.2",
1800
- "resolved": "https://registry.npmjs.org/viem/-/viem-2.54.2.tgz",
1801
- "integrity": "sha512-o0+5dEAUekBMTbixXy2mKbSDPnwsCJ+8+mOeMBDjkuS9iM4fcr3yKUWb2zlOy2NKInkg3anl1W11sxYspLiXig==",
1802
  "funding": [
1803
  {
1804
  "type": "github",
@@ -1813,7 +917,7 @@
1813
  "@scure/bip39": "1.6.0",
1814
  "abitype": "1.2.3",
1815
  "isows": "1.0.7",
1816
- "ox": "0.14.29",
1817
  "ws": "8.21.0"
1818
  },
1819
  "peerDependencies": {
@@ -1840,63 +944,6 @@
1840
  "url": "https://paulmillr.com/funding/"
1841
  }
1842
  },
1843
- "node_modules/workerd": {
1844
- "version": "1.20260701.1",
1845
- "resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20260701.1.tgz",
1846
- "integrity": "sha512-uF813NG09JwNRRUfJ0zBomyTslSPM810dMj9LVvkQ7RAkLrQLzAlPU8Xh/3dIqZDo2bfd7tChbf2PtqLRARRJQ==",
1847
- "dev": true,
1848
- "hasInstallScript": true,
1849
- "license": "Apache-2.0",
1850
- "bin": {
1851
- "workerd": "bin/workerd"
1852
- },
1853
- "engines": {
1854
- "node": ">=16"
1855
- },
1856
- "optionalDependencies": {
1857
- "@cloudflare/workerd-darwin-64": "1.20260701.1",
1858
- "@cloudflare/workerd-darwin-arm64": "1.20260701.1",
1859
- "@cloudflare/workerd-linux-64": "1.20260701.1",
1860
- "@cloudflare/workerd-linux-arm64": "1.20260701.1",
1861
- "@cloudflare/workerd-windows-64": "1.20260701.1"
1862
- }
1863
- },
1864
- "node_modules/wrangler": {
1865
- "version": "4.107.0",
1866
- "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-4.107.0.tgz",
1867
- "integrity": "sha512-fw69ThymNitZ0oIEBU2yNeq3kK59UKz/jyA3udwRrQIAIsxX57q5qLOpPTN7qc5t8n9pnUeofe0uxtMuhQZW8w==",
1868
- "dev": true,
1869
- "license": "MIT OR Apache-2.0",
1870
- "dependencies": {
1871
- "@cloudflare/kv-asset-handler": "0.5.0",
1872
- "@cloudflare/unenv-preset": "2.16.1",
1873
- "blake3-wasm": "2.1.5",
1874
- "esbuild": "0.28.1",
1875
- "miniflare": "4.20260701.0",
1876
- "path-to-regexp": "6.3.0",
1877
- "unenv": "2.0.0-rc.24",
1878
- "workerd": "1.20260701.1"
1879
- },
1880
- "bin": {
1881
- "cf-wrangler": "bin/cf-wrangler.js",
1882
- "wrangler": "bin/wrangler.js",
1883
- "wrangler2": "bin/wrangler.js"
1884
- },
1885
- "engines": {
1886
- "node": ">=22.0.0"
1887
- },
1888
- "optionalDependencies": {
1889
- "fsevents": "2.3.3"
1890
- },
1891
- "peerDependencies": {
1892
- "@cloudflare/workers-types": "^4.20260701.1"
1893
- },
1894
- "peerDependenciesMeta": {
1895
- "@cloudflare/workers-types": {
1896
- "optional": true
1897
- }
1898
- }
1899
- },
1900
  "node_modules/ws": {
1901
  "version": "8.21.0",
1902
  "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
@@ -1918,31 +965,6 @@
1918
  }
1919
  }
1920
  },
1921
- "node_modules/youch": {
1922
- "version": "4.1.0-beta.10",
1923
- "resolved": "https://registry.npmjs.org/youch/-/youch-4.1.0-beta.10.tgz",
1924
- "integrity": "sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==",
1925
- "dev": true,
1926
- "license": "MIT",
1927
- "dependencies": {
1928
- "@poppinss/colors": "^4.1.5",
1929
- "@poppinss/dumper": "^0.6.4",
1930
- "@speed-highlight/core": "^1.2.7",
1931
- "cookie": "^1.0.2",
1932
- "youch-core": "^0.3.3"
1933
- }
1934
- },
1935
- "node_modules/youch-core": {
1936
- "version": "0.3.3",
1937
- "resolved": "https://registry.npmjs.org/youch-core/-/youch-core-0.3.3.tgz",
1938
- "integrity": "sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==",
1939
- "dev": true,
1940
- "license": "MIT",
1941
- "dependencies": {
1942
- "@poppinss/exception": "^1.2.2",
1943
- "error-stack-parser-es": "^1.0.5"
1944
- }
1945
- },
1946
  "node_modules/zod": {
1947
  "version": "3.25.76",
1948
  "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
 
16
  "jose": "^6.2.3"
17
  },
18
  "devDependencies": {
 
19
  "tsx": "4.23.0",
20
+ "typescript": "6.0.3"
 
21
  }
22
  },
23
  "node_modules/@adraffy/ens-normalize": {
 
26
  "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
27
  "license": "MIT"
28
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  "node_modules/@esbuild/aix-ppc64": {
30
  "version": "0.28.1",
31
  "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz",
 
332
  "node": ">=18"
333
  }
334
  },
335
+ "node_modules/@esbuild/netbsd-x64": {
336
+ "version": "0.28.1",
337
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz",
338
+ "integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
339
  "cpu": [
340
+ "x64"
341
  ],
342
  "dev": true,
343
+ "license": "MIT",
344
  "optional": true,
345
  "os": [
346
+ "netbsd"
347
  ],
348
  "engines": {
349
+ "node": ">=18"
 
 
 
 
 
 
350
  }
351
  },
352
+ "node_modules/@esbuild/openbsd-arm64": {
353
+ "version": "0.28.1",
354
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz",
355
+ "integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==",
356
  "cpu": [
357
+ "arm64"
358
  ],
359
  "dev": true,
360
+ "license": "MIT",
361
  "optional": true,
362
  "os": [
363
+ "openbsd"
364
  ],
365
  "engines": {
366
+ "node": ">=18"
 
 
 
 
 
 
367
  }
368
  },
369
+ "node_modules/@esbuild/openbsd-x64": {
370
+ "version": "0.28.1",
371
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz",
372
+ "integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==",
373
  "cpu": [
374
  "x64"
375
  ],
376
  "dev": true,
377
+ "license": "MIT",
378
  "optional": true,
379
  "os": [
380
+ "openbsd"
381
  ],
382
  "engines": {
383
+ "node": ">=18"
 
 
 
 
 
 
384
  }
385
  },
386
+ "node_modules/@esbuild/openharmony-arm64": {
387
+ "version": "0.28.1",
388
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz",
389
+ "integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==",
390
  "cpu": [
391
  "arm64"
392
  ],
393
  "dev": true,
394
+ "license": "MIT",
395
  "optional": true,
396
  "os": [
397
+ "openharmony"
398
  ],
399
  "engines": {
400
+ "node": ">=18"
 
 
 
 
 
 
401
  }
402
  },
403
+ "node_modules/@esbuild/sunos-x64": {
404
+ "version": "0.28.1",
405
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz",
406
+ "integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==",
407
  "cpu": [
408
  "x64"
409
  ],
410
  "dev": true,
411
+ "license": "MIT",
412
  "optional": true,
413
  "os": [
414
+ "sunos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  ],
 
 
 
 
 
 
416
  "engines": {
417
+ "node": ">=18"
 
 
 
418
  }
419
  },
420
+ "node_modules/@esbuild/win32-arm64": {
421
+ "version": "0.28.1",
422
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz",
423
+ "integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==",
424
  "cpu": [
425
  "arm64"
426
  ],
427
  "dev": true,
428
+ "license": "MIT",
429
  "optional": true,
430
  "os": [
431
  "win32"
432
  ],
433
  "engines": {
434
+ "node": ">=18"
 
 
 
435
  }
436
  },
437
+ "node_modules/@esbuild/win32-ia32": {
438
+ "version": "0.28.1",
439
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz",
440
+ "integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==",
441
  "cpu": [
442
  "ia32"
443
  ],
444
  "dev": true,
445
+ "license": "MIT",
446
  "optional": true,
447
  "os": [
448
  "win32"
449
  ],
450
  "engines": {
451
+ "node": ">=18"
 
 
 
452
  }
453
  },
454
+ "node_modules/@esbuild/win32-x64": {
455
+ "version": "0.28.1",
456
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz",
457
+ "integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==",
458
  "cpu": [
459
  "x64"
460
  ],
461
  "dev": true,
462
+ "license": "MIT",
463
  "optional": true,
464
  "os": [
465
  "win32"
466
  ],
467
  "engines": {
468
+ "node": ">=18"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
469
  }
470
  },
471
  "node_modules/@noble/ciphers": {
 
507
  "url": "https://paulmillr.com/funding/"
508
  }
509
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
510
  "node_modules/@scure/base": {
511
  "version": "1.2.6",
512
  "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
 
574
  "apg-js": "^4.4.0"
575
  }
576
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
577
  "node_modules/@x402/core": {
578
  "version": "2.17.0",
579
  "resolved": "https://registry.npmjs.org/@x402/core/-/core-2.17.0.tgz",
 
682
  "integrity": "sha512-fefmXFknJmtgtNEXfPwZKYkMFX4Fyeyz+fNF6JWp87biGOPslJbCBVU158zvKRZfHBKnJDy8CMM40oLFGkXT8Q==",
683
  "license": "BSD-2-Clause"
684
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
685
  "node_modules/esbuild": {
686
  "version": "0.28.1",
687
  "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz",
 
806
  "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
807
  "license": "MIT"
808
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
809
  "node_modules/ox": {
810
+ "version": "0.14.30",
811
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.30.tgz",
812
+ "integrity": "sha512-LI11uu+8iiM1B3CLckgd++YF1a0A2k5wDoM9ZeQMiL21BOzQs6L//BLS6hb1HSEKCyycdDIQLsVQx9MjpcC0hA==",
813
  "funding": [
814
  {
815
  "type": "github",
 
851
  "url": "https://paulmillr.com/funding/"
852
  }
853
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
854
  "node_modules/require-from-string": {
855
  "version": "2.0.2",
856
  "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
 
860
  "node": ">=0.10.0"
861
  }
862
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
  "node_modules/tsx": {
864
  "version": "4.23.0",
865
  "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.0.tgz",
 
899
  "node": ">=14.17"
900
  }
901
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
902
  "node_modules/viem": {
903
+ "version": "2.54.3",
904
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.54.3.tgz",
905
+ "integrity": "sha512-hHXV/MLeGx+A/kHwEejf4TBSmpq2rtpxR3qMH21+BL62CQBLfCoMxQ0RV3V3QLQ1mKC/sAFEci1u83JEq1TQ6g==",
906
  "funding": [
907
  {
908
  "type": "github",
 
917
  "@scure/bip39": "1.6.0",
918
  "abitype": "1.2.3",
919
  "isows": "1.0.7",
920
+ "ox": "0.14.30",
921
  "ws": "8.21.0"
922
  },
923
  "peerDependencies": {
 
944
  "url": "https://paulmillr.com/funding/"
945
  }
946
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
947
  "node_modules/ws": {
948
  "version": "8.21.0",
949
  "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
 
965
  }
966
  }
967
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
968
  "node_modules/zod": {
969
  "version": "3.25.76",
970
  "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
worker/package.json CHANGED
@@ -5,8 +5,7 @@
5
  "type": "module",
6
  "description": "x402 payment gate for VAPE's 6 automatable ACP offerings (see docs/ACP_PROTOCOL.md).",
7
  "scripts": {
8
- "dev": "wrangler dev",
9
- "deploy": "wrangler deploy",
10
  "typecheck": "tsc --noEmit"
11
  },
12
  "dependencies": {
@@ -18,9 +17,7 @@
18
  "jose": "^6.2.3"
19
  },
20
  "devDependencies": {
21
- "@cloudflare/workers-types": "4.20260702.1",
22
  "tsx": "4.23.0",
23
- "typescript": "6.0.3",
24
- "wrangler": "4.107.0"
25
  }
26
  }
 
5
  "type": "module",
6
  "description": "x402 payment gate for VAPE's 6 automatable ACP offerings (see docs/ACP_PROTOCOL.md).",
7
  "scripts": {
8
+ "dev": "cd deno && deno task start",
 
9
  "typecheck": "tsc --noEmit"
10
  },
11
  "dependencies": {
 
17
  "jose": "^6.2.3"
18
  },
19
  "devDependencies": {
 
20
  "tsx": "4.23.0",
21
+ "typescript": "6.0.3"
 
22
  }
23
  }
worker/src/index.ts CHANGED
@@ -7,9 +7,9 @@
7
  * site's wallet profile and metrics strip prefer over direct public-RPC
8
  * calls when this worker is deployed and configured.
9
  *
10
- * Runs on Base mainnet + Coinbase Developer Platform's hosted x402
11
- * facilitator (real funds) — see wrangler.toml for the network/facilitator
12
- * config and required secrets.
13
  */
14
  import { Hono } from "hono";
15
  import { cors } from "hono/cors";
@@ -48,7 +48,7 @@ const ADDRESS_RE = /^0x[a-fA-F0-9]{40}$/;
48
  * Builds the facilitator's `createAuthHeaders` callback. Only CDP's hosted
49
  * facilitator (api.cdp.coinbase.com) needs Bearer JWT auth; the public
50
  * testnet facilitator (facilitator.x402.org) needs none, so this is a no-op
51
- * unless both CDP secrets are configured (`wrangler secret put`).
52
  *
53
  * The callback signature takes no arguments — the client picks the right
54
  * header set (verify/settle/supported) out of the returned object — so a
 
7
  * site's wallet profile and metrics strip prefer over direct public-RPC
8
  * calls when this worker is deployed and configured.
9
  *
10
+ * Runs on Deno Deploy, against Base mainnet + Coinbase Developer Platform's
11
+ * hosted x402 facilitator (real funds) — see worker/README.md for the
12
+ * network/facilitator config and required environment variables.
13
  */
14
  import { Hono } from "hono";
15
  import { cors } from "hono/cors";
 
48
  * Builds the facilitator's `createAuthHeaders` callback. Only CDP's hosted
49
  * facilitator (api.cdp.coinbase.com) needs Bearer JWT auth; the public
50
  * testnet facilitator (facilitator.x402.org) needs none, so this is a no-op
51
+ * unless both CDP secrets are configured as Deno Deploy environment variables.
52
  *
53
  * The callback signature takes no arguments — the client picks the right
54
  * header set (verify/settle/supported) out of the returned object — so a