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

fix connectedAdapterName not being updated #2049

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lionellbriones
Copy link
Contributor

@lionellbriones lionellbriones commented Jan 8, 2025

Motivation and Context

Fixes issue where connectedAdapterName is not updating on refresh. web3auth is an object ref so when contents are updated, it doesn't trigger reactivity. Solution is to listen to connected event and get the current connected adapter there.

ws-embed PR:
https://github.com/Web3Auth/wallet-services/pull/538

Jira Link:
https://toruslabs.atlassian.net/browse/PD-4306

Description

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project. (run lint)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My code requires a db migration.

Copy link

vercel bot commented Jan 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web3auth-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 8, 2025 9:26am

@lionellbriones lionellbriones marked this pull request as draft January 8, 2025 07:39
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.

1 participant