Skip to content

feat: script for evaluating - #566

Open
jenshenJ wants to merge 7 commits into
mainfrom
fix/injected-lost
Open

jenshenJ wants to merge 7 commits into
mainfrom
fix/injected-lost

Conversation

@jenshenJ

Copy link
Copy Markdown
Contributor

No description provided.

@jenshenJ
jenshenJ requested a review from a team as a code owner June 11, 2026 19:32
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sdk-demo-dapp-react Ready Ready Preview, Comment Jun 11, 2026 8:06pm
sdk-docs Ready Ready Preview, Comment Jun 11, 2026 8:06pm
tma-debug Ready Ready Preview, Comment Jun 11, 2026 8:06pm

Request Review

…storing injected connection

Browser extensions (MV3 content scripts / service worker cold start) may inject
window.<jsBridgeKey> after the dapp has already called restoreConnection().
Previously InjectedProvider constructor threw WalletNotInjectedError on the first
attempt and the stored session was irreversibly removed, so the user got
disconnected on every page reload that won the race.

Now restoreConnection polls for the bridge to appear (up to 5s) and only clears
the stored session if the wallet never shows up (i.e. extension was uninstalled).

This branch was successfully deployed

3 active deployments
Preview – sdk-demo-dapp-react eaf079f0 Deployed Jun 11, 2026 by vercel[bot]
Preview – sdk-docs eaf079f0 Deployed Jun 11, 2026 by vercel[bot]
Preview – tma-debug eaf079f0 Deployed Jun 11, 2026 by vercel[bot]
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