From 92b2bf45263d025581f8d1487d48602dfa0f8d8d Mon Sep 17 00:00:00 2001 From: Jason Dean Lessenich Date: Mon, 26 Feb 2024 16:49:26 +0100 Subject: [PATCH 1/2] Fixed missing `options` param --- CHANGELOG.md | 7 ++++--- lib/src/restrr_base.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f315f9e..e061efb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ +## 0.3.3 +- Fixed missing options param + ## 0.3.2 - Added `RestrrBuilder#refresh` - Fixed `RestrrOptions` and added `isWeb` attribute -- Removed network check when no CookieJar is set (web) - -## 0.3.1 +- Removed network check when no CookieJar is set (web) 0.3.1 - Added ability to customize & disable Cookie Jar ## 0.3 diff --git a/lib/src/restrr_base.dart b/lib/src/restrr_base.dart index b901496..cc833b3 100644 --- a/lib/src/restrr_base.dart +++ b/lib/src/restrr_base.dart @@ -104,7 +104,7 @@ class RestrrBuilder { } Future> _handleRefresh() async { - final RestrrImpl api = RestrrImpl._(); + final RestrrImpl api = RestrrImpl._(options: options); final RestResponse response = await UserService(api: api).getSelf(); if (response.hasError) { Restrr.log.warning('Failed to refresh session'); diff --git a/pubspec.yaml b/pubspec.yaml index 9fafb8b..a921a5b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: restrr description: Dart package which allows to communicate with the financrr REST API. -version: 0.3.2 +version: 0.3.3 repository: https://github.com/financrr/restrr environment: From 4bf15e11cb4afe400dbbacd00fd528afd12340b3 Mon Sep 17 00:00:00 2001 From: Jason Dean Lessenich Date: Mon, 26 Feb 2024 16:50:39 +0100 Subject: [PATCH 2/2] Fixed CHANGELOG.md --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e061efb..ac1da61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ ## 0.3.2 - Added `RestrrBuilder#refresh` - Fixed `RestrrOptions` and added `isWeb` attribute -- Removed network check when no CookieJar is set (web) 0.3.1 +- Removed network check when no CookieJar is set (web) + +## 0.3.1 - Added ability to customize & disable Cookie Jar ## 0.3