Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Feb 14, 2025
1 parent 465496a commit f559c3e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/plenty-peas-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@clerk/clerk-js': patch
'@clerk/types': patch
---

Initialize `tasks` on `Session` resource
2 changes: 2 additions & 0 deletions packages/types/src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import type {
SessionVerificationResource,
} from './sessionVerification';
import type { SessionJSONSnapshot } from './snapshots';
import type { SessionTasks } from './tasks';
import type { TokenResource } from './token';
import type { UserResource } from './user';

Expand Down Expand Up @@ -103,6 +104,7 @@ export interface SessionResource extends ClerkResource {
lastActiveOrganizationId: string | null;
lastActiveAt: Date;
actor: ActJWTClaim | null;
tasks: SessionTasks | null;
user: UserResource | null;
publicUserData: PublicUserData;
end: () => Promise<SessionResource>;
Expand Down

0 comments on commit f559c3e

Please sign in to comment.