Skip to content

Commit d2d7ee1

Browse files
DominicGBauerDominicGBauer
andauthored
chore(attachments): update version 0.3.2 (#82)
* chore(attachments): update version 0.3.2 * fix: lint * docs: update changelog * docs: update changelog --------- Co-authored-by: DominicGBauer <dominic@nomanini.com>
1 parent 7e6ab86 commit d2d7ee1

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

demos/supabase-todolist/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ packages:
429429
path: "../../packages/powersync_attachments_helper"
430430
relative: true
431431
source: path
432-
version: "0.3.1"
432+
version: "0.3.2"
433433
realtime_client:
434434
dependency: transitive
435435
description:

packages/powersync_attachments_helper/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.2
2+
3+
- Fix sync not resetting after an error is thrown
4+
15
## 0.3.1
26

37
- Add periodic syncing and deleting of attachments

packages/powersync_attachments_helper/lib/src/syncing_service.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ class SyncingService {
107107

108108
/// Handle downloading, uploading or deleting of attachments
109109
Future<void> handleSync(Iterable<Attachment> attachments) async {
110-
if (isProcessing == true) {
111-
return;
112-
}
113-
110+
if (isProcessing == true) {
111+
return;
112+
}
113+
114114
try {
115115
isProcessing = true;
116116

packages/powersync_attachments_helper/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: powersync_attachments_helper
22
description: A helper library for handling attachments when using PowerSync.
3-
version: 0.3.1
3+
version: 0.3.2
44
repository: https://github.com/powersync-ja/powersync.dart
55
homepage: https://www.powersync.com/
66
environment:

0 commit comments

Comments
 (0)