diff --git a/.changeset/mean-jars-explode.md b/.changeset/mean-jars-explode.md new file mode 100644 index 00000000000..5ab6e31e314 --- /dev/null +++ b/.changeset/mean-jars-explode.md @@ -0,0 +1,5 @@ +--- +"@clerk/backend": minor +--- + +Added a `locked` property to the User object in the SDK diff --git a/packages/backend/src/api/resources/User.ts b/packages/backend/src/api/resources/User.ts index b8ee678dc48..78ab65c07c8 100644 --- a/packages/backend/src/api/resources/User.ts +++ b/packages/backend/src/api/resources/User.ts @@ -13,6 +13,7 @@ export class User { readonly backupCodeEnabled: boolean, readonly twoFactorEnabled: boolean, readonly banned: boolean, + readonly locked: boolean, readonly createdAt: number, readonly updatedAt: number, readonly imageUrl: string, @@ -45,6 +46,7 @@ export class User { data.backup_code_enabled, data.two_factor_enabled, data.banned, + data.locked, data.created_at, data.updated_at, data.image_url,