File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/powersync_core/lib/src/database Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ mixin PowerSyncDatabaseMixin implements SqliteConnection {
3838 /// Use [attachedLogger] to propagate logs to [Logger.root] for custom logging.
3939 Logger get logger;
4040
41+ @Deprecated ("This field is unused, pass params to connect() instead" )
4142 Map <String , dynamic >? clientParams;
4243
4344 /// Current connection status.
@@ -281,7 +282,7 @@ mixin PowerSyncDatabaseMixin implements SqliteConnection {
281282 SyncOptions ? options,
282283 @Deprecated ('Use SyncOptions.crudThrottleTime instead' )
283284 Duration ? crudThrottleTime,
284- @Deprecated ( 'Use SyncOptions.params instead' ) Map <String , dynamic >? params,
285+ Map <String , dynamic >? params,
285286 }) async {
286287 // The initialization process acquires a sync connect lock (through
287288 // updateSchema), so ensure the database is ready before we try to acquire
@@ -295,6 +296,7 @@ mixin PowerSyncDatabaseMixin implements SqliteConnection {
295296 params: options? .params ?? params,
296297 );
297298
299+ // ignore: deprecated_member_use_from_same_package
298300 clientParams = params;
299301 var thisConnectAborter = AbortController ();
300302 final zone = Zone .current;
You can’t perform that action at this time.
0 commit comments