Skip to content

feat(core): real-time escrow event subscription (SSE + reconnection) #14

Description

@aguilar1x

Context

The widget and integrators need to react to the real escrow lifecycle in real time.

Scope

  • session.on('escrow.funded' | 'fiat.reported' | 'released' | 'disputed', cb) over SSE/WebSocket.
  • Automatic reconnection with cursor-based replay of missed events + heartbeat.
  • Event names must reflect the real escrow_milestones states in Pacto P2P.

Acceptance criteria

  • After a network drop it reconnects without losing events.
  • Events map to real escrow lifecycle states (funded → fiat reported → released / disputed).

Dependencies

#12 and #13.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions