diff options
| author | Adam Malczewski <[email protected]> | 2026-06-06 23:30:38 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-06 23:30:38 +0900 |
| commit | 812621ca2f93d2aaeda98a2d5b5ab6bc8568d596 (patch) | |
| tree | 99cebe8b2bbb46fb3f9d647ae0f5064589774e39 /packages/transport-contract | |
| parent | 395d7565b46416e9914db099b9a4c226f4c95648 (diff) | |
| download | dispatch-812621ca2f93d2aaeda98a2d5b5ab6bc8568d596.tar.gz dispatch-812621ca2f93d2aaeda98a2d5b5ab6bc8568d596.zip | |
feat(transport-http): wildcard CORS + bump contract pkgs to 0.1.0 (FE Slice 2 handoff)
Unblock the browser frontend (Vite origin :24204 -> HTTP backend :24203):
- transport-http: wildcard CORS via hono/cors on all routes
(Access-Control-Allow-Origin: *, Allow-Methods GET/POST/OPTIONS,
Allow-Headers Content-Type) + OPTIONS preflight (204). Headers present on
the streamed POST /chat NDJSON response too. +4 app.fetch tests.
- wire / transport-contract / ui-contract: 0.0.0 -> 0.1.0 as the FE-consumable
baseline (semver convention ยง2.9: major = cross-repo fan-out signal).
Verified live: OPTIONS /chat -> 204 with CORS headers; GET /models -> 200 with
Access-Control-Allow-Origin: *. typecheck clean, 502 vitest + 89 bun, biome clean.
Diffstat (limited to 'packages/transport-contract')
| -rw-r--r-- | packages/transport-contract/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/transport-contract/package.json b/packages/transport-contract/package.json index 03efc2b..0c097db 100644 --- a/packages/transport-contract/package.json +++ b/packages/transport-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dispatch/transport-contract", - "version": "0.0.0", + "version": "0.1.0", "type": "module", "private": true, "main": "dist/index.js", |
