Skip to content

Commit ee90878

Browse files
committed
only update status
1 parent 0272058 commit ee90878

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.changeset/puny-suns-hug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@clerk/backend': patch
33
---
44

5-
Updating types of Verification.status and Verification.strategy
5+
Updating type of Verification.status

packages/backend/src/api/resources/JSON.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { SignUpStatus, VerificationStatus, VerificationStrategy } from '@clerk/types';
1+
import type { SignUpStatus, VerificationStatus } from '@clerk/types';
22

33
import type {
44
ActorTokenStatus,
@@ -589,7 +589,7 @@ export interface UserJSON extends ClerkResourceJSON {
589589

590590
export interface VerificationJSON extends ClerkResourceJSON {
591591
status: VerificationStatus;
592-
strategy: VerificationStrategy;
592+
strategy: string;
593593
attempts: number | null;
594594
expire_at: number | null;
595595
verified_at_client?: string;

packages/backend/src/api/resources/Verification.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { VerificationStatus, VerificationStrategy } from '@clerk/types';
1+
import type { VerificationStatus } from '@clerk/types';
22

33
import type { OrganizationDomainVerificationJSON, VerificationJSON } from './JSON';
44

@@ -22,7 +22,7 @@ export class Verification {
2222
/**
2323
* The strategy pertaining to the parent sign-up or sign-in attempt.
2424
*/
25-
readonly strategy: VerificationStrategy,
25+
readonly strategy: string,
2626
/**
2727
* The redirect URL for an external verification.
2828
*/

0 commit comments

Comments
 (0)