-
Notifications
You must be signed in to change notification settings - Fork 619
[SDK] Rename otherWallet to allConnectedWallets in autoConnect callback #8408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK] Rename otherWallet to allConnectedWallets in autoConnect callback #8408
Conversation
🦋 Changeset detectedLatest commit: f07b4b5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8408 +/- ##
=======================================
Coverage 54.82% 54.83%
=======================================
Files 919 919
Lines 60844 60844
Branches 4136 4134 -2
=======================================
+ Hits 33359 33364 +5
+ Misses 27383 27378 -5
Partials 102 102
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
…ck (#8408) <!-- ## title your PR with this format: "[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. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on renaming the `otherWallet` parameter to `allConnectedWallets` in the `onConnect` callback to improve clarity and consistency in the code. ### Detailed summary - Updated the `onConnect` callback type in `packages/thirdweb/src/wallets/connection/types.ts` to use `OnConnectCallback`. - Renamed `otherWallet` to `allConnectedWallets` in the `onConnect` function signature. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
f818d2b to
9442dc7
Compare
7573e4b to
f07b4b5
Compare

PR-Codex overview
This PR focuses on renaming the parameter
otherWallettoallConnectedWalletsin theautoConnectonConnectcallback and updating its type toOnConnectCallback.Detailed summary
onConnectparameter inAutoConnectPropsfrom(activeWallet: Wallet, allConnectedWallets: Wallet[]) => voidtoOnConnectCallback.