Skip to content

Commit

Permalink
v0.4.2 — Fixed missing isWeb in RestrrBuilder#create (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlessenich committed Feb 26, 2024
1 parent 012f947 commit 21bc770
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## 0.4.2
- Fixed missing `isWeb` in `RestrrBuilder#create`

## 0.4.1
- Added missing `isWeb`
- Added missing `isWeb` in `RequestHandler` methods

## 0.4
- Added `statusCode` to `RestResponse`
Expand Down
2 changes: 1 addition & 1 deletion lib/src/restrr_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class RestrrBuilder {
Future<RestResponse<Restrr>> create() async {
Restrr.log.info('Attempting to initialize a session (${initType.name}) with $uri');
// check if the URI is valid
final RestResponse<HealthResponse> statusResponse = await Restrr.checkUri(uri);
final RestResponse<HealthResponse> statusResponse = await Restrr.checkUri(uri, isWeb: options.isWeb);
if (statusResponse.hasError) {
Restrr.log.warning('Invalid financrr URI: $uri');
return statusResponse.error == RestrrError.unknown
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: restrr
description: Dart package which allows to communicate with the financrr REST API.
version: 0.4.1
version: 0.4.2
repository: https://github.com/financrr/restrr

environment:
Expand Down

0 comments on commit 21bc770

Please sign in to comment.