Skip to content

fix: consolidated bug fixes batch#5646

Open
Khizr97 wants to merge 25 commits into
mainfrom
chore/khizr-fixes
Open

fix: consolidated bug fixes batch#5646
Khizr97 wants to merge 25 commits into
mainfrom
chore/khizr-fixes

Conversation

@Khizr97
Copy link
Copy Markdown
Contributor

@Khizr97 Khizr97 commented Apr 14, 2026

Summary

Consolidated batch of bug fixes from individual fix branches, ready for preview testing before merging to main.

Test plan

  • Verify all fixes on Vercel preview deployment
  • Send flow: token amounts preserve decimal precision
  • Swap flow: input field auto-focuses on open
  • Social login: BigInt values serialize correctly
  • Bitcoin: getAccountAddresses works without errors
  • Stale sessions: no crashes from undefined provider
  • CAIP-10 validation: malformed addresses are rejected
  • API requests: projectId included even when empty string
  • No Lit dev warnings in console

Khizr97 and others added 10 commits April 13, 2026 18:27
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…sessions (#5633)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Sven <38101365+svenvoskamp@users.noreply.github.com>
…5618)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Sven <38101365+svenvoskamp@users.noreply.github.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 14, 2026

⚠️ No Changeset found

Latest commit: 7d7f457

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 14, 2026

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

Project Deployment Actions Updated (UTC)
appkit-demo Ready Ready Preview, Comment May 13, 2026 6:50pm
appkit-gallery Ready Ready Preview, Comment May 13, 2026 6:50pm
appkit-headless-sample-app Ready Ready Preview, Comment May 13, 2026 6:50pm
appkit-laboratory Ready Ready Preview May 13, 2026 6:50pm
9 Skipped Deployments
Project Deployment Actions Updated (UTC)
appkit-basic-example Ignored Ignored May 13, 2026 6:50pm
appkit-basic-sign-client-example Ignored Ignored May 13, 2026 6:50pm
appkit-basic-up-example Ignored Ignored May 13, 2026 6:50pm
appkit-ethers5-bera Ignored Ignored May 13, 2026 6:50pm
appkit-nansen-demo Ignored Ignored May 13, 2026 6:50pm
appkit-wagmi-cdn-example Ignored Ignored May 13, 2026 6:50pm
ethereum-provider-wagmi-example Ignored Ignored May 13, 2026 6:50pm
next-wagmi-solana-bitcoin-example Ignored Ignored May 13, 2026 6:50pm
vue-wagmi-example Ignored Ignored May 13, 2026 6:50pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 14, 2026

Visual Regression Test Results ✅ Passed

⚠️ 15 visual change(s) detected

Chromatic Build: https://www.chromatic.com/build?appId=6493191bf4b10fed8ca7353f&number=918
Storybook Preview: https://6493191bf4b10fed8ca7353f-zwzeyoqgyx.chromatic.com/

👉 Please review the visual changes in Chromatic and accept or reject them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 14, 2026

📦 Bundle Size Check

All bundles are within size limits

📊 View detailed bundle sizes

> @reown/appkit-monorepo@1.7.1 size /home/runner/work/appkit/appkit


> size-limit

