Identity Overview
@caffeinebounce/identity is the package for sign-in, sign-up, recovery, MFA, and account-management flows that need a polished UI plus a documented server callback path.
Install
yarn add @caffeinebounce/identityPackage shape
- The root entrypoint is for client-safe UI and helpers.
@caffeinebounce/identity/serverexposes the callback handler and other server-safe utilities.- The package assumes a Next.js and Supabase-style integration model, but the public contract is kept at the exported component and handler level.
Public entrypoints
Root
@caffeinebounce/identity
Notable exports
AuthFormLayoutAuthFormLayoutPropsAuthHeaderAuthHeaderPropsAuthPageLayoutAuthPageLayoutPropsConsentItemDeleteAccountSectionDeleteAccountSectionPropsEmailSectionEmailSectionPropsForgotPasswordForm
Build targets
- ./dist/index.d.mts
- ./dist/index.d.ts
- ./dist/index.js
- ./dist/index.mjs
Server
@caffeinebounce/identity/server
Notable exports
AuthCallbackConfigcreateAuthCallbackHandlerGeolocationInfogenerateSecureTokengetClientIPgetGeolocationFromIPhashString
Build targets
- ./dist/server.d.mts
- ./dist/server.d.ts
- ./dist/server.js
- ./dist/server.mjs