From 9f95ce640db0b27fd25984eeb1202d6589f6e143 Mon Sep 17 00:00:00 2001 From: hinstil Date: Thu, 25 Apr 2024 12:53:50 +0300 Subject: [PATCH 1/2] add getter errorData --- CHANGELOG.md | 4 ++++ lib/src/sync_state_info.dart | 1 + pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9fd110..bb9aee3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [1.3.2] - 2024-04-25 + +* Add getter `errorData` in `SyncStateInfo`. + ## [1.3.1] - 2023-12-19 * Add `lastSyncDate` getter. diff --git a/lib/src/sync_state_info.dart b/lib/src/sync_state_info.dart index 0c59d82..4fc084b 100644 --- a/lib/src/sync_state_info.dart +++ b/lib/src/sync_state_info.dart @@ -2,6 +2,7 @@ abstract class SyncStateInfo { SyncState get state; SyncError? get syncError; + Object? get errorData; /// Fatal error. bool get isFatalError => diff --git a/pubspec.yaml b/pubspec.yaml index c1b8818..bc478cf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: in_sync_interface description: An interface for synchronization functional. Used by in_sync. -version: 1.3.1 +version: 1.3.2 homepage: https://github.com/innim/ repository: https://github.com/Innim/in_sync_interface issue_tracker: https://github.com/Innim/in_sync_interface/issues From a97ce869fcf24e1f7ccb51a7934b8a78ca3d0663 Mon Sep 17 00:00:00 2001 From: hinstil Date: Thu, 25 Apr 2024 13:00:58 +0300 Subject: [PATCH 2/2] up version --- CHANGELOG.md | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb9aee3..dd74c0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## [1.3.2] - 2024-04-25 +## [1.4.0] - 2024-04-25 * Add getter `errorData` in `SyncStateInfo`. diff --git a/pubspec.yaml b/pubspec.yaml index bc478cf..e967419 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: in_sync_interface description: An interface for synchronization functional. Used by in_sync. -version: 1.3.2 +version: 1.4.0 homepage: https://github.com/innim/ repository: https://github.com/Innim/in_sync_interface issue_tracker: https://github.com/Innim/in_sync_interface/issues