- Fix: Remove default null param on
PayUmaInvoice
graphql
- Add
is_uma
andis_lnurl
to the Invoice object andRELEASE_PAYMENT_PREIMAGE
webhook data. - Add extra params to
CreateUmaInvoice
andPayUmaInvoice
for analytics
- Add a function to specifiy fess for request withdrawal.
- 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.
- Add
RequestError
,GraphQLInternalError
and,GraphQLError
to the client to better differentiate between different types of errors.
- Update "lightspark-crypto-go" to v0.2.0 to fix build on some linux versions.
- 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.
- 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.
- Fix a bug for fetching outgoing payments for an invoice.
- Remove the deprecated
payment
field from theCreateTestModePayment
request. - Remove the unused fragment
- Add 'NodeId' field to remote signing requests.
- Add 'OutgoingPaymentsForInvoice' query to the client.
- Add 'WithdrawalFeeEstimate' query to the client.
- Add
DailyLiquidityForecast
to objects.
- Add ability to load operation signing key directly.
- Fix an issue with 0.7.1's remote signing DER encoding.
- Some minor build fixes to get integration tests working again.
- Make remote signing encode OSK signatures in DER format
- Some minor security hardening (CVE-2023-39325, CVE-2022-28948, SSRF protection in demos)
- Add a function for cancelling unpaid invoices.
- Add UMA invites support.
- Fix serialization of interfaces by including typenames.
- Add a more human-readable
balances
field to nodes and wallets. - Add
deprecated
tags where relevant.
- Remove is_raw field in DeriveKeyAndSign request.
- Expose remote signing requests and responses for the ability to handle them in custom ways.
- Fixed an encoding issue with signing GraphQL requests.
- Moved the UMA protocol out to its own Lightspark-agnostic repo: https://github.com/uma-universal-money-address/umd-go-sdk. Fixed some bugs along the way.
- Breaking change! Adjusting the API to support both remote signing and OSK side-by-side. See
SigningKeyLoader
andclient.LoadNodeSigningKey
for more details. - Added full support for the UMA protocol. See the
uma
package andexamples/uma-server
.
Breaking change! Migrating to remote signing.
Added support for generating invoices for LNURLs.
Use CSPRNG to generate nonce.
Add two functions for test mode.
- CreateTestModeInvoice for creating an test invoice.
- CreateTestModePayment for sending a test payment to an invoice.
Add webhook.
Fixed payment related bugs.
- Fixed time format for sending the signed requests
- Fixed random number seed for sending the signed requests
First draft of the SDK.