From adb414ce914cba7bf2dd32b3dd4b7cded68424a9 Mon Sep 17 00:00:00 2001 From: "Edward Tran (HE/HIM) (from Dev Box)" Date: Thu, 20 Feb 2025 19:37:46 -0800 Subject: [PATCH 1/2] Update telemetry object to retrieve correct acs adapter version --- src/telemetry/AriaTelemetry.ts | 6 +++--- tsconfig.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/telemetry/AriaTelemetry.ts b/src/telemetry/AriaTelemetry.ts index eecc9f1d..8229f906 100644 --- a/src/telemetry/AriaTelemetry.ts +++ b/src/telemetry/AriaTelemetry.ts @@ -1,11 +1,11 @@ import { AWTEventData, AWTLogConfiguration, AWTLogManager, AWTLogger } from '../external/aria/webjs/AriaSDK'; -import { ic3ClientVersion, webChatACSAdapterVersion } from '../config/settings'; +import { ic3ClientVersion } from '../config/settings'; import { isBrowser, isReactNative } from '../utils/platform'; - import { AWTEventPriority } from '../external/aria/common/Enums'; import LogLevel from '../telemetry/LogLevel'; import ScenarioType from '../telemetry/ScenarioType'; import { ariaTelemetryKey } from '../config/settings'; +import { version as ACSAdapterVersion } from '@microsoft/botframework-webchat-adapter-azure-communication-chat/package.json'; interface BaseContract { ChatSDKRuntimeId: string; @@ -821,7 +821,7 @@ class AriaTelemetry { Event: '', ExceptionDetails: '', ElapsedTimeInMilliseconds: '', - ACSAdapterVersion: webChatACSAdapterVersion + ACSAdapterVersion } } diff --git a/tsconfig.json b/tsconfig.json index 525313ae..f22f9f01 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "lib": ["es2018", "dom"], + "resolveJsonModule": true, "incremental": true, "sourceMap": true, "target": "es5", From 7ac2e9adcb99e62725bf5208c785daf471eb4ceb Mon Sep 17 00:00:00 2001 From: "Edward Tran (HE/HIM) (from Dev Box)" Date: Fri, 21 Feb 2025 11:52:19 -0800 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6336a159..537a0f3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Fixed + +- Update `ACSAdapterVersion` to reflect the correct version + ## [1.10.12] - 2025-02-21 ### Added