You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rename cookie 'options' to 'attributes' for consistency
- Update BetterAuthCookie type to use 'attributes' instead of union type
- Rename all cookie.options references to cookie.attributes across codebase
- Update core cookie implementation (cookies/index.ts, session-store.ts)
- Update plugin files (multi-session, two-factor, admin, oidc-provider, mcp)
- Update state management (state.ts)
- Update external packages (expo, passkey)
- Update tests to reflect the change
This standardizes the API and avoids breaking changes by using the same
property name that createAuthCookie() returns.
Co-authored-by: Alex Yang <himself65@users.noreply.github.com>
0 commit comments