managarten/packages/shared-auth/src/core
Till JS 28bf9e5adb fix(shared-auth): add explicit AuthServiceInterface to fix TS inference truncation
TypeScript's ReturnType<> inference truncates large object literals,
showing only ~27 of 37 methods. This caused 5 apps to skip type-check
because verifyTwoFactor, signInWithPasskey, sendMagicLink, etc. were
invisible to consumers.

Fix: Define explicit AuthServiceInterface with all 37 methods and use
it as the return type of createAuthService(). This ensures all methods
are visible regardless of object literal size.

Verified: chat/web and presi/web now pass svelte-check for auth methods.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 03:15:29 +01:00
..
authService.ts fix(shared-auth): add explicit AuthServiceInterface to fix TS inference truncation 2026-03-28 03:15:29 +01:00
jwtUtils.ts fix lint 2025-12-04 00:32:13 +01:00
tokenManager.ts feat(auth): add session expired banner when token refresh fails 2026-03-24 21:24:28 +01:00