From 282f84d0ab5870c3e39c8fede293cb3d1e359e1b Mon Sep 17 00:00:00 2001 From: Erdem Yerebasmaz Date: Tue, 20 Aug 2024 15:45:09 +0300 Subject: [PATCH] Exclude `use_trampoline` field of `LnUrlPayRequest` on `liquid` feature of `sdk-common` (#1076) * Exclude `use_trampoline` field of `LnUrlPayRequest` from `liquid` feature * chore: flutter pub get && flutter pub upgrade * Add comment as to why use_trampoline is excluded on Liquid feature Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com> --------- Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com> --- libs/sdk-common/src/lnurl/specs/pay.rs | 1 + libs/sdk-flutter/pubspec.lock | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libs/sdk-common/src/lnurl/specs/pay.rs b/libs/sdk-common/src/lnurl/specs/pay.rs index adebfbef6..bf278fcd6 100644 --- a/libs/sdk-common/src/lnurl/specs/pay.rs +++ b/libs/sdk-common/src/lnurl/specs/pay.rs @@ -132,6 +132,7 @@ pub mod model { pub data: LnUrlPayRequestData, /// The amount in millisatoshis for this payment pub amount_msat: u64, + #[cfg(not(feature = "liquid"))] // Only available for the Greenlight SDK /// Trampoline payments outsource pathfinding to the LSP. Trampoline payments can improve /// payment performance, but are generally more expensive in terms of fees and they /// compromise on privacy. diff --git a/libs/sdk-flutter/pubspec.lock b/libs/sdk-flutter/pubspec.lock index 602d2edc7..966b705f5 100644 --- a/libs/sdk-flutter/pubspec.lock +++ b/libs/sdk-flutter/pubspec.lock @@ -181,10 +181,10 @@ packages: dependency: transitive description: name: crypto - sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab + sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.0.5" dart_style: dependency: transitive description: @@ -205,10 +205,10 @@ packages: dependency: "direct main" description: name: ffi - sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21" + sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.3" ffigen: dependency: "direct dev" description: