Skip to content

chore: sync dev with main#1897

Merged
30 commits merged into
devfrom
main
May 5, 2026
Merged

chore: sync dev with main#1897
30 commits merged into
devfrom
main

Conversation

@chip-peanut-bot

Copy link
Copy Markdown
Contributor

Branch Sync

main is 7 commits ahead of dev.

Commits to sync:

• content: update submodule — add delete-account help article
• Merge pull request #1895 from peanutprotocol/chip/update-content-20260423-095812
• fix: redirect /help/:slug to /en/help/:slug
• fix: redirect /help/:slug to /en/help/:slug (formatted)
• fix: redirect /help/:slug to /en/help/:slug
• fix: add missing newline at end of redirects.json
• Merge pull request #1896 from peanutprotocol/chip/help-redirect-fix-20260423-101616


Auto-generated by Chip 🐿️

chip-peanut-bot Bot and others added 7 commits April 23, 2026 09:58
Adds /help/delete-account page for Google Play compliance.
Users can learn how to request account deletion via support,
what data is removed vs retained, and pre-deletion steps.
…0423-095812

Update content submodule — add delete-account help article
Adds wildcard redirect for help article URLs without locale prefix.
Fixes /help/delete-account 404 — now redirects to /en/help/delete-account.
Adds wildcard redirect for help article URLs without locale prefix.
Fixes /help/delete-account 404 — now redirects to /en/help/delete-account.
Adds wildcard redirect for help article URLs without locale prefix.
Fixes /help/delete-account 404 — now redirects to /en/help/delete-account.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…0260423-101616

fix: redirect /help/:slug to /en/help/:slug
@vercel

vercel Bot commented Apr 24, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
peanut-wallet Ready Ready Preview, Comment May 1, 2026 4:17pm

Request Review

- useProviderRejectionStatus: derives per-provider fixable/blocked state from rails + kycVerifications
- initiateSelfHealResubmission server action: calls POST /users/identity/resubmit
- update IUserKycVerification type with PROVIDER_FIXABLE/PROVIDER_FINAL rejectTypes
- update isTerminalRejection to handle PROVIDER_FINAL
- two-level status display: identity verified + provider-specific rejection
- "Upload document" CTA triggers self-heal resubmission flow via parent callback
- "Contact support" for permanently blocked rejections
… cleanup

- only call handleSelfHealResubmit for 'fixable' rejections, not 'blocked'
- clear selfHealProviderRef on error to prevent wrong token refresh endpoint
- await handleSelfHealResubmit in KycStatusDrawer + reset onKeepMounted on failure
- primaryRejection falls back to blocked provider when no fixable exists
- sort manteca KYC verifications by updatedAt in QR gate for latest state
…, magic number

- MantecaAddMoney: only self-heal for fixable (was still including blocked)
- clear selfHealProviderRef when API returns success but no token
- remove dead variable in useProviderRejectionStatus endorsement branch
- replace magic number 3 with MAX_SELF_HEAL_ATTEMPTS in useQrKycGate
feat: self-heal UI for provider-rejected users
chip-peanut-bot Bot and others added 3 commits April 29, 2026 14:21
- Set disableSquidSend: true in underMaintenance.config.ts
- Add guard in Initial.view.tsx to block x-chain claims when disabled
- Add guard in Confirm.view.tsx to block x-chain claims when disabled
- Shows clear error message to users instead of failing silently

Refs: https://discord.com/channels/972435984954302464/1499037819379777696
- flip disableSquidWithdraw too — picker already gates withdraw view, no extra code needed
- replace throw -> ErrorHandler path with setErrorState directly so the maintenance copy actually reaches the user (ErrorHandler had no matching branch, was returning generic "contact support")
- extract CROSS_CHAIN_DISABLED_MESSAGE constant so claim and confirm views share the same copy
- pass crossRegion: true in all 3 handleInitiateKyc('LATAM') callsites
  (MantecaAddMoney, withdraw/manteca, MantecaFlowManager) so the backend
  creates the manteca applicant action for already-approved users
- prefer userMessage from API error responses in initiateSumsubKyc
- render sumsubFlow.error directly in JSX for region_not_supported errors
prevents MK user with crossRegion: true from bypassing eligibility gate
call handleSumsubApproved directly after SDK complete for action flows
since the base KYC status is already APPROVED and won't transition.
this makes the modal progress verifying → preparing → complete with
real-time rail tracking instead of getting stuck at "verifying..."
when a sumsub-approved user triggers the manteca KYC modal, show:
"Your identity is already verified. To enable payments in this region,
we need a valid ID from [Country]." instead of generic "verify your identity"
The preview deploy workflow was failing because the Vercel CLI
defaulted to looking up the project under "squirrelcores-projects"
scope, which the VERCEL_TOKEN doesn't have access to. Adding
explicit --scope=squirrellabs to link, pull, and deploy commands
resolves the authorization error.
fix(ci): add Vercel scope to preview deploy workflow
kushagrasarathe and others added 3 commits May 1, 2026 16:59
when a sumsub-approved user without bridge access tries to deposit or
withdraw via bridge, show the cross_region modal explaining they need
to set up payments for this region. on confirm, triggers bridge-direct
enrollment (no SDK needed) → progress modal → ToS → ready.

fixes the case where LATAM users see transfer failures when trying
bridge flows because bridgeCustomerId is null.
- add preventClose to InitiateKycModal (fixes headlessui Dialog focus
  conflict that caused modal to close on first attempt)
- prioritize needsBridgeEnrollment over stale rejection state in
  bridge deposit variant logic
- add JIT bridge enrollment in AddWithdrawCountriesList: when user
  submits bank details without bridge access, show cross_region modal
  first — enrollment happens on user confirm via "Start Verification"
fix: pass crossRegion to manteca KYC flows + surface region errors
@kushagrasarathe kushagrasarathe closed this pull request by merging all changes into dev in 2c47f92 May 5, 2026
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.

2 participants