Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.4.2 — Fixed missing isWeb in RestrrBuilder#create #11

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading