-
Notifications
You must be signed in to change notification settings - Fork 559
Fix: Exclude IAW when smart wallets are used #7454
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
Fix: Exclude IAW when smart wallets are used #7454
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThis change introduces support for an Changes
Sequence Diagram(s)sequenceDiagram
participant UI as ConnectButton
participant Wallets as getDefaultWallets
participant InApp as InApp Wallet
UI->>Wallets: getDefaultWallets({ executionMode })
alt executionMode present
Wallets->>InApp: createWallet({ executionMode })
else executionMode absent
Wallets->>InApp: createWallet()
end
Possibly related PRs
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (1)`**/*.@(ts|tsx)`: Accept a typed 'props' object and export a named function (e.g...
📄 Source: CodeRabbit Inference Engine (.cursor/rules/dashboard.mdc) List of files the instruction was applied to:
🧠 Learnings (4)📓 Common learnings
.changeset/fifty-turtles-sneeze.md (1)
packages/thirdweb/src/wallets/defaultWallets.ts (3)
packages/thirdweb/src/react/web/ui/ConnectWallet/ConnectButton.tsx (3)
🧬 Code Graph Analysis (1)packages/thirdweb/src/wallets/defaultWallets.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
🔇 Additional comments (6)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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. |
325e98b
to
8ba5959
Compare
8ba5959
to
2835956
Compare
size-limit report 📦
|
2835956
to
134573f
Compare
Merge activity
|
Codecov ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (50.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #7454 +/- ##
==========================================
- Coverage 51.92% 51.91% -0.01%
==========================================
Files 947 947
Lines 63932 63940 +8
Branches 4216 4218 +2
==========================================
+ Hits 33194 33197 +3
- Misses 30632 30637 +5
Partials 106 106
🚀 New features to boost your workflow:
|
PR-Codex overview
This PR introduces a patch for the
thirdweb
package, enhancing theConnectButton
component to support account abstraction with an execution mode and modifies thegetDefaultWallets
function to accept an execution mode option.Detailed summary
executionMode
to theConnectButton
component.props.accountAbstraction
.getDefaultWallets
to accept anexecutionMode
parameter.createWallet
calls to incorporate the newexecutionMode
option.Summary by CodeRabbit
New Features
Bug Fixes