Skip to content

Commit

Permalink
more method docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesmac committed Dec 6, 2023
1 parent de50787 commit fab5dab
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export abstract class EthWalletConnectorBase extends EIP1193Events {

/**
* Request to enable accounts in the wallet
* Note: This call is not wrapped in a try/catch by design. Errors from connecting to a wallet can be intentional behavior
* (i.e. the user rejected the request to connect). Handle errors in the calling code.
*/
async connectWallet(): Promise<string[] | null | undefined> {
if (!this.provider) {
Expand Down

0 comments on commit fab5dab

Please sign in to comment.