Closed gregfromstl closed 4 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
thirdweb_playground | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 1, 2024 1:37am |
thirdweb-www | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 1, 2024 1:37am |
wallet-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 1, 2024 1:37am |
Latest commit: 54c17893307ea4dac13894cb3e07d82821a6012f
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.
You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @gregfromstl and the rest of your teammates on Graphite
Comparing fix/recommended-wallet-ordering
(54c1789) with main
(cbb0bc2)
✅ 9
untouched benchmarks
Path | Size | Loading time (3g) | Running time (snapdragon) | Total time |
---|---|---|---|---|
thirdweb (esm) | 40.47 KB (0%) | 810 ms (0%) | 2.5 s (-33.08% 🔽) | 3.3 s |
thirdweb (cjs) | 89.99 KB (0%) | 1.8 s (0%) | 7.1 s (+11.29% 🔺) | 8.9 s |
thirdweb (minimal + tree-shaking) | 4.79 KB (0%) | 96 ms (0%) | 433 ms (+177.24% 🔺) | 529 ms |
thirdweb/chains (tree-shaking) | 423 B (0%) | 10 ms (0%) | 61 ms (-41.34% 🔽) | 71 ms |
thirdweb/react (minimal + tree-shaking) | 13.52 KB (0%) | 271 ms (0%) | 807 ms (-9.73% 🔽) | 1.1 s |
Attention: Patch coverage is 0%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 62.73%. Comparing base (
cbb0bc2
) to head (54c1789
).
gregfromstl
added this pull request to the Graphite merge queue.gregfromstl
merged this pull request with the Graphite merge queue.
Problem solved
Recommended wallets were being compared for object equality when sorting, which caused confusion when using inline
createWallet
to set the recommended wallets. This PR updates sorting to compare the recommended wallets by ID (installed providers already work this way)PR-Codex overview
This PR focuses on fixing the recommended wallet ordering in the
sortWallets.ts
file.Detailed summary
id
instead of object reference