From 41436e7eec885114eaeb7bfde213f7e9d57b3593 Mon Sep 17 00:00:00 2001 From: BreX900 Date: Fri, 14 Apr 2023 10:56:57 +0200 Subject: [PATCH] build: release 1.0.1 fix: missing update pure_extensions dependency --- kuama_position/lib/src/blocs/position_bloc.dart | 1 + kuama_position/pubspec.yaml | 2 +- kuama_position/test/position_bloc_test.dart | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kuama_position/lib/src/blocs/position_bloc.dart b/kuama_position/lib/src/blocs/position_bloc.dart index 622b943..58a58ba 100644 --- a/kuama_position/lib/src/blocs/position_bloc.dart +++ b/kuama_position/lib/src/blocs/position_bloc.dart @@ -140,6 +140,7 @@ class PositionBloc extends Bloc<_PositionBlocEvent, PositionBlocState> { /// Listen realtime position void _initPositionListener() { Rx.concatEager([ + // ignore: discarded_futures _service.getCurrentPosition().asStream(), _service.onPositionChanges, ]).onFailureResume((failure) { diff --git a/kuama_position/pubspec.yaml b/kuama_position/pubspec.yaml index 6ab8fa9..0e0ec34 100644 --- a/kuama_position/pubspec.yaml +++ b/kuama_position/pubspec.yaml @@ -32,7 +32,7 @@ dependencies: get_it: # Version defined in kuama_core rxdart: ^0.27.7 - pure_extensions: ^4.2.0 + pure_extensions: ^5.0.0 bloc: ^8.1.1 bloc_concurrency: ^0.2.1 equatable: ^2.0.5 diff --git a/kuama_position/test/position_bloc_test.dart b/kuama_position/test/position_bloc_test.dart index 52eced6..cb30e0a 100644 --- a/kuama_position/test/position_bloc_test.dart +++ b/kuama_position/test/position_bloc_test.dart @@ -26,7 +26,7 @@ void main() { GetIt.instance.registerSingleton(mockPositionService = _MockPositionService()); }); - tearDown(() => GetIt.instance.reset()); + tearDown(GetIt.instance.reset); void init({ EmissionType permission = EmissionType.none,