Skip to content

refactor: extract Recipient type in intentBuilder#217

Merged
lcovar merged 1 commit intomasterfrom
refactor/recipient-type
Mar 20, 2026
Merged

refactor: extract Recipient type in intentBuilder#217
lcovar merged 1 commit intomasterfrom
refactor/recipient-type

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Mar 18, 2026

PaymentIntent and ConsolidateIntent both had identical inline recipient shapes. Extract into a shared Recipient interface and export it from the package.

Stacked on #BTC-3188 (consolidate token support).

Addresses review feedback from Otto on #208.

@lcovar lcovar requested a review from a team as a code owner March 18, 2026 23:23
@lcovar lcovar force-pushed the refactor/recipient-type branch from 31c7cb7 to 58810ca Compare March 18, 2026 23:26
Base automatically changed from BTC-3188/consolidate-token-support to master March 19, 2026 14:25
@lcovar lcovar force-pushed the refactor/recipient-type branch from 58810ca to 29701e9 Compare March 19, 2026 20:52
PaymentIntent and ConsolidateIntent both had identical inline recipient
shapes. Extract into a shared Recipient interface and export it from
the package.

Addresses review feedback from Otto on PR #208.
@lcovar lcovar force-pushed the refactor/recipient-type branch from 29701e9 to adc2d4f Compare March 19, 2026 20:52
@lcovar lcovar merged commit a4db2f9 into master Mar 20, 2026
13 checks passed
@lcovar lcovar deleted the refactor/recipient-type branch March 20, 2026 00:29
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