You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wallet, // the wallet that has been connected or null if not yet connected
151
151
connecting // boolean indicating if connection is in progress
152
152
},
153
-
connect, // function to call to initiate user to connect wallet
154
-
disconnect, // function to call with wallet<DisconnectOptions> to disconnect wallet
153
+
connect, // function to call to initiate user to connect wallet, returns a list of WalletState objects (connected wallets)
154
+
disconnect, // function to call with wallet<DisconnectOptions> to disconnect wallet, returns a list of WalletState objects (connected wallets)
155
155
updateBalances, // function to be called with an optional array of wallet addresses connected through Onboard to update balance or empty/no params to update all connected wallets
156
156
setWalletModules, // function to be called with an array of wallet modules to conditionally allow connection of wallet types i.e. setWalletModules([ledger, trezor, injected])
157
157
setPrimaryWallet // function that can set the primary wallet and/or primary account within that wallet. The wallet that is set needs to be passed in for the first parameter and if you would like to set the primary account, the address of that account also needs to be passed in
Copy file name to clipboardExpand all lines: packages/react/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@web3-onboard/react",
3
-
"version": "2.2.6-alpha.1",
3
+
"version": "2.2.6-alpha.2",
4
4
"description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
0 commit comments