Commit c88ee42
authored
Release 1.0.0 (#55)
* Refactor wallet structure
* Refactor wallet exports and improve configuration structure
* Add test-dapp package with initial configuration and dependencies
* Remove test-contracts package and update test-dapp configuration for Foundry integration
* Update test-dapp configuration and components
* Add ERC-20 token functionality to test-dapp
* Refactor test-dapp to integrate ERC-721 NFT functionality and streamline ERC-20 components
* Add SignMessageSection component to test-dapp for signing messages functionality
* add infra
* Сonditionally display ERC-20 and ERC-721 sections based on environment
* Enhance w3wallets CLI with short aliases and detailed help options
* Enhance withWallets function to derive Chrome extension IDs from manifest.json and improve error handling for service worker initialization
* add metamask functionality
* Fix codestyle
* Update w3wallets package version to 1.0.0-beta.1
* Restore pjs test
* remove backpack
* remove test-app
* fix CI
* Update peer dependency for @playwright/test to version 1.57.0
* Add recursive submodule checkout in Playwright CI workflow
* Refactor start script for test-dapp to improve deployment process
* Enhance start script for test-dapp to build and run Next.js production server; add additional Chrome flags in withWallets for improved performance
* Do not remova pages in fixture
* Update Metamask onboarding page URL and increase button visibility timeout
* Refactor Metamask onboarding process to improve mnemonic input handling and code readability
* Implement configurable action timeout for wallet interactions and update example environment variables
* Refactor Metamask interactions to remove hardcoded timeouts, utilizing default timeout from Wallet class configuration
* Replace Hardhat references with Anvil
* Add erc-20 tests
* fix
* fix format
* Update w3wallets version to 1.0.0-beta.3 in package.json
* One worker on CI
* fix ci
* increase workers
* Squashed commit of the following:
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.
* add cahce script
* add expect timeout
* update playwright
* update lock file1 parent 7f72150 commit c88ee42
File tree
26 files changed
+643
-47
lines changed- .github/workflows
- packages/w3wallets
- src
- cache
- core
- scripts
- wallets
- metamask
- polkadot-js
- tests
- fixtures
- wallets-cache
26 files changed
+643
-47
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | | - | |
| 67 | + | |
60 | 68 | | |
61 | 69 | | |
62 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
108 | 167 | | |
109 | 168 | | |
110 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments