File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
packages/thirdweb/src/wallets/connection Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " thirdweb " : patch
3+ ---
4+
5+ Rename otherWallet to allConnectedWallets in autoConnect onConnect callback
Original file line number Diff line number Diff line change 11import type { Chain } from "../../chains/types.js" ;
22import type { ThirdwebClient } from "../../client/client.js" ;
3+ import type { OnConnectCallback } from "../../react/core/hooks/connection/types.js" ;
34import type { Wallet } from "../../wallets/interfaces/wallet.js" ;
45import type { SmartWalletOptions } from "../../wallets/smart/types.js" ;
56import type { AppMetadata } from "../../wallets/types.js" ;
@@ -108,7 +109,7 @@ export type AutoConnectProps = {
108109 * />
109110 * ```
110111 */
111- onConnect ?: ( activeWallet : Wallet , allConnectedWallets : Wallet [ ] ) => void ;
112+ onConnect ?: OnConnectCallback ;
112113
113114 /**
114115 * Optional chain to autoconnect to
You can’t perform that action at this time.
0 commit comments