Skip to content

Commit 1f3768b

Browse files
fix(react): update type for verify method
1 parent 38bca81 commit 1f3768b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

packages/core/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export {
3131
ConfirmEnrollmentOptions,
3232
CreateAuthenticationMethodRequestContent,
3333
CreateAuthenticationMethodResponseContent,
34+
VerifyAuthenticationMethodResponseContent,
3435
} from './services/my-account/mfa/mfa-types';
3536

3637
export {

packages/react/src/types/my-account/mfa/mfa-types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import type {
77
CreateAuthenticationMethodResponseContent,
8+
VerifyAuthenticationMethodResponseContent,
89
Authenticator,
910
MFAType,
1011
EnrollOptions,
@@ -25,7 +26,7 @@ export interface UseUserMFAServiceReturn {
2526
>;
2627
deleteMutation: UseMutationResult<void, Error, string>;
2728
confirmEnrollmentMutation: UseMutationResult<
28-
unknown,
29+
VerifyAuthenticationMethodResponseContent,
2930
Error,
3031
{
3132
factorType: MFAType;

0 commit comments

Comments
 (0)