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

feat: add skip auto reconnect #403

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

LuizAsFight
Copy link
Contributor

@LuizAsFight LuizAsFight commented Oct 15, 2024

Problem

When you have wagmi provider configured on the dapp, the reconnection of the Fuel Connector may conflict with reconnection of Wagmi, causing flaky loss of section across refreshs.

Solution

Skip the auto reconnect step on WalletConnectConnector, this way we let the responsibility of recovering session after refresh for Wagmi, which will do it anyway.

Copy link

vercel bot commented Oct 15, 2024

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

Name Status Preview Comments Updated (UTC)
fuel-connectors ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 15, 2024 9:31pm

Copy link
Contributor

github-actions bot commented Oct 15, 2024

Coverage Report for Fuel Wallet (./packages/fuel-wallet)

Status Category Percentage Covered / Total
🔵 Lines 61.3% 141 / 230
🔵 Statements 61.3% 141 / 230
🔵 Functions 56.66% 17 / 30
🔵 Branches 86.95% 20 / 23
File CoverageNo changed files found.
Generated in workflow #1053 for commit e43bf45 by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Oct 15, 2024

Coverage Report for Fuel Development Wallet (./packages/fuel-development-wallet)

Status Category Percentage Covered / Total
🔵 Lines 100% 16 / 16
🔵 Statements 100% 16 / 16
🔵 Functions 100% 1 / 1
🔵 Branches 100% 1 / 1
File CoverageNo changed files found.
Generated in workflow #1053 for commit e43bf45 by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Oct 15, 2024

Coverage Report for Fuelet Wallet (./packages/fuelet-wallet)

Status Category Percentage Covered / Total
🔵 Lines 100% 19 / 19
🔵 Statements 100% 19 / 19
🔵 Functions 100% 1 / 1
🔵 Branches 100% 1 / 1
File CoverageNo changed files found.
Generated in workflow #1053 for commit e43bf45 by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Oct 15, 2024

This PR is published in NPM with version ****

@LuizAsFight LuizAsFight marked this pull request as ready for review October 15, 2024 21:30
@LuizAsFight LuizAsFight enabled auto-merge (squash) October 15, 2024 21:30
@LuizAsFight LuizAsFight merged commit 02574b4 into main Oct 15, 2024
10 checks passed
@LuizAsFight LuizAsFight deleted the lf/feat/add-skip-auto-reconnect-wagmi branch October 15, 2024 21:31
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