diff --git a/CHANGELOG.md b/CHANGELOG.md index cece1a1..f9b29b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.4.0] - 2025-10-21 + +- Add `setSession` in platform client + ## [3.3.7] - 2025-10-20 - API migration support UUIDs (FE-58) diff --git a/example/pubspec.lock b/example/pubspec.lock index 32a3348..899a0d6 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -116,7 +116,7 @@ packages: path: ".." relative: true source: path - version: "3.3.7" + version: "3.4.0" flutter_lints: dependency: "direct dev" description: diff --git a/lib/src/platform_client.dart b/lib/src/platform_client.dart index 9654603..29c39cd 100644 --- a/lib/src/platform_client.dart +++ b/lib/src/platform_client.dart @@ -1333,6 +1333,11 @@ class PlatformClient { return (state, null); } + /// Sets the current session + void setSession(Session? session) { + _session = session; + } + Future> _httpSend( String method, String unencodedPath, { diff --git a/pubspec.yaml b/pubspec.yaml index 55a5b20..48270f2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_aira description: The Aira Flutter SDK. -version: 3.3.7 +version: 3.4.0 homepage: https://github.com/aira/flutter_aira environment: