Skip to content

[#768] Fix Farcaster auto-connect in Warpcast miniapp#770

Merged
realproject7 merged 1 commit intomainfrom
task/768-farcaster-autoconnect
Apr 2, 2026
Merged

[#768] Fix Farcaster auto-connect in Warpcast miniapp#770
realproject7 merged 1 commit intomainfrom
task/768-farcaster-autoconnect

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Removes duplicate connector: bare farcasterMiniApp() on line 50 of wagmi.ts removed; only the one inside walletConnectors via farcasterWallet remains
  • Removes isAuthorized() gate: auto-connect now calls connect() directly when inside miniapp — Warpcast manages auth, so the gate was causing silent failures
  • Updates Farcaster packages: @farcaster/miniapp-wagmi-connector 1.1.1 → 2.0.0, @farcaster/miniapp-sdk 0.2.3 → 0.3.0 (no breaking API changes)
  • Bumps version to 0.1.13

Fixes #768

Test plan

  • Warpcast miniapp: wallet auto-connects without showing modal
  • Web browser: RainbowKit modal shows standard wallets (MetaMask, etc.)
  • Farcaster wallet option still appears in RainbowKit modal
  • npm run build passes

🤖 Generated with Claude Code

1. Remove duplicate bare farcasterMiniApp() connector — keep only
   the one inside walletConnectors via farcasterWallet
2. Remove isAuthorized() gate in auto-connect — call connect()
   directly when inside miniapp (Warpcast manages auth)
3. Update @farcaster/miniapp-wagmi-connector 1.1.1 → 2.0.0
   and @farcaster/miniapp-sdk 0.2.3 → 0.3.0
4. Bump version to 0.1.13

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plotlink Ignored Ignored Apr 2, 2026 4:58pm

Request Review

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T2b APPROVE

All three fixes match issue scope:

  1. Duplicate connector removed: wagmi.ts — bare farcasterMiniApp() removed, connectors = walletConnectors directly. The Farcaster connector still exists inside walletConnectors via farcasterWallet.
  2. isAuthorized gate removed: ConnectWallet.tsx — calls connect() directly in miniapp context. Correct since Warpcast manages auth externally.
  3. Package updates: miniapp-sdk 0.2.3→0.3.0, miniapp-wagmi-connector 1.1.1→2.0.0. Peer deps align. PR description confirms no breaking API changes.
  4. Version bump to 0.1.13.

No concerns.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

This PR removes the duplicate Farcaster connector instance, updates the Farcaster packages to the current published versions, and simplifies the Warpcast auto-connect path to call connect() directly inside the miniapp context.

Findings

  • None.

Decision

Approving because the change matches issue #768, the connector type remains compatible after the package upgrade, and I do not see a remaining correctness or design blocker in the updated miniapp connection flow.

@realproject7 realproject7 merged commit 498e22c into main Apr 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Farcaster auto-connect fails in Warpcast miniapp

2 participants