Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use the latest @penumbra-zone/client package version #2

Closed

Conversation

VanishMax
Copy link
Contributor

@VanishMax VanishMax commented Aug 9, 2024

Recently, @penumbra-zone/client package was updated to v17 – this major upgrade introduced new API to work with the library. This PR updates the codebase to support the new version. The refactoring is minimal – didn't see a reason to change the state subscription model, even though the new API supports penumbra.onConnectionStateChange method that could potentially simplify the ConnectButton.

From the user perspective, the only difference is that connecting and disconnecting to/from Prax doesn't require reloading the page.

Plus, fixed the bug with the toast "try unlocking wallet?" being displayed for a fraction of a second.

Relates to penumbra-zone/web#1681

Copy link

vercel bot commented Aug 9, 2024

@VanishMax is attempting to deploy a commit to the Starling Cybernetics Team on Vercel.

A member of the Team first needs to authorize it.

@plaidfinch
Copy link
Contributor

Closing in favor of #4.

@plaidfinch plaidfinch closed this Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants