Skip to content

Releases: lightsparkdev/go-sdk

Lightspark Go SDK v0.15.1

24 Jul 18:01
982dd64
Compare
Choose a tag to compare
  • Fix: Remove default null param on PayUmaInvoice graphql

Lightspark Go SDK v0.15.0

09 Jul 17:22
4037443
Compare
Choose a tag to compare

What's new

  • Add is_uma and is_lnurl to the Invoice object and RELEASE_PAYMENT_PREIMAGE webhook data.
  • Add extra params to CreateUmaInvoice and PayUmaInvoice for analytics

Lightspark Go SDK v0.14.0

31 May 16:30
2a7cd68
Compare
Choose a tag to compare
  • Add a function to specifiy fess for request withdrawal.

Lightspark Go SDK v0.13.0

17 May 17:42
12bd566
Compare
Choose a tag to compare

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

12 Apr 01:06
e7e4920
Compare
Choose a tag to compare
  • Add RequestError, GraphQLInternalError and, GraphQLError to the client to better differentiate between different types of errors.

Lightspark Go SDK v0.11.1

14 Mar 17:14
0385b58
Compare
Choose a tag to compare
  • Update "lightspark-crypto-go" to v0.2.0 to fix build on some linux versions.

Lightspark Go SDK v0.11.0

02 Mar 00:39
7a3bd76
Compare
Choose a tag to compare
  • 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

23 Feb 21:31
d2ba5d8
Compare
Choose a tag to compare
  • 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

22 Feb 23:09
6b9ad72
Compare
Choose a tag to compare
  • Fix a bug for fetching outgoing payments for an invoice.

Lightspark Go SDK v0.9.0

07 Feb 23:54
1e693b2
Compare
Choose a tag to compare
  • Remove the deprecated payment field from the CreateTestModePayment request.