mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-19 06:54:25 +01:00
Regenerate Dart bindings
Remove GetInfoRequest from example app Update min Dart SDK version
This commit is contained in:
@@ -330,4 +330,4 @@ packages:
|
|||||||
source: hosted
|
source: hosted
|
||||||
version: "2.2.1"
|
version: "2.2.1"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=3.3.0 <4.0.0"
|
dart: ">=3.4.0 <4.0.0"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: breez_liquid_sdk_workspace
|
name: breez_liquid_sdk_workspace
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.4.0 <4.0.0'
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
melos: ^3.0.1
|
melos: ^3.0.1
|
||||||
lints: ^3.0.0
|
lints: ^3.0.0
|
||||||
|
|||||||
@@ -37,10 +37,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: collection
|
name: collection
|
||||||
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
|
sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.18.0"
|
version: "1.19.0"
|
||||||
file:
|
file:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -114,4 +114,4 @@ packages:
|
|||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.2"
|
version: "2.0.2"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=3.0.0 <4.0.0"
|
dart: ">=3.4.0 <4.0.0"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ repository: https://github.com/breez/breez-liquid-sdk
|
|||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.4.0 <4.0.0'
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
args:
|
args:
|
||||||
|
|||||||
@@ -1636,9 +1636,12 @@ class RustLibWire implements BaseWire {
|
|||||||
_dummy_method_to_enforce_bundlingPtr.asFunction<int Function()>();
|
_dummy_method_to_enforce_bundlingPtr.asFunction<int Function()>();
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef DartPostCObjectFnType
|
typedef DartPostCObjectFnType = ffi.Pointer<ffi.NativeFunction<DartPostCObjectFnTypeFunction>>;
|
||||||
= ffi.Pointer<ffi.NativeFunction<ffi.Bool Function(DartPort port_id, ffi.Pointer<ffi.Void> message)>>;
|
typedef DartPostCObjectFnTypeFunction = ffi.Bool Function(DartPort port_id, ffi.Pointer<ffi.Void> message);
|
||||||
|
typedef DartDartPostCObjectFnTypeFunction = bool Function(
|
||||||
|
DartDartPort port_id, ffi.Pointer<ffi.Void> message);
|
||||||
typedef DartPort = ffi.Int64;
|
typedef DartPort = ffi.Int64;
|
||||||
|
typedef DartDartPort = int;
|
||||||
|
|
||||||
final class wire_cst_list_prim_u_8_strict extends ffi.Struct {
|
final class wire_cst_list_prim_u_8_strict extends ffi.Struct {
|
||||||
external ffi.Pointer<ffi.Uint8> ptr;
|
external ffi.Pointer<ffi.Uint8> ptr;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ platforms:
|
|||||||
ios:
|
ios:
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.4.0 <4.0.0'
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
build_runner: ^2.4.10
|
build_runner: ^2.4.10
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class BreezLiquidSDK {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<liquid_sdk.GetInfoResponse> _getInfo(liquid_sdk.BindingLiquidSdk sdk) async {
|
Future<liquid_sdk.GetInfoResponse> _getInfo(liquid_sdk.BindingLiquidSdk sdk) async {
|
||||||
final walletInfo = await sdk.getInfo(req: const liquid_sdk.GetInfoRequest(withScan: false));
|
final walletInfo = await sdk.getInfo();
|
||||||
_walletInfoController.add(walletInfo);
|
_walletInfoController.add(walletInfo);
|
||||||
return walletInfo;
|
return walletInfo;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ publish_to: 'none'
|
|||||||
version: 1.0.0+1
|
version: 1.0.0+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.4.0 <4.0.0'
|
||||||
flutter: ">=3.10.0"
|
flutter: ">=3.10.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version: 0.1.0
|
|||||||
homepage: https://breez.technology
|
homepage: https://breez.technology
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.4.0 <4.0.0'
|
||||||
flutter: ">=3.10.0"
|
flutter: ">=3.10.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user