Skip to content

Commit

Permalink
Regenerate Dart bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Dec 19, 2023
1 parent c23db0b commit 9f35333
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
25 changes: 14 additions & 11 deletions libs/sdk-flutter/lib/bridge_generated.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4479,16 +4479,17 @@ class BreezSdkCoreWire implements FlutterRustBridgeWireBase {
: _lookup = lookup;

void store_dart_post_cobject(
int ptr,
DartPostCObjectFnType ptr,
) {
return _store_dart_post_cobject(
ptr,
);
}

late final _store_dart_post_cobjectPtr =
_lookup<ffi.NativeFunction<ffi.Void Function(ffi.Int)>>('store_dart_post_cobject');
late final _store_dart_post_cobject = _store_dart_post_cobjectPtr.asFunction<void Function(int)>();
_lookup<ffi.NativeFunction<ffi.Void Function(DartPostCObjectFnType)>>('store_dart_post_cobject');
late final _store_dart_post_cobject =
_store_dart_post_cobjectPtr.asFunction<void Function(DartPostCObjectFnType)>();

Object get_dart_object(
int ptr,
Expand Down Expand Up @@ -5275,18 +5276,18 @@ class BreezSdkCoreWire implements FlutterRustBridgeWireBase {
late final _wire_execute_command =
_wire_execute_commandPtr.asFunction<void Function(int, ffi.Pointer<wire_uint_8_list>)>();

ffi.Pointer<bool> new_box_autoadd_bool_0(
ffi.Pointer<bool> value,
ffi.Pointer<ffi.Bool> new_box_autoadd_bool_0(
bool value,
) {
return _new_box_autoadd_bool_0(
value,
);
}

late final _new_box_autoadd_bool_0Ptr =
_lookup<ffi.NativeFunction<ffi.Pointer<bool> Function(ffi.Pointer<bool>)>>('new_box_autoadd_bool_0');
_lookup<ffi.NativeFunction<ffi.Pointer<ffi.Bool> Function(ffi.Bool)>>('new_box_autoadd_bool_0');
late final _new_box_autoadd_bool_0 =
_new_box_autoadd_bool_0Ptr.asFunction<ffi.Pointer<bool> Function(ffi.Pointer<bool>)>();
_new_box_autoadd_bool_0Ptr.asFunction<ffi.Pointer<ffi.Bool> Function(bool)>();

ffi.Pointer<wire_BuyBitcoinRequest> new_box_autoadd_buy_bitcoin_request_0() {
return _new_box_autoadd_buy_bitcoin_request_0();
Expand Down Expand Up @@ -5755,15 +5756,13 @@ final class wire_ListPaymentsRequest extends ffi.Struct {

external ffi.Pointer<ffi.Int64> to_timestamp;

external ffi.Pointer<bool> include_failures;
external ffi.Pointer<ffi.Bool> include_failures;

external ffi.Pointer<ffi.Uint32> offset;

external ffi.Pointer<ffi.Uint32> limit;
}

typedef bool = ffi.NativeFunction<ffi.Int Function(ffi.Pointer<ffi.Int>)>;

final class wire_SendPaymentRequest extends ffi.Struct {
external ffi.Pointer<wire_uint_8_list> bolt11;

Expand Down Expand Up @@ -5821,7 +5820,7 @@ final class wire_ReceivePaymentRequest extends ffi.Struct {

external ffi.Pointer<wire_OpeningFeeParams> opening_fee_params;

external ffi.Pointer<bool> use_description_hash;
external ffi.Pointer<ffi.Bool> use_description_hash;

external ffi.Pointer<ffi.Uint32> expiry;

Expand Down Expand Up @@ -5976,6 +5975,10 @@ final class wire_ReverseSwapFeesRequest extends ffi.Struct {
external ffi.Pointer<ffi.Uint64> send_amount_sat;
}

typedef DartPostCObjectFnType
= ffi.Pointer<ffi.NativeFunction<ffi.Bool Function(DartPort port_id, ffi.Pointer<ffi.Void> message)>>;
typedef DartPort = ffi.Int64;

const int SWAP_PAYMENT_FEE_EXPIRY_SECONDS = 172800;

const int INVOICE_PAYMENT_FEE_EXPIRY_SECONDS = 3600;
Expand Down
24 changes: 12 additions & 12 deletions libs/sdk-flutter/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.2"
version: "1.18.0"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -383,10 +383,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
mime:
dependency: transitive
description:
Expand Down Expand Up @@ -532,18 +532,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
stream_transform:
dependency: transitive
description:
Expand Down Expand Up @@ -572,10 +572,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
version: "0.6.1"
timing:
dependency: transitive
description:
Expand Down Expand Up @@ -628,10 +628,10 @@ packages:
dependency: transitive
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
url: "https://pub.dev"
source: hosted
version: "0.1.4-beta"
version: "0.3.0"
web_socket_channel:
dependency: transitive
description:
Expand Down

0 comments on commit 9f35333

Please sign in to comment.