Skip to content

Releases: lightsparkdev/go-sdk

Lightspark Go SDK v0.16.2

11 Jul 18:36
c505517

Choose a tag to compare

What's Changed

  • Improve webhook request validation and test coverage

Lightspark Go SDK v0.16.1

07 May 23:59
0571903

Choose a tag to compare

What's Changed

  • Replace go-bip32 library

Full Changelog: v0.16.0...v0.16.1

Lightspark Go SDK v0.16.0

22 Apr 01:04
bfd04ac

Choose a tag to compare

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

24 Jul 18:01
982dd64

Choose a tag to compare

  • Fix: Remove default null param on PayUmaInvoice graphql

Lightspark Go SDK v0.15.0

09 Jul 17:22
4037443

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

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

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

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

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

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.