@reown/appkit - Main Entry
Size limit:   80 kB
Size:         75.79 kB with all dependencies, minified and gzipped
Loading time: 1.5 s    on slow 3G
Running time: 315 ms   on Snapdragon 410
Total time:   1.8 s
@reown/appkit/react
Size limit:   236 kB
Size:         235.03 kB with all dependencies, minified and gzipped
Loading time: 4.6 s     on slow 3G
Running time: 826 ms    on Snapdragon 410
Total time:   5.5 s
@reown/appkit/vue
Size limit:   80 kB
Size:         75.79 kB with all dependencies, minified and gzipped
Loading time: 1.5 s    on slow 3G
Running time: 278 ms   on Snapdragon 410
Total time:   1.8 s
@reown/appkit-scaffold-ui
Size limit:   220 kB
Size:         214.33 kB with all dependencies, minified and gzipped
Loading time: 4.2 s     on slow 3G
Running time: 528 ms    on Snapdragon 410
Total time:   4.8 s
@reown/appkit-ui
Size limit:   500 kB
Size:         13.16 kB with all dependencies, minified and gzipped
Loading time: 258 ms   on slow 3G
Running time: 102 ms   on Snapdragon 410
Total time:   359 ms

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 14, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.56% 39927 / 50823
🔵 Statements 78.56% 39927 / 50823
🔵 Functions 76.17% 4264 / 5598
🔵 Branches 86.65% 9744 / 11244
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/adapters/bitcoin/src/connectors/BitcoinWalletConnectConnector.ts 93.02% 96.66% 85.71% 93.02% 114-115, 123-124, 151-156
packages/adapters/solana/src/providers/SolanaWalletConnectProvider.ts 80.25% 100% 69.56% 80.25% 70-71, 74-75, 78-85, 164-174, 188-189, 213-214, 219-220, 223-232, 235-236, 294-301, 305-312
packages/adapters/ton/src/connectors/TonWalletConnectConnector.ts 35.71% 75% 25% 35.71% 34-35, 38-39, 42-43, 52-55, 58-72, 75-104, 107-108, 112-113, 116-117
packages/adapters/tron/src/connectors/TronWalletConnectConnector.ts 77.41% 47.82% 30.76% 77.41% 36-37, 40-41, 44-45, 48-51, 54-57, 63-64, 80-81, 90-91, 162-163, 167-168, 171-172, 182-183
packages/adapters/wagmi/src/client.ts 75.71% 67.79% 79.54% 75.71% 125-126, 131-132, 146-156, 217-218, 258-261, 380-381, 395, 405-406, 419-420, 497-498, 559-560, 577-592, 606-623, 643-644, 657-666, 677-678, 682-683, 688-720, 739-748, 752-758, 761-772, 781-782, 793-794, 815-817, 831-832, 845-846, 861-862, 905-906, 930-931, 939-940, 945-946, 953-954, 962-963, 968-969, 978-979, 987-988, 993-994, 1000-1022, 1025-1038, 1090-1091, 1096-1097
packages/appkit/src/client/appkit-base-client.ts 73.59% 85.68% 76.69% 73.59% 184-190, 210, 223-226, 229, 241-242, 248-249, 252, 261, 308-309, 355-356, 394-395, 397-398, 403-404, 486-487, 523-529, 600-601, 623-638, 641, 679, 720-724, 731-732, 735-736, 741-742, 753-776, 785-786, 803-823, 827-848, 851-877, 880-886, 889-895, 898-904, 907-913, 916-926, 929-935, 938-945, 959-968, 971-977, 980-981, 984-985, 1004-1005, 1028-1068, 1075-1087, 1093-1120, 1123-1133, 1165-1166, 1191-1192, 1197, 1212-1228, 1242, 1246-1254, 1285-1286, 1305-1308, 1312-1313, 1315-1316, 1350-1352, 1356-1377, 1382-1383, 1391-1392, 1394-1395, 1489-1490, 1502-1503, 1508, 1531-1536, 1583, 1604-1605, 1614, 1616-1632, 1637, 1683-1684, 1696-1707, 1754-1771, 1816, 1822-1826, 1847-1862, 1865-1866, 1892-1895, 1931-1950, 1982, 2025-2026, 2032-2058, 2288-2289, 2326-2327, 2330-2331, 2347-2350, 2353-2354, 2374-2375, 2378-2379, 2400, 2421-2422, 2430-2431, 2443-2444, 2458, 2485-2486, 2492-2493, 2527-2532, 2550-2551, 2554-2555, 2602-2603, 2674-2675, 2678-2679, 2682-2685, 2688-2689, 2692-2693, 2696-2697, 2700-2701, 2704-2708, 2717-2726, 2735-2746, 1375
packages/appkit/src/universal-adapter/client.ts 52.91% 56.66% 34.21% 52.91% 18-19, 33-42, 61-64, 98-102, 108, 110-114, 120, 130-163, 172-175, 178-181, 184-187, 189-192, 195-196, 199-200, 203-204, 207-208, 211-212, 215-216, 219-226, 239, 243-246, 262-263, 271-34, 131-185
packages/controllers/src/controllers/ApiController.ts 95% 96.66% 86.44% 95% 122-123, 185, 195-198, 273-274, 533-541, 568, 582, 586, 590, 206
packages/controllers/src/controllers/SendController.ts 62.5% 66.66% 62.16% 62.5% 83, 139-141, 143, 146-151, 160-161, 166-167, 170-171, 192-193, 195-214, 260-275, 280-314, 320-321, 331-362, 369-370, 374-375, 399-400, 182-356
packages/controllers/src/controllers/SwapController.ts 59.17% 80.57% 76.66% 59.17% 54-57, 296-298, 308-316, 346, 355-356, 364-367, 408, 429-431, 441-442, 484-485, 496-497, 521-529, 533, 535, 537, 539, 585-594, 630-660, 664-718, 722-816, 820-821, 836-837, 853-872, 876-958, 977-978, 870-954
packages/controllers/src/utils/FetchUtil.ts 100% 88.88% 100% 100%
packages/scaffold-ui/src/partials/w3m-all-wallets-list/index.ts 89.9% 92.85% 91.66% 89.9% 70, 97, 112, 126-127, 144-149
packages/scaffold-ui/src/partials/w3m-input-address/index.ts 98.47% 100% 94.11% 98.47% 60, 98
packages/scaffold-ui/src/partials/w3m-input-token/index.ts 93.61% 92.59% 90.9% 93.61% 51, 62, 70, 88, 98, 122
packages/scaffold-ui/src/partials/w3m-router-container/index.ts 69.38% 78.57% 72.72% 69.38% 39-40, 68-96, 108-114, 130, 147-151, 174-175, 197-198
packages/scaffold-ui/src/partials/w3m-swap-input/index.ts 87.61% 91.17% 84.61% 87.61% 99, 104-107, 111-112, 119, 139, 159, 166, 175, 182, 187
packages/scaffold-ui/src/views/w3m-swap-view/index.ts 79.32% 68.67% 87.09% 79.32% 119-121, 124-126, 129-144, 168, 219-223, 234, 244-245, 268, 281, 303, 309-312, 320-326, 345-346, 370, 412-421, 439-455, 499-500, 517-518
packages/scaffold-ui/src/views/w3m-wallet-send-preview-view/index.ts 94.64% 90.32% 85.71% 94.64% 138, 149, 157-160, 165
packages/scaffold-ui/src/views/w3m-wallet-send-view/index.ts 84.05% 94.33% 77.77% 84.05% 77-86, 92, 102, 137, 158-161, 164-171, 185-186, 233, 247, 280-284, 83
packages/wallet/src/W3mFrameProvider.ts 52.43% 75% 49.36% 52.43% 21-22, 126-129, 133-141, 149-155, 172-180, 200-208, 217-219, 228-230, 233-241, 245-257, 260-273, 276-288, 291-302, 305-320, 323-332, 335-346, 349-362, 365-374, 394-395, 404-406, 424-426, 442-444, 448-473, 476-487, 490-504, 518-520, 524-542, 548-549, 573-576, 594-602, 606-614, 621-623, 631-633, 638-647, 653-657, 662-663, 670-676, 681-682, 747-751, 756-757, 772-782, 797-798, 810-814, 823-827, 830-831, 261-336, 451-651
Generated in workflow #17122 for commit 7d7f457 by the Vitest Coverage Report Action

