File tree Expand file tree Collapse file tree 5 files changed +464
-364
lines changed Expand file tree Collapse file tree 5 files changed +464
-364
lines changed Original file line number Diff line number Diff line change 47
47
* Expose ` ClientBuilder::database ` ([ Yuki Kishimoto] )
48
48
* Expose ` Client::send_event_to ` ([ Yuki Kishimoto] )
49
49
* Expose ` Client::fetch_events_from ` ([ Yuki Kishimoto] )
50
+ * Expose ` Client::database ` ([ Yuki Kishimoto] )
50
51
51
52
### Fixed
52
53
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import '../frb_generated.dart';
7
7
import 'client/builder.dart' ;
8
8
import 'client/notification.dart' ;
9
9
import 'client/output.dart' ;
10
+ import 'database.dart' ;
10
11
import 'database/events.dart' ;
11
12
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart' ;
12
13
import 'protocol/event.dart' ;
@@ -65,6 +66,9 @@ abstract class Client implements RustOpaqueInterface {
65
66
/// Connect to a previously added relay
66
67
Future <void > connectRelay ({required String url});
67
68
69
+ /// Get database
70
+ Future <NostrDatabase > database ();
71
+
68
72
/// Disconnect from all relays
69
73
Future <void > disconnect ();
70
74
You can’t perform that action at this time.
0 commit comments