Skip to content

Commit

Permalink
Improved Wallet Connect handling and core logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Apr 18, 2023
1 parent b3c5b59 commit 4296fdb
Show file tree
Hide file tree
Showing 10 changed files with 387 additions and 2,096 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ interface IWalletManagerContext {
// when `preselectedWalletType` is set.
connect: () => void
// Function that disconnects from the connected wallet.
disconnect: () => Promise<void>
disconnect: () => void
// Connected wallet info and clients for interacting with the chain.
connectedWallet?: ConnectedWallet
// Status of cosmodal.
Expand Down Expand Up @@ -327,8 +327,8 @@ type UiProps = {
// When status is AttemptingAutoConnect or Connecting, and this is defined,
// the UI should be prompting to connect to WalletConnect.
walletConnectUri?: string
// Cancel connecting and close the UI.
cancel: () => void
// Disconnect. This closes the default UI.
disconnect: () => void
// Reset connection processs in case it got stuck, reconnecting to the same
// wallet that is currently being connected or reloading the page if no wallet
// is being connected to.
Expand Down
Loading

0 comments on commit 4296fdb

Please sign in to comment.