Skip to content

Commit

Permalink
feat: add recovery-code-success to disable mfa event types
Browse files Browse the repository at this point in the history
  • Loading branch information
sherzod-bakhodirov committed Jan 16, 2025
1 parent 4b684ac commit 22a4ceb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@magic-sdk/types/src/modules/auth-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ export type DisableMFAEventHandlers = {
[DisableMFAEventOnReceived.MFACodeRequested]: () => void;
[DisableMFAEventOnReceived.InvalidMFAOtp]: ({ errorCode }: { errorCode: string }) => void;
[DisableMFAEventOnReceived.InvalidRecoveryCode]: () => void;
[LoginWithEmailOTPEventOnReceived.RecoveryCodeSuccess]: () => void;

// Event sent
[DisableMFAEventEmit.VerifyMFACode]: (totp: string) => void;
Expand Down

0 comments on commit 22a4ceb

Please sign in to comment.