-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): switching networks (#187)
* feat(react): set algodClient to a useState variable This also refactors the `useWallet` hook so it directly accesses `WalletContext` (in place of the `useWalletManager` hook). Both modules are now in a single file - src/index.tsx * feat(vue): reactive algodClient * feat(solid): reactive algodClient * fix(solid): algodClient type * fix(vue): ensure algodClient is a defined computed value * fix(solid): fixes activeNetwork reactivity * feat: add network switcher to example apps * fix: "Set Active" button visibility in SolidJS example * feat: disconnect all wallets when switching networks * test: add/update tests for new setActiveNetwork logic * test: fix failing tests * refactor(solid): combine into one file
- Loading branch information
Showing
28 changed files
with
1,323 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.