From b453ddb34f81f21170269cfb616c0c9fa81d19b3 Mon Sep 17 00:00:00 2001 From: Lau Wei Lim Date: Thu, 29 May 2025 23:47:08 +0800 Subject: [PATCH] Replace const enum with enum in MoEngageLogLevel for compatibility Changed MoEngageLogLevel from const enum to enum in sdk/core/src/models/MoEngageLogLevel.ts. This improves compatibility for consumers of the SDK by avoiding issues with TypeScript compilation and toolchain support. --- sdk/core/src/models/MoEngageLogLevel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/core/src/models/MoEngageLogLevel.ts b/sdk/core/src/models/MoEngageLogLevel.ts index 78b64abc..464965be 100644 --- a/sdk/core/src/models/MoEngageLogLevel.ts +++ b/sdk/core/src/models/MoEngageLogLevel.ts @@ -1,7 +1,7 @@ /** * Different Log Level Supported by the {@link MoEngageLogConfig} */ -const enum MoEngageLogLevel { +enum MoEngageLogLevel { /** * No logs from the SDK would be printed.