@clerk/types 4.51.0-snapshot.v20250407181413 → 4.51.0
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 +12 -0
- package/dist/index.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1640,6 +1640,8 @@ declare global {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
type JWTPayloadBase = {
|
|
1642
1642
|
/**
|
|
1643
|
+
* @experimental
|
|
1644
|
+
*
|
|
1643
1645
|
* The version of the JWT payload.
|
|
1644
1646
|
*/
|
|
1645
1647
|
ver: number | undefined;
|
|
@@ -1707,6 +1709,11 @@ type JWTPayloadBase = {
|
|
|
1707
1709
|
[propName: string]: unknown;
|
|
1708
1710
|
};
|
|
1709
1711
|
type VersionedJwtPayload = {
|
|
1712
|
+
/**
|
|
1713
|
+
* @experimental
|
|
1714
|
+
*
|
|
1715
|
+
* The version of the JWT payload.
|
|
1716
|
+
*/
|
|
1710
1717
|
ver?: never;
|
|
1711
1718
|
/**
|
|
1712
1719
|
*
|
|
@@ -1714,6 +1721,11 @@ type VersionedJwtPayload = {
|
|
|
1714
1721
|
*/
|
|
1715
1722
|
org_permissions?: OrganizationCustomPermissionKey[];
|
|
1716
1723
|
} | {
|
|
1724
|
+
/**
|
|
1725
|
+
* @experimental
|
|
1726
|
+
*
|
|
1727
|
+
* The version of the JWT payload.
|
|
1728
|
+
*/
|
|
1717
1729
|
ver: 2;
|
|
1718
1730
|
org_permissions?: never;
|
|
1719
1731
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1640,6 +1640,8 @@ declare global {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
type JWTPayloadBase = {
|
|
1642
1642
|
/**
|
|
1643
|
+
* @experimental
|
|
1644
|
+
*
|
|
1643
1645
|
* The version of the JWT payload.
|
|
1644
1646
|
*/
|
|
1645
1647
|
ver: number | undefined;
|
|
@@ -1707,6 +1709,11 @@ type JWTPayloadBase = {
|
|
|
1707
1709
|
[propName: string]: unknown;
|
|
1708
1710
|
};
|
|
1709
1711
|
type VersionedJwtPayload = {
|
|
1712
|
+
/**
|
|
1713
|
+
* @experimental
|
|
1714
|
+
*
|
|
1715
|
+
* The version of the JWT payload.
|
|
1716
|
+
*/
|
|
1710
1717
|
ver?: never;
|
|
1711
1718
|
/**
|
|
1712
1719
|
*
|
|
@@ -1714,6 +1721,11 @@ type VersionedJwtPayload = {
|
|
|
1714
1721
|
*/
|
|
1715
1722
|
org_permissions?: OrganizationCustomPermissionKey[];
|
|
1716
1723
|
} | {
|
|
1724
|
+
/**
|
|
1725
|
+
* @experimental
|
|
1726
|
+
*
|
|
1727
|
+
* The version of the JWT payload.
|
|
1728
|
+
*/
|
|
1717
1729
|
ver: 2;
|
|
1718
1730
|
org_permissions?: never;
|
|
1719
1731
|
};
|