@web3auth/ui
Version:
Ui modal for web3Auth
13 lines (12 loc) • 758 B
TypeScript
import { LANGUAGE_TYPE } from "@web3auth/auth";
import { LoginMethodConfig } from "@web3auth/base";
export declare const getAdapterSocialLogins: (adapterName: string, loginMethodsConfig?: LoginMethodConfig) => LoginMethodConfig;
export declare function validateImageUrl(url: string): Promise<boolean>;
export declare function getNetworkIconId(ticker: string): Promise<string>;
export declare const passwordlessBackendUrl = "https://api-passwordless.web3auth.io";
export declare const getUserCountry: () => Promise<{
country: string;
dialCode: string;
} | null>;
export declare const validatePhoneNumber: (phoneNumber: string) => Promise<string | boolean>;
export declare const getUserLanguage: (defaultLanguage: string | undefined) => LANGUAGE_TYPE;