Skip to content

Commit

Permalink
feat: add update-email-required event to recover account
Browse files Browse the repository at this point in the history
  • Loading branch information
sherzod-bakhodirov committed Nov 11, 2024
1 parent 009139a commit 80795e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@magic-sdk/types/src/modules/user-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export enum RecoverAccountEventOnReceived {
InvalidSmsOtp = 'invalid-sms-otp',
SmsVerified = 'sms-verified',
AccountRecovered = 'account-recovered',
UpdateEmailRequired = 'update-email-required',
}

export enum RecoverAccountEventEmit {
Expand Down Expand Up @@ -149,4 +150,5 @@ export type RecoverAccountEventHandlers = {
}) => {};
[RecoverAccountEventOnReceived.SmsVerified]: () => {};
[RecoverAccountEventOnReceived.AccountRecovered]: () => {};
[RecoverAccountEventOnReceived.UpdateEmailRequired]: () => {};
};

0 comments on commit 80795e6

Please sign in to comment.