Releases: lightsparkdev/go-sdk
Releases · lightsparkdev/go-sdk
Lightspark Go SDK v0.16.2
Lightspark Go SDK v0.16.1
Lightspark Go SDK v0.16.0
What's Changed
- Add
LightsparkClient.CreateInvoiceWithPaymentHash - Add util functions for preimage generation
- Add L1 wallet validation
- Add support for offers
Full Changelog: v0.15.1...v0.16.0
Lightspark Go SDK v0.15.1
- Fix: Remove default null param on
PayUmaInvoicegraphql
Lightspark Go SDK v0.15.0
What's new
- Add
is_umaandis_lnurlto the Invoice object andRELEASE_PAYMENT_PREIMAGEwebhook data. - Add extra params to
CreateUmaInvoiceandPayUmaInvoicefor 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,GraphQLInternalErrorand,GraphQLErrorto 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
CreateNodeWalletAddressWithKeysto 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.