From c3d2e02d06a29de976aa69bdf4ecdfb14a7e532a Mon Sep 17 00:00:00 2001 From: Tyler-Larkin Date: Thu, 26 Dec 2024 11:04:20 -0800 Subject: [PATCH 1/6] chore(workerbee): Updated stream_channel version contraints --- packages/worker_bee/worker_bee/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: From 9faf6531e54e736feecaf531920a953ce3f50796 Mon Sep 17 00:00:00 2001 From: Tyler-Larkin Date: Thu, 26 Dec 2024 12:50:03 -0800 Subject: [PATCH 2/6] chore(authenticator): removed unreachable default switch case --- .../amplify_authenticator/lib/src/blocs/auth/auth_bloc.dart | 2 -- 1 file changed, 2 deletions(-) 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 From a8b2b548ab08861b5a62602adc59dd1aabf21304 Mon Sep 17 00:00:00 2001 From: Tyler-Larkin Date: Mon, 30 Dec 2024 09:37:20 -0800 Subject: [PATCH 3/6] chore(authenticator): Linter fixes --- .../lib/src/screens/authenticator_screen.dart | 1 - .../lib/src/widgets/form_fields/sign_in_form_field.dart | 2 -- 2 files changed, 3 deletions(-) diff --git a/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart b/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart index 2524d2cb35..58f6e4a3db 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart @@ -192,7 +192,6 @@ class _FormWrapperView extends StatelessAuthenticatorComponent { form, ], ); - break; } return Padding(padding: padding, child: layout); diff --git a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart index d65618fa04..f7f941dbcf 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart @@ -159,8 +159,6 @@ class _SignInTextFieldState extends _SignInFormFieldState return (v) => state.username = v; case SignInField.password: return (v) => state.password = v; - default: - return super.onChanged; } } From d89adb9480cef7a7fbd9918526b80dd7239f810e Mon Sep 17 00:00:00 2001 From: Tyler-Larkin Date: Tue, 7 Jan 2025 13:59:01 -0800 Subject: [PATCH 4/6] chore(authenticator): Removed Linter Fix --- .../lib/src/widgets/form_fields/sign_in_form_field.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart index f7f941dbcf..d65618fa04 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart @@ -159,6 +159,8 @@ class _SignInTextFieldState extends _SignInFormFieldState return (v) => state.username = v; case SignInField.password: return (v) => state.password = v; + default: + return super.onChanged; } } From dea1b17d23b10dc85450b4061d05bc597d4b2371 Mon Sep 17 00:00:00 2001 From: Tyler-Larkin Date: Tue, 7 Jan 2025 15:03:29 -0800 Subject: [PATCH 5/6] Revert "chore(authenticator): Removed Linter Fix" This reverts commit d89adb9480cef7a7fbd9918526b80dd7239f810e. --- .../lib/src/widgets/form_fields/sign_in_form_field.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart index d65618fa04..f7f941dbcf 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart @@ -159,8 +159,6 @@ class _SignInTextFieldState extends _SignInFormFieldState return (v) => state.username = v; case SignInField.password: return (v) => state.password = v; - default: - return super.onChanged; } } From 2a7832a34ffd4f05b7eb5e2f05cdbee27b9623e4 Mon Sep 17 00:00:00 2001 From: Tyler-Larkin Date: Tue, 7 Jan 2025 15:10:05 -0800 Subject: [PATCH 6/6] Revert "chore(authenticator): Linter fixes" This reverts commit a8b2b548ab08861b5a62602adc59dd1aabf21304. --- .../lib/src/screens/authenticator_screen.dart | 1 + .../lib/src/widgets/form_fields/sign_in_form_field.dart | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart b/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart index 58f6e4a3db..2524d2cb35 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/screens/authenticator_screen.dart @@ -192,6 +192,7 @@ class _FormWrapperView extends StatelessAuthenticatorComponent { form, ], ); + break; } return Padding(padding: padding, child: layout); diff --git a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart index f7f941dbcf..d65618fa04 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart @@ -159,6 +159,8 @@ class _SignInTextFieldState extends _SignInFormFieldState return (v) => state.username = v; case SignInField.password: return (v) => state.password = v; + default: + return super.onChanged; } }