• Creates a popup window for JoyID Dapp requests.

    Type Parameters

    • T extends DappRequestType

    Parameters

    • url: string

      The URL to open in the popup.

    • config: PopupConfigOptions<T> & {
          joyidAppURL: string;
      }

      The popup configuration options.

    Returns Promise<PopupReturnType[T]>

    A promise that resolves to the response data of the requested type.

    If popups are not supported in the current browser.

    If the popup is closed by the user.

    If the popup operation times out.