@levino/pocketbase-auth@1.1.0
·
49 commits
to main
since this release
Minor Changes
-
94b33d4: Refactor to pure functions for edge runtime compatibility (Cloudflare Pages/Workers).
- Export pure functions using Web Standard APIs (Request/Response)
handleAuthRequest- all-in-one handler for auth endpointscreateAuthMiddleware- middleware that returns Response or nullverifyAuth- low-level auth verificationhandleCookieRequest- POST /api/cookie handlerhandleLogoutRequest- POST /api/logout handlergenerateLoginPageHtml/generateNotAMemberPageHtml- HTML generators
Express/Docker code moved to app.ts (not published to npm).
Onlypocketbaseis a runtime dependency.