diff --git a/src/index.ts b/src/index.ts index 453abe3..2ae7eb5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -159,7 +159,7 @@ export class Authorizer { try { const res = await this.graphqlQuery({ query: - 'query { meta { version is_google_login_enabled is_facebook_login_enabled is_github_login_enabled is_linkedin_login_enabled is_apple_login_enabled is_twitter_login_enabled is_microsoft_login_enabled is_twitch_login_enabled is_email_verification_enabled is_basic_authentication_enabled is_magic_link_login_enabled is_sign_up_enabled is_strong_password_enabled } }', + 'query { meta { version is_google_login_enabled is_facebook_login_enabled is_github_login_enabled is_linkedin_login_enabled is_apple_login_enabled is_twitter_login_enabled is_microsoft_login_enabled is_twitch_login_enabled is_email_verification_enabled is_basic_authentication_enabled is_magic_link_login_enabled is_sign_up_enabled is_strong_password_enabled is_multi_factor_auth_enabled is_mobile_basic_authentication_enabled is_phone_verification_enabled } }', }) return res.meta diff --git a/src/types.ts b/src/types.ts index 24153ea..894610f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -125,6 +125,9 @@ export interface MetaData { is_magic_link_login_enabled: boolean is_sign_up_enabled: boolean is_strong_password_enabled: boolean + is_multi_factor_auth_enabled: boolean + is_mobile_basic_authentication_enabled: boolean + is_phone_verification_enabled: boolean } export interface UpdateProfileInput {