Skip to content

fix: pin QR encoder to prevent WalletConnect crash - #811

Open
ECWireless wants to merge 1 commit into
mainfrom
810-walletconnect-causes-explorer-to-crash
Open

ECWireless wants to merge 1 commit into
mainfrom
810-walletconnect-causes-explorer-to-crash

Conversation

@ECWireless

@ECWireless ECWireless commented Sep 19, 2026

Copy link
Copy Markdown
Collaborator

Override cuer@0.0.3's qr dependency to 0.5.5, which supports the border: 0 option used by RainbowKit's QR renderer. Newer qr versions reject it and crash the page when opening WalletConnect.

Refs #810

Description

Fixes the WalletConnect crash described in RainbowKit #2677 by pinning cuer’s QR encoder to qr@0.5.5; newer versions reject RainbowKit’s border: 0 option. Verified WalletConnect and Rainbow QR rendering locally, with all tests, type checks, and lint passing.

Type of Change

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation update
  • style: Code style/formatting changes (no logic changes)
  • refactor: Code refactoring (no behavior change)
  • perf: Performance improvement
  • test: Adding or updating tests
  • build: Build system or dependency changes
  • ci: CI/CD changes
  • chore: Other changes

Related Issue(s)

Closes: #810

Changes Made

  • Overrides cuer@0.0.3's qr dependency to 0.5.5

Testing

  • Tested locally
  • Added/updated tests
  • All tests passing

How to test (optional unless test is not trivial)

  • Attempt to connect wallet with WalletConnect
  • App should not crash when WalletConnect is clicked
  • Note that the QA code will still not appear in this preview because it is not whitelisted in Reown

Impact / Risk

Risk level: Low

Impacted areas: Dependancies

User impact: User can now use WalletConnect

Rollback plan: Vercel rollback

Override cuer@0.0.3's qr dependency to 0.5.5, which supports the border: 0 option used by RainbowKit's QR renderer. Newer qr versions reject it and crash the page when opening WalletConnect.

Refs #810
Copilot AI lite review requested due to automatic review settings September 19, 2026 14:08
@ECWireless ECWireless linked an issue Sep 19, 2026 that may be closed by this pull request
@vercel

vercel Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
explorer-arbitrum-one Ready Ready Preview Sep 19, 2026 2:08pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Pins cuer’s QR dependency to qr@0.5.5 to prevent WalletConnect QR rendering crashes.

Changes:

  • Adds a targeted pnpm override.
  • Updates the lockfile to resolve qr@0.5.5.
File Description
pnpm-lock.yaml Records the pinned QR package and resolution.
package.json Defines the targeted dependency override.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ECWireless
ECWireless requested a review from rickstaa September 19, 2026 14:19
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.

WalletConnect causes Explorer to crash

2 participants