interface ParentMethods {
    getAppConfig: (() => AppConfig);
    getAppMode: (() => AppMode);
    getParentUrl: (() => string);
    getPopupState: (() => "open" | "closed");
    getRpcConfig: (() => undefined);
    getSDKVersion: (() => "v3");
    getWalletPosition: (() => Position);
    onEvent: ((t: string, val: unknown) => void);
    onMethodResponse: ((method: string, response: JsonRpcResponse<unknown>) => void);
    sendPendingRequestCount: ((count: number) => void);
    setIframeStyle: ((styles: CSSStyleDeclaration) => void);
    setSessionID: ((id: string, exp: number) => void);
    triggerPasswordlessLogin: ((email: string) => void);
    triggerSocialLogin: ((kind: string) => void);
    uiEvent: ((t: string, val: unknown) => void);
}

Properties

getAppConfig: (() => AppConfig)
getAppMode: (() => AppMode)
getParentUrl: (() => string)
getPopupState: (() => "open" | "closed")
getRpcConfig: (() => undefined)
getSDKVersion: (() => "v3")
getWalletPosition: (() => Position)
onEvent: ((t: string, val: unknown) => void)
onMethodResponse: ((method: string, response: JsonRpcResponse<unknown>) => void)
sendPendingRequestCount: ((count: number) => void)
setIframeStyle: ((styles: CSSStyleDeclaration) => void)
setSessionID: ((id: string, exp: number) => void)
triggerPasswordlessLogin: ((email: string) => void)
triggerSocialLogin: ((kind: string) => void)
uiEvent: ((t: string, val: unknown) => void)