interface ParentMethods {
    closePopup: (() => void);
    getAppConfig: (() => AppConfig);
    getAppMode: (() => AppMode);
    getParentUrl: (() => string);
    getPopupState: (() => "closed" | "open");
    getRpcConfig: (() => RpcConfig);
    onEvent: ((t: string, val: unknown) => void);
    onMethodResponse: ((method: string, response: JsonRpcResponse<unknown>) => void);
    openPopup: (() => void);
    sendPendingRequestCount: ((count: number) => void);
    triggerPasswordlessLogin: ((email: string) => void);
    triggerSocialLogin: ((kind: string) => void);
}

Properties

closePopup: (() => void)
getAppConfig: (() => AppConfig)
getAppMode: (() => AppMode)
getParentUrl: (() => string)
getPopupState: (() => "closed" | "open")
getRpcConfig: (() => RpcConfig)
onEvent: ((t: string, val: unknown) => void)
onMethodResponse: ((method: string, response: JsonRpcResponse<unknown>) => void)
openPopup: (() => void)
sendPendingRequestCount: ((count: number) => void)
triggerPasswordlessLogin: ((email: string) => void)
triggerSocialLogin: ((kind: string) => void)