• Retrieves the wallet that is currently connected to the dApp, if one exists.

    Returns {
        connectionStatus: "connecting";
        currentWallet: null;
        isConnected: false;
        isConnecting: true;
        isDisconnected: false;
        supportedIntents: readonly [];
    } | {
        connectionStatus: "disconnected";
        currentWallet: null;
        isConnected: false;
        isConnecting: false;
        isDisconnected: true;
        supportedIntents: readonly [];
    } | {
        connectionStatus: "connected";
        currentWallet: WalletWithRequiredFeatures;
        isConnected: true;
        isConnecting: false;
        isDisconnected: false;
        supportedIntents: string[];
    }