Skip to content

Peanut wallet#1662

Merged
jjramirezn merged 12 commits intopeanut-wallet-devfrom
peanut-wallet
Feb 2, 2026
Merged

Peanut wallet#1662
jjramirezn merged 12 commits intopeanut-wallet-devfrom
peanut-wallet

Conversation

@jjramirezn
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Feb 2, 2026

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

Project Deployment Actions Updated (UTC)
peanut-wallet Ready Ready Preview, Comment Feb 2, 2026 7:30pm

Request Review

@jjramirezn jjramirezn merged commit c378cb3 into peanut-wallet-dev Feb 2, 2026
6 of 7 checks passed
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 2, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

This PR introduces a dependency update, refactors QR scanner functionality with improved retry logic and camera resilience, updates styling and conditional logic in a KYC-related UI component, reformats OG image component wrapping, modifies a bank transfer warning card UI variant, and adjusts Slider component interface formatting.

Changes

Cohort / File(s) Summary
Dependencies
package.json
Added @emotion/styled version ^11.14.1 to dependencies.
QR Scanner Enhancement
src/components/Global/QRScanner/useQRScanner.ts
Introduced custom scan region calculation, retry logic for camera initialization with configurable delays and max retries, inversion mode enablement, debounced scan deduplication, and comprehensive logging for debugging. Added video element resilience via retry tracking and synchronization refs.
KYC Flow Logic
src/components/Kyc/InitiateBridgeKYCModal.tsx
Made addParamStep('bank') conditional, executing only when flow is not 'add', altering initial KYC parameterization control flow.
UI Component Updates
src/app/(mobile-ui)/add-money/.../bank/page.tsx, src/components/Slider/index.tsx
Replaced warning card variant with info variant and inverted conditional logic for message selection in bank transfer page; reformatted SliderProps interface declaration to single-line extends syntax.
API & OG Images
src/app/api/og/route.tsx
Removed unnecessary JSX wrapping parentheses around OG image components (InviteCardOG, ProfileCardOG, ReceiptCardOG, PaymentCardOG) without altering functionality.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • Hugo0
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch peanut-wallet

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

3 participants