Skip to content

Conversation

@Maksandre
Copy link
Owner

No description provided.

…fest.json and improve error handling for service worker initialization
…n server; add additional Chrome flags in withWallets for improved performance
…g default timeout from Wallet class configuration
commit 21d9cc03d1e04421da297070025e4aaf12f75174
Author: Max Andreev <maxick20@gmail.com>
Date:   Sun Feb 1 22:23:01 2026 +0500

    update caching

commit d95a5bd4478319e3fc4f28c5c96577d9269d3c5f
Author: Max Andreev <maxick20@gmail.com>
Date:   Sun Feb 1 15:32:07 2026 +0500

    Fix cached wallet restoration for MV3 extensions

    Persist chrome.storage.session data to chrome.storage.local during cache
    build using a helper page to bypass LavaMoat scuttling. Set storageKind
    to "data" so MetaMask reads all state from local storage on restart.
    Add homeUrl to WalletConfig for navigating to extension home in cached
    mode, and update test to handle unlock + "wallet ready" interstitial.

    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

commit e1da2b33d061c6508aa2b94e8b7bfc1d5b0ae372
Author: Max Andreev <maxick20@gmail.com>
Date:   Sun Feb 1 14:52:56 2026 +0500

    Add example setup, cached test, and gitignore entry

    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

commit cf365e4736c28d54135b4d20411d203b26f697a2
Author: Max Andreev <maxick20@gmail.com>
Date:   Sun Feb 1 14:41:36 2026 +0500

    Update withWallets to support cached wallet configs

    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

commit 23c9bbab29f6b298e785dfb74b3ded5233e1804a
Author: Max Andreev <maxick20@gmail.com>
Date:   Sun Feb 1 14:35:33 2026 +0500

    Add cache build logic and CLI command

    Implements buildCacheForSetup and buildAllCaches in src/cache/buildCache.ts,
    adds src/scripts/cache.ts as compiled CLI entry point, and delegates
    `npx w3wallets cache` from download.js to the compiled script.

    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

commit 9edfdf3b6f6e0853c349f4abe713d69120d17ff0
Author: Max Andreev <maxick20@gmail.com>
Date:   Sun Feb 1 14:26:03 2026 +0500

    Add cache types, constants and defineSetup

    Introduce the cache module foundation: SetupFn/CachedWalletConfig types,
    CACHE_DIR constant, defineSetup helper, and isCachedConfig type guard.
@Maksandre Maksandre merged commit c88ee42 into main Feb 2, 2026
4 checks passed
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