Skip to content

Commit d98727e

Browse files
manovotnyclaudenikosdouvlis
authored
feat(shared): add username to PublicUserData interface (#7838)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Nikos Douvlis <nikosdouvlis@gmail.com>
1 parent a03477e commit d98727e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/warm-doors-type.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@clerk/shared": patch
3+
---
4+
5+
Add missing `username` property to `PublicUserData` interface

packages/shared/src/types/session.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ export interface PublicUserData {
326326
hasImage: boolean;
327327
identifier: string;
328328
userId?: string;
329+
username?: string;
329330
}
330331

331332
/**

0 commit comments

Comments
 (0)