Releases: lightsparkdev/go-sdk
Releases · lightsparkdev/go-sdk
Lightspark Go SDK v0.15.1
Lightspark Go SDK v0.15.0
What's new
- Add
is_uma
andis_lnurl
to the Invoice object andRELEASE_PAYMENT_PREIMAGE
webhook data. - Add extra params to
CreateUmaInvoice
andPayUmaInvoice
for analytics
Lightspark Go SDK v0.14.0
- Add a function to specifiy fess for request withdrawal.
Lightspark Go SDK v0.13.0
What's Changed
- Add idempotency where useful
- Add optional PayInvoiceWithIdempotencyKey and RequestWithdrawalWithIdempotencyKey functions to the client.
- Add IdempotencyKey field to OutgoingPayment and Withdrawal objects.
- Add new FetchOutgoingPaymentsByIdempotencyKey query.
- Add FailHtlcs function to cancel pending htlcs (for example for HODL invoices).
- Add FetchInvoiceByPaymentHash and FetchOutgoingPaymentsByPaymentHash to get all outgoing payments for a specific hash.
- Update objects from graphql schema.
Lightspark Go SDK v0.12.0
- Add
RequestError
,GraphQLInternalError
and,GraphQLError
to the client to better differentiate between different types of errors.
Lightspark Go SDK v0.11.1
- Update "lightspark-crypto-go" to v0.2.0 to fix build on some linux versions.
Lightspark Go SDK v0.11.0
- Add
CreateNodeWalletAddressWithKeys
to the client to return the public keys for the L1 address. - Add a utility function to create a 2-of-2 multisig L1 address based on 2 public keys.
Lightspark Go SDK v0.10.0
- Add
FetchIncomingPaymentsByInvoice
to the client. - Return the whole payment object when fetching payments for an invoice.
- Some tweaks to the
ChannelSnapshot
object. - Adding more documentation.
Lightspark Go SDK v0.9.1
- Fix a bug for fetching outgoing payments for an invoice.
Lightspark Go SDK v0.9.0
- Remove the deprecated
payment
field from theCreateTestModePayment
request.