diff --git a/hive/CHANGELOG.md b/hive/CHANGELOG.md index 6f81b234..c4f39257 100644 --- a/hive/CHANGELOG.md +++ b/hive/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.19.1 + +- Updates `isolate_channel` to `0.4.0` + ## 2.19.0 - Adds box search to the inspector (by [@ElNgatia](https://github.com/ElNgatia) in [#280](https://github.com/IO-Design-Team/hive_ce/pull/280)) diff --git a/hive/lib/src/isolate/isolated_hive_impl/impl/isolated_hive_impl_vm.dart b/hive/lib/src/isolate/isolated_hive_impl/impl/isolated_hive_impl_vm.dart index acb72c78..744246ae 100644 --- a/hive/lib/src/isolate/isolated_hive_impl/impl/isolated_hive_impl_vm.dart +++ b/hive/lib/src/isolate/isolated_hive_impl/impl/isolated_hive_impl_vm.dart @@ -65,7 +65,7 @@ class IsolatedHiveImpl extends TypeRegistryImpl final IsolateConnection connection; if (send != null) { - connection = connectToIsolate(send); + connection = await connectToIsolate(send); } else { connection = await _spawnHiveIsolate(); } diff --git a/hive/pubspec.yaml b/hive/pubspec.yaml index c10563ea..56f7ab4d 100644 --- a/hive/pubspec.yaml +++ b/hive/pubspec.yaml @@ -1,6 +1,6 @@ name: hive_ce description: Hive Community Edition - A spiritual continuation of Hive v2 -version: 2.19.0 +version: 2.19.1 homepage: https://github.com/IO-Design-Team/hive_ce/tree/main/hive topics: @@ -18,7 +18,7 @@ dependencies: meta: ^1.14.0 crypto: ^3.0.0 web: ">=0.5.0 <2.0.0" - isolate_channel: ^0.3.0 + isolate_channel: ^0.4.0 json_annotation: ^4.9.0 dev_dependencies: