diff --git a/packages/authenticator/amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart b/packages/authenticator/amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart index 5604f7bd21..518957e292 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart @@ -261,8 +261,6 @@ class StateMachineBloc } } yield* _checkUserVerification(); - default: - break; } } on AuthNotAuthorizedException { /// The .failAuthentication flag available in the DefineAuthChallenge Lambda trigger diff --git a/packages/worker_bee/worker_bee/pubspec.yaml b/packages/worker_bee/worker_bee/pubspec.yaml index 14996fe026..c50bbd7e8b 100644 --- a/packages/worker_bee/worker_bee/pubspec.yaml +++ b/packages/worker_bee/worker_bee/pubspec.yaml @@ -18,7 +18,7 @@ dependencies: meta: ^1.7.0 path: ">=1.8.0 <2.0.0" stack_trace: ^1.10.0 - stream_channel: ^2.1.0 + stream_channel: ">=2.1.0 <2.1.3" stream_transform: ^2.0.0 dev_dependencies: