Skip to content

Commit 742de59

Browse files
chore: update Flutter bindings
1 parent d13dc2b commit 742de59

File tree

9 files changed

+66
-61
lines changed

9 files changed

+66
-61
lines changed

crates/yttrium_dart/lib/generated/chain_abstraction/api/prepare.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// @generated by `flutter_rust_bridge`@ 2.7.0.
2+
// @generated by `flutter_rust_bridge`@ 2.8.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

crates/yttrium_dart/lib/generated/chain_abstraction/api/status.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// @generated by `flutter_rust_bridge`@ 2.7.0.
2+
// @generated by `flutter_rust_bridge`@ 2.8.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

@@ -13,7 +13,7 @@ sealed class StatusResponse with _$StatusResponse {
1313
const StatusResponse._();
1414

1515
const factory StatusResponse.pending(
16-
StatusResponsePending field0,
16+
StatusResponsePendingObject field0,
1717
) = StatusResponse_Pending;
1818
const factory StatusResponse.completed(
1919
StatusResponseCompleted field0,
@@ -62,13 +62,13 @@ class StatusResponseError {
6262
error == other.error;
6363
}
6464

65-
class StatusResponsePending {
65+
class StatusResponsePendingObject {
6666
final BigInt createdAt;
6767

6868
/// Polling interval in ms for the client
6969
final BigInt checkIn;
7070

71-
const StatusResponsePending({
71+
const StatusResponsePendingObject({
7272
required this.createdAt,
7373
required this.checkIn,
7474
});
@@ -79,7 +79,7 @@ class StatusResponsePending {
7979
@override
8080
bool operator ==(Object other) =>
8181
identical(this, other) ||
82-
other is StatusResponsePending &&
82+
other is StatusResponsePendingObject &&
8383
runtimeType == other.runtimeType &&
8484
createdAt == other.createdAt &&
8585
checkIn == other.checkIn;

crates/yttrium_dart/lib/generated/chain_abstraction/api/status.freezed.dart

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/yttrium_dart/lib/generated/chain_abstraction/currency.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// @generated by `flutter_rust_bridge`@ 2.7.0.
2+
// @generated by `flutter_rust_bridge`@ 2.8.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

crates/yttrium_dart/lib/generated/chain_abstraction/dart_compat.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// @generated by `flutter_rust_bridge`@ 2.7.0.
2+
// @generated by `flutter_rust_bridge`@ 2.8.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

@@ -13,7 +13,7 @@ import 'package:freezed_annotation/freezed_annotation.dart' hide protected;
1313
import 'ui_fields.dart';
1414
part 'dart_compat.freezed.dart';
1515

16-
// These types are ignored because they are not used by any `pub` functions: `FeeCompat`, `LocalAmountAccCompat`
16+
// These types are ignored because they are neither used by any `pub` functions nor (for structs and enums) marked `#[frb(unignore)]`: `FeeCompat`, `LocalAmountAccCompat`
1717
// These function are ignored because they are on traits that is not defined in current crate (put an empty `#[frb]` on it to unignore): `clone`, `clone`, `clone`, `clone`, `fmt`, `fmt`, `fmt`, `fmt`, `fmt`, `fmt`, `from`, `from`, `from`, `try_from`
1818

1919
// Rust type: RustOpaqueMoi<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<ChainAbstractionClient>>

crates/yttrium_dart/lib/generated/chain_abstraction/error.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// @generated by `flutter_rust_bridge`@ 2.7.0.
2+
// @generated by `flutter_rust_bridge`@ 2.8.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

crates/yttrium_dart/lib/generated/chain_abstraction/ui_fields.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// @generated by `flutter_rust_bridge`@ 2.7.0.
2+
// @generated by `flutter_rust_bridge`@ 2.8.0.
33

44
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
55

crates/yttrium_dart/lib/generated/frb_generated.dart

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is automatically generated, so please do not edit it.
2-
// @generated by `flutter_rust_bridge`@ 2.7.0.
2+
// @generated by `flutter_rust_bridge`@ 2.8.0.
33

44
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
55

@@ -69,14 +69,14 @@ class YttriumDart extends BaseEntrypoint<YttriumDartApi, YttriumDartApiImpl,
6969
kDefaultExternalLibraryLoaderConfig;
7070

7171
@override
72-
String get codegenVersion => '2.7.0';
72+
String get codegenVersion => '2.8.0';
7373

7474
@override
7575
int get rustContentHash => 59075464;
7676

7777
static const kDefaultExternalLibraryLoaderConfig =
7878
ExternalLibraryLoaderConfig(
79-
stem: 'yttrium_dart',
79+
stem: 'yttrium',
8080
ioDirectory: '../yttrium/target/release/',
8181
webPrefix: 'pkg/',
8282
);
@@ -553,10 +553,10 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
553553
}
554554

555555
@protected
556-
StatusResponsePending dco_decode_box_autoadd_status_response_pending(
557-
dynamic raw) {
556+
StatusResponsePendingObject
557+
dco_decode_box_autoadd_status_response_pending_object(dynamic raw) {
558558
// Codec=Dco (DartCObject based), see doc to use other codecs
559-
return dco_decode_status_response_pending(raw);
559+
return dco_decode_status_response_pending_object(raw);
560560
}
561561

562562
@protected
@@ -621,7 +621,7 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
621621
switch (raw[0]) {
622622
case 0:
623623
return StatusResponse_Pending(
624-
dco_decode_box_autoadd_status_response_pending(raw[1]),
624+
dco_decode_box_autoadd_status_response_pending_object(raw[1]),
625625
);
626626
case 1:
627627
return StatusResponse_Completed(
@@ -660,12 +660,13 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
660660
}
661661

662662
@protected
663-
StatusResponsePending dco_decode_status_response_pending(dynamic raw) {
663+
StatusResponsePendingObject dco_decode_status_response_pending_object(
664+
dynamic raw) {
664665
// Codec=Dco (DartCObject based), see doc to use other codecs
665666
final arr = raw as List<dynamic>;
666667
if (arr.length != 2)
667668
throw Exception('unexpected arr length: expect 2 but see ${arr.length}');
668-
return StatusResponsePending(
669+
return StatusResponsePendingObject(
669670
createdAt: dco_decode_u_64(arr[0]),
670671
checkIn: dco_decode_u_64(arr[1]),
671672
);
@@ -811,10 +812,11 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
811812
}
812813

813814
@protected
814-
StatusResponsePending sse_decode_box_autoadd_status_response_pending(
815-
SseDeserializer deserializer) {
815+
StatusResponsePendingObject
816+
sse_decode_box_autoadd_status_response_pending_object(
817+
SseDeserializer deserializer) {
816818
// Codec=Sse (Serialization based), see doc to use other codecs
817-
return (sse_decode_status_response_pending(deserializer));
819+
return (sse_decode_status_response_pending_object(deserializer));
818820
}
819821

820822
@protected
@@ -879,7 +881,7 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
879881
switch (tag_) {
880882
case 0:
881883
var var_field0 =
882-
sse_decode_box_autoadd_status_response_pending(deserializer);
884+
sse_decode_box_autoadd_status_response_pending_object(deserializer);
883885
return StatusResponse_Pending(var_field0);
884886
case 1:
885887
var var_field0 =
@@ -912,12 +914,12 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
912914
}
913915

914916
@protected
915-
StatusResponsePending sse_decode_status_response_pending(
917+
StatusResponsePendingObject sse_decode_status_response_pending_object(
916918
SseDeserializer deserializer) {
917919
// Codec=Sse (Serialization based), see doc to use other codecs
918920
var var_createdAt = sse_decode_u_64(deserializer);
919921
var var_checkIn = sse_decode_u_64(deserializer);
920-
return StatusResponsePending(
922+
return StatusResponsePendingObject(
921923
createdAt: var_createdAt, checkIn: var_checkIn);
922924
}
923925

@@ -1071,10 +1073,10 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
10711073
}
10721074

10731075
@protected
1074-
void sse_encode_box_autoadd_status_response_pending(
1075-
StatusResponsePending self, SseSerializer serializer) {
1076+
void sse_encode_box_autoadd_status_response_pending_object(
1077+
StatusResponsePendingObject self, SseSerializer serializer) {
10761078
// Codec=Sse (Serialization based), see doc to use other codecs
1077-
sse_encode_status_response_pending(self, serializer);
1079+
sse_encode_status_response_pending_object(self, serializer);
10781080
}
10791081

10801082
@protected
@@ -1130,7 +1132,8 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
11301132
switch (self) {
11311133
case StatusResponse_Pending(field0: final field0):
11321134
sse_encode_i_32(0, serializer);
1133-
sse_encode_box_autoadd_status_response_pending(field0, serializer);
1135+
sse_encode_box_autoadd_status_response_pending_object(
1136+
field0, serializer);
11341137
case StatusResponse_Completed(field0: final field0):
11351138
sse_encode_i_32(1, serializer);
11361139
sse_encode_box_autoadd_status_response_completed(field0, serializer);
@@ -1156,8 +1159,8 @@ class YttriumDartApiImpl extends YttriumDartApiImplPlatform
11561159
}
11571160

11581161
@protected
1159-
void sse_encode_status_response_pending(
1160-
StatusResponsePending self, SseSerializer serializer) {
1162+
void sse_encode_status_response_pending_object(
1163+
StatusResponsePendingObject self, SseSerializer serializer) {
11611164
// Codec=Sse (Serialization based), see doc to use other codecs
11621165
sse_encode_u_64(self.createdAt, serializer);
11631166
sse_encode_u_64(self.checkIn, serializer);

0 commit comments

Comments
 (0)