Skip to content

Conversation

@davidkaplanbitgo
Copy link
Contributor

The CreateInvoiceBody type is updated to:

  1. Make valueMsat field optional instead of required
  2. Add new optional valueSat field (numeric representation)
  3. Simplify the type definition structure

Also adds valueSat field to the Invoice type as a backward compatibility measure with older API versions.

BTC-2775

@davidkaplanbitgo davidkaplanbitgo changed the title feat(wp): make valueMsat optional add valueSat support feat(abstract-lightning): make valueMsat optional add valueSat support Jan 23, 2026
The CreateInvoiceBody type is updated to:
1. Make valueMsat field optional instead of required
2. Add new optional valueSat field (numeric representation)
3. Simplify the type definition structure

Also adds valueSat field to the Invoice type as a backward compatibility
measure with older API versions.

BTC-2775

TICKET: BTC-2775
@davidkaplanbitgo davidkaplanbitgo marked this pull request as ready for review January 23, 2026 18:10
@davidkaplanbitgo davidkaplanbitgo requested a review from a team as a code owner January 23, 2026 18:10
@davidkaplanbitgo
Copy link
Contributor Author

audit failures are not because of my changes

@davidkaplanbitgo davidkaplanbitgo marked this pull request as draft January 23, 2026 21:09
@davidkaplanbitgo
Copy link
Contributor Author

Need to wait for WP PR to be merged in

@davidkaplanbitgo davidkaplanbitgo marked this pull request as ready for review January 23, 2026 21:28
@davidkaplanbitgo davidkaplanbitgo merged commit 9b284f3 into master Jan 23, 2026
19 of 20 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

Development

Successfully merging this pull request may close these issues.

3 participants