diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a770664 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ +## 1.0.1 - 2025-10-24 + +- **chore**: update dependencies + +## 1.0.0 - 2025-10-13 + +- **chore**: initial release. + diff --git a/README.md b/README.md index 5b82cd0..6b68b8a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- coverage + coverage Live Docs: View Main Project: Browse

diff --git a/pubspec.lock b/pubspec.lock index 9f5fb82..d97c915 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: dd3d2ad434b9510001d089e8de7556d50c834481b9abc2891a0184a8493a19dc + sha256: c209688d9f5a5f26b2fb47a188131a6fb9e876ae9e47af3737c0b4f58a93470d url: "https://pub.dev" source: hosted - version: "89.0.0" + version: "91.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: c22b6e7726d1f9e5db58c7251606076a71ca0dbcf76116675edfadbec0c9e875 + sha256: a40a0cee526a7e1f387c6847bd8a5ccbf510a75952ef8a28338e989558072cb0 url: "https://pub.dev" source: hosted - version: "8.2.0" + version: "8.4.0" args: dependency: transitive description: @@ -37,11 +37,11 @@ packages: dependency: "direct main" description: path: "." - ref: "v1.0.0" - resolved-ref: a90e24285874e4c39cb331bbbeae2423901f3289 + ref: "v1.0.1" + resolved-ref: "605212aa4bf2a106691f447b824c66bb5218205c" url: "https://github.com/flutter-news-app-full-source-code/auth-client.git" source: git - version: "0.0.0" + version: "1.0.1" boolean_selector: dependency: transitive description: @@ -78,11 +78,11 @@ packages: dependency: "direct main" description: path: "." - ref: "v1.2.0" - resolved-ref: d052799c1ebb7bcdd1a725a2a7919948c14fa001 + ref: "v1.3.1" + resolved-ref: a03efff11b7577974cb444a1a6a46fee8b05ea42 url: "https://github.com/flutter-news-app-full-source-code/core.git" source: git - version: "1.2.0" + version: "1.3.1" coverage: dependency: transitive description: @@ -160,10 +160,10 @@ packages: description: path: "." ref: "v1.0.1" - resolved-ref: ce550196f78ee2e95aa9e985759179265983689d + resolved-ref: "22a1531a279769ec472f698e9c727cd2c29a81b9" url: "https://github.com/flutter-news-app-full-source-code/http-client.git" source: git - version: "0.0.0" + version: "1.0.1" http_multi_server: dependency: transitive description: @@ -440,10 +440,10 @@ packages: dependency: transitive description: name: watcher - sha256: "5bf046f41320ac97a469d506261797f35254fa61c641741ef32dacda98b7d39c" + sha256: "592ab6e2892f67760543fb712ff0177f4ec76c031f02f5b4ff8d3fc5eb9fb61a" url: "https://pub.dev" source: hosted - version: "1.1.3" + version: "1.1.4" web: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index de26052..bd5422f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,6 +2,7 @@ name: auth_api description: Concrete API implementation of the AuthClient interface. repository: https://github.com/flutter-news-app-full-source-code/auth-api publish_to: none +version: 1.0.1 environment: sdk: ^3.9.0 @@ -10,11 +11,11 @@ dependencies: auth_client: git: url: https://github.com/flutter-news-app-full-source-code/auth-client.git - ref: v1.0.0 + ref: v1.0.1 core: git: url: https://github.com/flutter-news-app-full-source-code/core.git - ref: v1.2.0 + ref: v1.3.1 http_client: git: url: https://github.com/flutter-news-app-full-source-code/http-client.git diff --git a/test/src/auth_api_test.dart b/test/src/auth_api_test.dart index 8f51665..57f2f11 100644 --- a/test/src/auth_api_test.dart +++ b/test/src/auth_api_test.dart @@ -14,11 +14,13 @@ class MockLogger extends Mock implements Logger {} class MockUser extends Mock implements User { @override - Map get feedActionStatus => - Map.fromEntries( - FeedActionType.values.map( - (type) => - MapEntry(type, const UserFeedActionStatus(isCompleted: false)), + Map get feedDecoratorStatus => + Map.fromEntries( + FeedDecoratorType.values.map( + (type) => MapEntry( + type, + const UserFeedDecoratorStatus(isCompleted: false), + ), ), ); } @@ -30,11 +32,15 @@ final fakeUser = User( appRole: AppUserRole.standardUser, dashboardRole: DashboardUserRole.none, createdAt: DateTime.now(), - feedActionStatus: Map.fromEntries( - FeedActionType.values.map( - (type) => MapEntry(type, const UserFeedActionStatus(isCompleted: false)), - ), - ), + feedDecoratorStatus: + Map.fromEntries( + FeedDecoratorType.values.map( + (type) => MapEntry( + type, + const UserFeedDecoratorStatus(isCompleted: false), + ), + ), + ), ); final fakeAnonymousUser = User( id: 'anon-456', @@ -42,11 +48,15 @@ final fakeAnonymousUser = User( appRole: AppUserRole.guestUser, dashboardRole: DashboardUserRole.none, createdAt: DateTime.now(), - feedActionStatus: Map.fromEntries( - FeedActionType.values.map( - (type) => MapEntry(type, const UserFeedActionStatus(isCompleted: false)), - ), - ), + feedDecoratorStatus: + Map.fromEntries( + FeedDecoratorType.values.map( + (type) => MapEntry( + type, + const UserFeedDecoratorStatus(isCompleted: false), + ), + ), + ), ); final fakeAuthSuccessResponse = AuthSuccessResponse(