Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/pink-turkeys-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Trust Wallet Support for `sendCalls` with `experimental_fallback`.
5 changes: 4 additions & 1 deletion src/actions/wallet/sendCalls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ export async function sendCalls<
.includes('account upgraded to unsupported contract') ||
error.details.toLowerCase().includes('eip-7702 not supported') ||
error.details.toLowerCase().includes('unsupported wc_ method') ||
error.details.toLowerCase().includes('feature toggled misconfigured'))
// magic.link
error.details.toLowerCase().includes('feature toggled misconfigured') ||
// Trust Wallet
error.details.toLowerCase().includes('jsonrpcengine: response has no error or result for request'))
) {
if (capabilities) {
const hasNonOptionalCapability = Object.values(capabilities).some(
Expand Down
Loading