Skip to content

Releases: getlipa/lipa-lightning-lib

v0.65.2-beta

07 Oct 08:54
9c26fbb
Compare
Choose a tag to compare

What's Changed

  • Check the length of the vector before splitting off by @andrei-21 in #1210
  • Fix warning about filename collision when building pocket mock by @andrei-21 in #1211

Full Changelog: v0.65.1-beta...v0.65.2-beta

v0.65.1-beta

04 Oct 09:45
fdefc67
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.65.0-beta...v0.65.1-beta

v0.65.0-beta

02 Oct 08:11
d7c96d5
Compare
Choose a tag to compare

What's Changed

UDL Changes

@@ -767,7 +767,6 @@ enum RuntimeErrorCode {
     "BackupServiceUnavailable",
     "BackupNotFound",
     "NodeUnavailable",
-    "FailedFundMigration",
 };

Full Changelog: v0.64.0-beta...v0.65.0-beta

v0.64.0-beta

25 Sep 13:24
6b37f3a
Compare
Choose a tag to compare

What's Changed

UDL Changes

index 6f56078..5c23c1b 100644
--- a/src/lipalightninglib.udl
+++ b/src/lipalightninglib.udl
@@ -579,6 +579,7 @@ dictionary SwapInfo {
 
 dictionary ReverseSwapInfo {
     Amount paid_onchain_amount;
+    Amount swap_fees_amount;
     string? claim_txid;
     ReverseSwapStatus status;
 };

Full Changelog: v0.63.0-beta...v0.64.0-beta

v0.63.0-beta

24 Sep 16:45
3c8bda5
Compare
Choose a tag to compare

What's Changed

UDL Changes

index 910cc76..6f56078 100644
--- a/src/lipalightninglib.udl
+++ b/src/lipalightninglib.udl
@@ -259,7 +259,8 @@ dictionary NodeInfo {
 
 dictionary ChannelsInfo {
     Amount local_balance;
-    Amount inbound_capacity;
+    Amount max_receivable_single_payment;
+    Amount total_inbound_capacity;
     Amount outbound_capacity;
 };
 

Full Changelog: v0.61.0-beta...v0.63.0-beta

v0.62.3-beta

05 Sep 15:31
8405855
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.62.2-beta...v0.62.3-beta

v0.62.2-beta

03 Sep 14:47
0cab752
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.62.1-beta...v0.62.2-beta

v0.62.1-beta

26 Aug 08:01
1fddf56
Compare
Choose a tag to compare

What's Changed

  • Fix out of date info.plist and stop use of letter chars in version by @danielgranhao in #1174

Full Changelog: v0.62.0-beta...v0.62.1-beta

v0.62.0-beta

20 Aug 16:03
8d90f07
Compare
Choose a tag to compare

What's Changed

UDL Changes

index 6181cdf..9f8f92e 100644
--- a/src/lipalightninglib.udl
+++ b/src/lipalightninglib.udl
@@ -75,7 +75,7 @@ interface LightningNode {
     void change_timezone_config(TzConfig timezone_config);
 
     [Throws=LnError]
-    void accept_pocket_terms_and_conditions(i64 version);
+    void accept_pocket_terms_and_conditions(i64 version, string fingerprint);
 
     [Throws=LnError]
     TermsAndConditionsStatus get_terms_and_conditions_status(TermsAndConditions terms_and_conditions);
@@ -184,20 +184,40 @@ interface LightningNode {
 };
 
 dictionary Config {
-    EnvironmentCode environment;
     bytes seed;
     string fiat_currency;
     string local_persistence_path;
     TzConfig timezone_config;
     Level? file_logging_level;
     sequence<string> phone_number_allowed_countries_iso_3166_1_alpha_2;
+    RemoteServicesConfig remote_services_config;
+    BreezSdkConfig breez_sdk_config;
+    MaxRoutingFeeConfig max_routing_fee_config;
+    ReceiveLimitsConfig receive_limits_config;
 };
 
-enum EnvironmentCode {
-    "Local",
-    "Dev",
-    "Stage",
-    "Prod",
+dictionary RemoteServicesConfig {
+    string backend_url;
+    string pocket_url;
+    string notification_webhook_base_url;
+    string notification_webhook_secret_hex;
+    string lipa_lightning_domain;
+};
+
+dictionary BreezSdkConfig {
+    string breez_sdk_api_key;
+    string breez_sdk_partner_certificate;
+    string breez_sdk_partner_key;
+};
+
+dictionary MaxRoutingFeeConfig {
+    u16 max_routing_fee_permyriad;
+    u64 max_routing_fee_exempt_fee_sats;
+};
+
+dictionary ReceiveLimitsConfig {
+    u64 max_receive_amount_sat;
+    f64 min_receive_channel_open_fee_multiplier;
 };
 
 dictionary TzConfig {
@@ -673,13 +693,13 @@ namespace lipalightninglib {
     sequence<string> words_by_prefix(string prefix);
 
     [Throws=LnError]
-    void accept_terms_and_conditions(EnvironmentCode environment, bytes seed, i64 version);
+    void accept_terms_and_conditions(string backend_url, bytes seed, i64 version, string fingerprint);
 
     [Throws=LnError]
-    TermsAndConditionsStatus get_terms_and_conditions_status(EnvironmentCode environment, bytes seed, TermsAndConditions terms_and_conditions);
+    TermsAndConditionsStatus get_terms_and_conditions_status(string backend_url, bytes seed, TermsAndConditions terms_and_conditions);
 
     [Throws=LnError]
-    void recover_lightning_node(EnvironmentCode environment, bytes seed, string local_persistence_path, Level? file_logging_level);
+    void recover_lightning_node(string backend_url, bytes seed, string local_persistence_path, Level? file_logging_level);
 
     [Throws=ParseError]
     void parse_lightning_address([ByRef] string address);

Full Changelog: v0.61.0-beta...v0.62.0-beta

v0.61.0-beta

08 Aug 11:31
f7ad50d
Compare
Choose a tag to compare

What's Changed

UDL Changes

index 8fa9534..6181cdf 100644
--- a/src/lipalightninglib.udl
+++ b/src/lipalightninglib.udl
@@ -113,7 +113,7 @@ interface LightningNode {
     [Throws=LnError]
     u32 query_onchain_fee_rate();
 
-    [Throws=LnError]
+    [Throws=SweepError]
     SweepInfo prepare_sweep(string address, u32 onchain_fee_rate);
 
     [Throws=LnError]
@@ -134,7 +134,7 @@ interface LightningNode {
     [Throws=LnError]
     ChannelCloseResolvingFees? get_channel_close_resolving_fees();
 
-    [Throws=SwapError]
+    [Throws=SweepError]
     string swap_onchain_to_lightning(u32 sats_per_vbyte, OpeningFeeParams? lsp_fee_params);
 
     [Throws=LnError]
@@ -838,6 +838,13 @@ interface SwapError {
     SwapInProgress(string err);
 };
 
+[Error]
+interface SweepError {
+    Generic(string err);
+    ServiceConnectivity(string err);
+    InsufficientFunds(string err);
+};
+
 [Error]
 interface NotificationHandlingError {
     InvalidInput(string msg);

Full Changelog: v0.60.1-beta...v0.61.0-beta