Skip to content

pay-common: add granular SessionState types#199

Open
GianlucaMinoprio wants to merge 2 commits intomasterfrom
gl/session-state-update
Open

pay-common: add granular SessionState types#199
GianlucaMinoprio wants to merge 2 commits intomasterfrom
gl/session-state-update

Conversation

@GianlucaMinoprio
Copy link
Contributor

@GianlucaMinoprio GianlucaMinoprio commented Jan 25, 2026

Summary

Update SessionState type to include granular states for better deposit tracking:

  • pending - waiting for deposit, no funds received
  • processing - funds received, bridging/swapping in progress
  • completed - funds delivered to destination
  • expired - session timed out

This replaces the previous "paid" state which didn't distinguish between processing and completed.

Related

Part of daimo-internal PR #1260 (deposit address API)


Open with Devin

Update SessionState from "pending" | "paid" | "expired" to include:
- pending: waiting for deposit
- processing: funds received, bridging in progress
- completed: funds delivered
- expired: session timed out
@vercel
Copy link

vercel bot commented Jan 25, 2026

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

Project Deployment Review Updated (UTC)
daimo-pay-demo Ready Ready Preview, Comment Jan 26, 2026 0:01am

Request Review

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional flags.

Open in Devin Review

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.

1 participant