@clerk/types 4.52.0 → 4.53.0-canary.v20250410145723

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -6223,6 +6223,10 @@ type UseAuthReturn = {
6223
6223
  * The ID for the current session.
6224
6224
  */
6225
6225
  sessionId: undefined;
6226
+ /**
6227
+ * The JWT claims for the current session.
6228
+ */
6229
+ sessionClaims: undefined;
6226
6230
  /**
6227
6231
  * The JWT actor for the session. Holds identifier for the user that is impersonating the current user. Read more about [impersonation](https://clerk.com/docs/users/user-impersonation).
6228
6232
  */
@@ -6256,6 +6260,7 @@ type UseAuthReturn = {
6256
6260
  isSignedIn: false;
6257
6261
  userId: null;
6258
6262
  sessionId: null;
6263
+ sessionClaims: null;
6259
6264
  actor: null;
6260
6265
  orgId: null;
6261
6266
  orgRole: null;
@@ -6268,6 +6273,7 @@ type UseAuthReturn = {
6268
6273
  isSignedIn: true;
6269
6274
  userId: string;
6270
6275
  sessionId: string;
6276
+ sessionClaims: JwtPayload;
6271
6277
  actor: ActClaim | null;
6272
6278
  orgId: null;
6273
6279
  orgRole: null;
@@ -6280,6 +6286,7 @@ type UseAuthReturn = {
6280
6286
  isSignedIn: true;
6281
6287
  userId: string;
6282
6288
  sessionId: string;
6289
+ sessionClaims: JwtPayload;
6283
6290
  actor: ActClaim | null;
6284
6291
  orgId: string;
6285
6292
  orgRole: OrganizationCustomRoleKey;
package/dist/index.d.ts CHANGED
@@ -6223,6 +6223,10 @@ type UseAuthReturn = {
6223
6223
  * The ID for the current session.
6224
6224
  */
6225
6225
  sessionId: undefined;
6226
+ /**
6227
+ * The JWT claims for the current session.
6228
+ */
6229
+ sessionClaims: undefined;
6226
6230
  /**
6227
6231
  * The JWT actor for the session. Holds identifier for the user that is impersonating the current user. Read more about [impersonation](https://clerk.com/docs/users/user-impersonation).
6228
6232
  */
@@ -6256,6 +6260,7 @@ type UseAuthReturn = {
6256
6260
  isSignedIn: false;
6257
6261
  userId: null;
6258
6262
  sessionId: null;
6263
+ sessionClaims: null;
6259
6264
  actor: null;
6260
6265
  orgId: null;
6261
6266
  orgRole: null;
@@ -6268,6 +6273,7 @@ type UseAuthReturn = {
6268
6273
  isSignedIn: true;
6269
6274
  userId: string;
6270
6275
  sessionId: string;
6276
+ sessionClaims: JwtPayload;
6271
6277
  actor: ActClaim | null;
6272
6278
  orgId: null;
6273
6279
  orgRole: null;
@@ -6280,6 +6286,7 @@ type UseAuthReturn = {
6280
6286
  isSignedIn: true;
6281
6287
  userId: string;
6282
6288
  sessionId: string;
6289
+ sessionClaims: JwtPayload;
6283
6290
  actor: ActClaim | null;
6284
6291
  orgId: string;
6285
6292
  orgRole: OrganizationCustomRoleKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clerk/types",
3
- "version": "4.52.0",
3
+ "version": "4.53.0-canary.v20250410145723",
4
4
  "description": "Typings for Clerk libraries.",
5
5
  "keywords": [
6
6
  "clerk",