diff --git a/packages/amazon-cognito-identity-js/index.d.ts b/packages/amazon-cognito-identity-js/index.d.ts index 56eb5151cfd..2f741800082 100644 --- a/packages/amazon-cognito-identity-js/index.d.ts +++ b/packages/amazon-cognito-identity-js/index.d.ts @@ -92,6 +92,7 @@ declare module "amazon-cognito-identity-js" { onFailure: (err: any) => void }): void; public verifySoftwareToken(totpCode: string, friendlyDeviceName: string, callbacks: {onSuccess: (session: CognitoUserSession) => void, onFailure: (err: Error) => void}): void; + public setUserMfaPreference(smsMfaSettings: string[], softwareTokenMfaSettings: string[], callback: nodeCallback): void; } export interface MFAOption {