Return shape of useConnect. connect opens the picker and rejects with ConnectCancelledError where the user closed it, which connectError mirrors; disconnect clears the local party and status even if the wallet's own call fails.
connect
connectError
disconnect
Return shape of useConnect.
connectopens the picker and rejects with ConnectCancelledError where the user closed it, whichconnectErrormirrors;disconnectclears the local party and status even if the wallet's own call fails.