Closed gregfromstl closed 3 months 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 2, 2024 1:09am |
thirdweb-www | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 2, 2024 1:09am |
wallet-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 2, 2024 1:09am |
Latest commit: 98a9e226fa4cecda00ddd4b7c675ec00d2139940
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/vite-coinbase-import
(98a9e22) with main
(a1d6a3c)
✅ 9
untouched benchmarks
Attention: Patch coverage is 50.00000%
with 7 lines
in your changes missing coverage. Please review.
Project coverage is 62.54%. Comparing base (
a1d6a3c
) to head (98a9e22
).
Path | Size | Loading time (3g) | Running time (snapdragon) | Total time |
---|---|---|---|---|
thirdweb (esm) | 40.47 KB (0%) | 810 ms (0%) | 4.7 s (-2.43% 🔽) | 5.5 s |
thirdweb (cjs) | 89.99 KB (0%) | 1.8 s (0%) | 9.1 s (+2.55% 🔺) | 10.9 s |
thirdweb (minimal + tree-shaking) | 4.79 KB (0%) | 96 ms (0%) | 295 ms (-11.78% 🔽) | 391 ms |
thirdweb/chains (tree-shaking) | 423 B (0%) | 10 ms (0%) | 139 ms (+138.58% 🔺) | 149 ms |
thirdweb/react (minimal + tree-shaking) | 13.52 KB (0%) | 271 ms (0%) | 492 ms (-5.28% 🔽) | 762 ms |
joaquim-verges
added this pull request to the Graphite merge queue.joaquim-verges
merged this pull request with the Graphite merge queue.
TL;DR
Corrected the import handling for CoinbaseWalletSDK in the coinbaseWebSDK.ts file.
What changed?
The import statement for CoinbaseWalletSDK was modified to handle cases where the import does not return a default function directly.
How to test?
Why make this change?
This change ensures that the CoinbaseWalletSDK import is handled correctly, thereby preventing potential import errors that could occur in various environments.
PR-Codex overview
This PR fixes coinbase wallet connections on Vite by addressing import errors with
CoinbaseWalletSDK
.Detailed summary
CoinbaseWalletSDK
incoinbaseWebSDK.ts
for Vite compatibility