OnConnection: ((clientId: string, params: Omit<Parameters<WalletApi[connect]>[0], "version">, origin: string) => void)