Skip to content

feat(adapters): coalescing, wallet change events, envelope validation… - #1195

Merged
Jaydbrown merged 2 commits into
conduit-protocol:mainfrom
Chidubemkingsley:fix/adapter-resilience-1186-1189
Nov 22, 2026
Merged

Jaydbrown merged 2 commits into
conduit-protocol:mainfrom
Chidubemkingsley:fix/adapter-resilience-1186-1189

Conversation

@Chidubemkingsley

Copy link
Copy Markdown
Contributor

What does this PR do?

Type of change

  • Bug fix
  • New feature / method
  • Refactor
  • Test coverage
  • Documentation
  • Dependency update

Related issue

Closes #

Changes

File Change

Checklist

  • npm run typecheck — no errors
  • npm run lint — no warnings
  • npm test — all tests pass
  • npm run build — bundle compiles cleanly
  • No any types introduced
  • New public methods documented in docs/api.md
  • All on-chain amounts kept as bigint — no Number() conversion in arithmetic
  • New methods mock-tested in src/tests/
  • CHANGELOG.md updated under [Unreleased]
  • src/index.ts updated if new exports added

Breaking changes?

  • No
  • Yes — describe below and add BREAKING CHANGE: footer to relevant commit

Notes for reviewers

…, ping watchdog (conduit-protocol#1186-conduit-protocol#1189)

- conduit-protocol#1186: add AsyncCoalescer/createAsyncCoalescer for in-flight promise dedup
- conduit-protocol#1187: detect Freighter account/network/lock changes via pushed events + polling
- conduit-protocol#1188: validate Albedo response schema and signed envelope XDR/signatures
- conduit-protocol#1189: WalletConnect ping watchdog with auto-cleanup on disconnect
- add focused tests for each change
@drips-wave

drips-wave Bot commented Nov 21, 2026

Copy link
Copy Markdown

@Chidubemkingsley Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Resolve conflicts by keeping upstream's superset implementations (Freighter
change detection, Albedo custom networks/signature checks, WalletConnect ping
watchdog) and layering on the issue-specific additions:
- coalesce: AsyncCoalescer/createAsyncCoalescer wrapper around coalesceInFlight
- freighter: pushed accountChanged/networkChanged events + account/network
  listener hooks, keeps signing passphrase in sync
- albedo: full envelope schema/XDR/signature-count verification
- walletconnect: explicit pairingTopic type + extra watchdog tests

Re-imported upstream's 85 commits (incl. PR conduit-protocol#1113).
@Jaydbrown
Jaydbrown merged commit 1ff8d64 into conduit-protocol:main Nov 22, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants