Skip to content

Commit 3cf5bec

Browse files
author
Vieltojarvi
committed
small api adjustment
1 parent 99d4ff2 commit 3cf5bec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/seed/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export type MfaSignInFlow = {
5454
export type MfaSignUpFlow = {
5555
signInFlow: 'MFA';
5656
password: string;
57-
mfaPreference?: 'EMAIL' | 'SMS';
57+
mfaPreference?: 'EMAIL' | 'SMS' | 'TOTP';
5858
emailSignUpChallenge?: () => Promise<ChallengeResponse>;
5959
smsSignUpChallenge?: () => Promise<ChallengeResponse>;
6060
totpSignUpChallenge?: (totpSetup: auth.SetUpTOTPOutput) => Promise<ChallengeResponse>;

packages/seed/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export type PasswordSignInFlow = {
3131
export type MfaSignUpFlow = {
3232
signInFlow: 'MFA';
3333
password: string;
34-
mfaPreference?: 'EMAIL' | 'SMS';
34+
mfaPreference?: 'EMAIL' | 'SMS' | 'TOTP';
3535
emailSignUpChallenge?: () => Promise<ChallengeResponse>;
3636
smsSignUpChallenge?: () => Promise<ChallengeResponse>;
3737
totpSignUpChallenge?: (

0 commit comments

Comments
 (0)