Skip to content

Commit c9d7755

Browse files
committed
Fix hasSynced briefly becoming false
1 parent 2be5919 commit c9d7755

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/powersync_core/lib/src/database/core_version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ extension type const PowerSyncCoreVersion((int, int, int) _tuple) {
6060
// Note: When updating this, also update the download URL in
6161
// scripts/init_powersync_core_binary.dart and the version ref in
6262
// packages/sqlite3_wasm_build/build.sh
63-
static const minimum = PowerSyncCoreVersion((0, 3, 11));
63+
static const minimum = PowerSyncCoreVersion((0, 3, 12));
6464

6565
/// The first version of the core extensions that this version of the Dart
6666
/// SDK doesn't support.

packages/powersync_core/lib/src/sync/mutable_sync_status.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ final class MutableSyncStatus {
8888
downloadProgress: downloadProgress?.asSyncDownloadProgress,
8989
priorityStatusEntries: UnmodifiableListView(priorityStatusEntries),
9090
lastSyncedAt: lastSyncedAt,
91-
hasSynced: lastSyncedAt != null,
91+
hasSynced: null, // Stream client is not supposed to set this value.
9292
uploadError: uploadError,
9393
downloadError: downloadError,
9494
);

0 commit comments

Comments
 (0)