Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Jan 27, 2025


title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

How to test

Unit tests, playground, etc.


PR-Codex overview

This PR focuses on fixing the account linking for ecosystem smart wallets in the LinkProfileScreen component. It updates how active and admin wallets are managed and ensures the correct wallet is used for connecting.

Detailed summary

  • Renamed activeWallet to adminWallet and used useActiveWallet for the active wallet.
  • Combined adminWallet and activeWallet into a single wallet variable.
  • Updated conditional checks to use the new wallet variable.
  • Adjusted wallet type casting for InAppWalletConnectUI and EcosystemWalletConnectUI.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Jan 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 10:48pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 10:48pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 10:48pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 10:48pm

@joaquim-verges joaquim-verges marked this pull request as ready for review January 27, 2025 22:40
@joaquim-verges joaquim-verges requested review from a team as code owners January 27, 2025 22:40
@changeset-bot
Copy link

changeset-bot bot commented Jan 27, 2025

🦋 Changeset detected

Latest commit: 4ce73e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
thirdweb Patch
@thirdweb-dev/wagmi-adapter Patch

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

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Jan 27, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 46.85 KB (0%) 938 ms (0%) 517 ms (+31.37% 🔺) 1.5 s
thirdweb (cjs) 123.65 KB (0%) 2.5 s (0%) 838 ms (+20.47% 🔺) 3.4 s
thirdweb (minimal + tree-shaking) 5.59 KB (0%) 112 ms (0%) 171 ms (+459.05% 🔺) 283 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 37 ms (+111.47% 🔺) 47 ms
thirdweb/react (minimal + tree-shaking) 19.08 KB (0%) 382 ms (0%) 126 ms (+85.12% 🔺) 508 ms

@joaquim-verges joaquim-verges merged commit 94e2d5b into main Jan 27, 2025
26 of 32 checks passed
@joaquim-verges joaquim-verges deleted the _SDK_fix_Account_linking_for_ecosystem_smart_wallets branch January 27, 2025 22:44
@joaquim-verges joaquim-verges mentioned this pull request Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants