@clerk/types 4.52.0 → 4.53.0-canary.v20250410144558
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 +7 -0
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
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;
|