Proposit Logo

v0.7.0

April 21, 2026

Internal

  • @proposit/shared/api-client now exports a single createApiClient(config) factory. The server binds two named clients — apiClient (client-side, same-origin) and serverApiClient (SSR, lazy NEXTAUTH_URL + cookie forwarding) — in src/api-client-web.ts and src/api-client-ssr.ts. All 11 consumer files migrated to call methods off the bound clients (apiClient.<method>(...)). This completes the api-client extraction by introducing the factory pattern that lets web and SSR each bind their own client config. No user-visible behavior changes.