Skip to content

Commit

Permalink
refactor:Update Changelog - CU-86c03b9w4
Browse files Browse the repository at this point in the history
  • Loading branch information
basemosama committed Aug 25, 2024
1 parent 8493869 commit e9892cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
##### Bug Fixes
- Fixed an issue where `getList` and `postList` methods did not return results when the API response was not a list. Now, proper error handling ensures that non-list responses are processed correctly, preventing potential runtime errors.

---

This changelog highlights the new isolate integration, improvements in the `JsonMapper` function signature, and the bug fix related to list response handling.

## 0.1.1
- Update packages.

Expand Down
1 change: 1 addition & 0 deletions lib/src/playx_network_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ typedef JsonMapper<T> = FutureOr<T> Function(dynamic json);
///Function that converts json error response from api to error message.
typedef ErrorMapper = String? Function(dynamic json);

/// Function that handles unauthorized request.
typedef UnauthorizedRequestHandler = void Function(Response? response);

/// PlayxNetworkClient is a Wrapper around [Dio] that can perform api request
Expand Down

0 comments on commit e9892cf

Please sign in to comment.