…ationFrame

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… parseUnits error

toFixed(20) produced more decimal places than viem's parseUnits allows,
causing a transaction error when sending/swapping max token amount.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…allets API

The FetchUtil fix to include empty-string projectId had a side effect: empty
search, exclude, and include values were also being sent as URL params (e.g.
?search=&exclude=). The wallets API treats these differently from absent params,
causing the certified wallet filter to return no results.

Use undefined instead of '' for empty search/exclude/include so FetchUtil omits
them from the URL. Update ApiController unit tests to reflect the corrected
behaviour.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lude param

Bundle was at 235.04 KB (40 B over the 235 KB limit). The limit comment was
stale (~222 KB) — the actual current size is ~235 KB. Bump to 236 KB to give
a reasonable buffer. Also simplify the exclude param to use the same
`|| undefined` pattern as include and search.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tOpenButton

toHaveAttribute('disabled') on the wui-button custom element returns
'unexpected value "false"' in Playwright 1.48 because it evaluates the
JS disabled property rather than the HTML attribute. Checking the inner
<button> via shadow DOM piercing with toBeDisabled() is semantically
correct and version-stable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… check

Playwright's locator-based shadow DOM piercing fails on WebKit (iPhone 12),
while toHaveAttribute fails on Chromium (Galaxy S5) for custom elements with
a JS disabled=false property. Using page.waitForFunction with direct
shadowRoot.querySelector() works reliably across both browser engines.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…bled check

waitForFunction is blocked by the lab's strict CSP (no unsafe-eval).
locator.evaluate uses Runtime.callFunctionOn (CSP-safe) and accesses
shadowRoot.querySelector directly in JS — reliable on both Chromium and
WebKit without relying on Playwright's CSS shadow-piercing locators.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

3 participants