mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 23:53:17 -05:00
docs(changeset): clarify GitHub profile type changes
This commit is contained in:
@@ -2,6 +2,4 @@
|
||||
"@better-auth/core": minor
|
||||
---
|
||||
|
||||
Allow custom GitHub `getUserInfo` callbacks to return public or private API responses without type assertions. `GithubProfile` now uses numeric IDs and counters, nullable profile attributes, and optional account details.
|
||||
|
||||
Consumers may need to handle null or omitted fields and use `String(profile.id)` when a string ID is required.
|
||||
GitHub `getUserInfo` callbacks can now return public or private API profiles without type assertions. Existing profile mappings may need updates for numeric IDs and counters, nullable attributes, and omitted fields.
|
||||
|
||||
Reference in New Issue
Block a user