diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dc14f12..e1ccc41d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.5.1 +- feat: Add constructors to SyncUpdate classes + ## 0.5.0 - fix: threepidCreds should be threepid_creds and an object diff --git a/lib/src/model/sync_update.dart b/lib/src/model/sync_update.dart index 09b015d9..95aaf3e5 100644 --- a/lib/src/model/sync_update.dart +++ b/lib/src/model/sync_update.dart @@ -128,7 +128,11 @@ class RoomsUpdate { Map? invite; Map? leave; - RoomsUpdate({this.join, this.invite, this.leave}); + RoomsUpdate({ + this.join, + this.invite, + this.leave, + }); RoomsUpdate.fromJson(Map json) { join = json['join'] != null diff --git a/pubspec.yaml b/pubspec.yaml index f026f99f..ef5aa3dd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: matrix_api_lite description: Dead simple data model for the matrix.org client-server API. -version: 0.5.0 +version: 0.5.1 homepage: https://famedly.com repository: https://gitlab.com/famedly/company/frontend/libraries/matrix_api_lite/ issues: https://gitlab.com/famedly/company/frontend/libraries/matrix_api_lite/-/issues