mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-20 07:24:26 +01:00
Integrate sdk-common (#308)
* Rename Network to LiquidSdkNetwork to avoid naming conflicts with sdk-common * Integrate sdk-common: re-use parse_invoice * Fix UDL bindings tests * Add input parser support * CLI: Add input parser support * Integrate lnurl-pay * Cargo format, re-generate FRB and RN bindings * Duplicate LnUrlPayError, update FRB/UniFFI bindings * Move duplicate LnUrlPayError to FRB bindings.rs * Add support for lnurl-withdraw * Lnurl-withdraw: convert units, incorporate fees * Bump sdk-common, rename InputType::LnUrlError * Bump sdk-common, remove Wrapped prefix from LnUrlPaySuccessData, LnUrlPayResult * LNURL-withdraw: add missing UDL mappings * Add support for LNURL-auth * Move LNURL structs into models.rs * Rename LiquidSdkNetwork to LiquidNetwork * Fix binding tests * Fix tests * Move FRB mirroring structs to bindings.rs * Remove TODO * Bump sdk-common, remove sdk-common dependency on rusqlite * Propagate LiquidNetwork rename into flutter example app * CI: install protobuf before running clippy * CI: add rust cache, protobuf for remaining rust steps
This commit is contained in:
@@ -23,7 +23,7 @@ void main() async {
|
||||
Future<BindingLiquidSdk> reconnect({
|
||||
required BreezLiquidSDK liquidSDK,
|
||||
required String mnemonic,
|
||||
Network network = Network.mainnet,
|
||||
LiquidNetwork network = LiquidNetwork.mainnet,
|
||||
}) async {
|
||||
final config = await getConfig(network: network);
|
||||
final req = ConnectRequest(
|
||||
|
||||
Reference in New Issue
Block a user