Skip to content

fix: keep the demo wallet connected in memory when storage is blocked - #1126

Merged
dadadave80 merged 2 commits into
Heliobond:mainfrom
zerroai:fix/demo-wallet-memory-session
Nov 24, 2026
Merged

dadadave80 merged 2 commits into
Heliobond:mainfrom
zerroai:fix/demo-wallet-memory-session

Conversation

@zerroai

@zerroai zerroai commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Changes

  • When storage cannot be written or read, saveSession now keeps the connected session in memory for the current page visit, so selecting the demo wallet connects. clearSession clears it without needing storage, and a reload starts fresh.
  • Added a test for the storage-blocked path.

Testing

  • bun test src/wallet/session.test.ts passes (19 tests).

Closes #1055
Closes #1064
Closes #1065
Closes #1054

@zerroai
zerroai requested a review from dadadave80 as a code owner November 24, 2026 11:48
@vercel

vercel Bot commented Nov 24, 2026

Copy link
Copy Markdown

@zerroai is attempting to deploy a commit to the David Dada's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@zerroai Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@github-actions

Copy link
Copy Markdown

Thanks for the PR! A maintainer will take a look shortly. ✨

@github-actions

Copy link
Copy Markdown

Thanks for the PR! A maintainer will take a look shortly. ✨

@dadadave80 dadadave80 added the supply-chain-reviewed Maintainer reviewed the supply-chain changes in this PR (re-apply after each push) label Nov 24, 2026
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
heliobond Ready Ready Preview Nov 24, 2026 12:07pm UTC

@dadadave80
dadadave80 merged commit 4bcdd7e into Heliobond:main Nov 24, 2026
14 of 15 checks passed

This branch was successfully deployed

1 active deployment
Preview — 86c69886 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

supply-chain-reviewed Maintainer reviewed the supply-chain changes in this PR (re-apply after each push)

Projects

None yet

2 participants