Skip to content

v0.69.0-beta

Compare
Choose a tag to compare
@andrei-21 andrei-21 released this 14 Nov 14:01
· 149 commits to main since this release
ddd5a40

What's Changed

UDL Changes

modified   src/lipalightninglib.udl
@@ -53,6 +53,9 @@ interface LightningNode {
     [Throws=LnError]
     OutgoingPaymentInfo get_outgoing_payment(string hash);
 
+    [Throws=LnError]
+    Activity get_activity(string hash);
+
     [Throws=LnError]
     void set_payment_personal_note(string payment_hash, string note);
 
@@ -191,6 +194,28 @@ interface LightningNode {
 
     [Throws=LnError]
     void set_feature_flag(FeatureFlag feature, boolean flag_enabled);
+
+    Activities activities();
+};
+
+interface Activities {
+    [Throws=LnError]
+    ListActivitiesResponse list(u32 number_of_activities);
+
+    [Throws=LnError]
+    Activity get(string hash);
+
+    [Throws=LnError]
+    Activity? get_by_reverse_swap(string reverse_swap_id);
+    
+    [Throws=LnError]
+    IncomingPaymentInfo get_incoming_payment(string hash);
+
+    [Throws=LnError]
+    OutgoingPaymentInfo get_outgoing_payment(string hash);
+    
+    [Throws=LnError]
+    void set_personal_note(string payment_hash, string note);
 };
 
 dictionary Config {
@@ -256,6 +281,7 @@ callback interface EventsCallback {
     void payment_failed(string payment_hash);
     void channel_closed(string channel_id, string reason);
     void swap_received(string payment_hash);
+    void reverse_swap_sent(string reverse_swap_id);
     void breez_health_status_changed_to(BreezHealthCheckStatus status);
     void synced();
 };

Misc

Full Changelog: v0.68.0-beta...v0.69.0-beta