@@ -11,9 +11,6 @@ import 'powersync_database.dart';
1111/// 1. Creating credentials for connecting to the PowerSync service.
1212/// 2. Applying local changes against the backend application server.
1313///
14- /// [DevConnector] is provided as a quick starting point, without user management
15- /// or significant security.
16- ///
1714/// For production, use a custom implementation.
1815abstract class PowerSyncBackendConnector {
1916 PowerSyncCredentials ? _cachedCredentials;
@@ -67,7 +64,7 @@ abstract class PowerSyncBackendConnector {
6764
6865 /// Upload local changes to the app backend.
6966 ///
70- /// Use [PowerSyncDatabase.getCrudBatch] to get a batch of changes to upload. See [DevConnector] for an example implementation.
67+ /// Use [PowerSyncDatabase.getCrudBatch] to get a batch of changes to upload.
7168 ///
7269 /// Any thrown errors will result in a retry after the configured wait period (default: 5 seconds).
7370 Future <void > uploadData (PowerSyncDatabase database);
@@ -153,6 +150,7 @@ class PowerSyncCredentials {
153150///
154151/// These cannot be used for the main PowerSync APIs. [DevConnector] uses these
155152/// credentials to automatically fetch [PowerSyncCredentials] .
153+ @Deprecated ('We will be removing this in version 2.' )
156154class DevCredentials {
157155 /// Dev endpoint.
158156 String endpoint;
@@ -201,6 +199,7 @@ class DevCredentials {
201199///
202200/// Development mode is intended to get up and running quickly, but is not for
203201/// production use. For production, write a custom connector.
202+ @Deprecated ('We will be removing this in version 2.' )
204203class DevConnector extends PowerSyncBackendConnector {
205204 DevCredentials ? _inMemoryDevCredentials;
206205
0 commit comments