-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: create a new object for the session callback #1330
Conversation
🦋 Changeset detectedLatest commit: 46f9d58 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Running Lighthouse audit... |
do we still need this now that 4.21.1 is out? |
As mentioned by Balazs, the type is texhnically incorrect now and it is in fact DefaultSession thats passed to this callback |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
manually tested with next-auth 4.21.0
* spread new object * whoops * Create .changeset/itchy-cooks-sell.md --------- Co-authored-by: Christopher Ehrlich <[email protected]>
Ref: nextauthjs/next-auth#7132 (comment)
✅ Checklist
Changelog
[Short description of what has changed]
Screenshots
[Screenshots]
💯