From ccb6059c444a7fb039d837ea928af5a8649fd2d0 Mon Sep 17 00:00:00 2001 From: Allen Calderwood <6539032+calderwoodra@users.noreply.github.com> Date: Mon, 3 Apr 2023 01:00:08 -0700 Subject: [PATCH 1/2] Added NONE log level to suppress all logs. --- packages/core/src/Logger/ConsoleLogger.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core/src/Logger/ConsoleLogger.ts b/packages/core/src/Logger/ConsoleLogger.ts index e99b69cb245..c356dfb6a0a 100644 --- a/packages/core/src/Logger/ConsoleLogger.ts +++ b/packages/core/src/Logger/ConsoleLogger.ts @@ -12,6 +12,7 @@ const LOG_LEVELS = { INFO: 3, WARN: 4, ERROR: 5, + NONE: 6, }; export enum LOG_TYPE { @@ -20,6 +21,7 @@ export enum LOG_TYPE { INFO = 'INFO', WARN = 'WARN', VERBOSE = 'VERBOSE', + NONE = 'NONE' } /** From 9a912501af7d36364d125504882c211db83bfec6 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Date: Fri, 9 Feb 2024 16:03:04 -0800 Subject: [PATCH 2/2] fix: increase bundle size --- packages/aws-amplify/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index b67da4a1ed0..003a6fb072a 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -381,7 +381,7 @@ "name": "[Auth] confirmSignIn (Cognito)", "path": "./dist/esm/auth/index.mjs", "import": "{ confirmSignIn }", - "limit": "25.94 kB" + "limit": "25.96 kB" }, { "name": "[Auth] updateMFAPreference (Cognito)",