Reduce Config Calls on Escalation to Voice & Video (#299)
* Update to use config call from cache by default * Update CHANGELOG.md
This commit is contained in:
Родитель
6646484367
Коммит
dedfcc80da
|
@ -1,6 +1,8 @@
|
|||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
## [Unreleased]
|
||||
### Changed
|
||||
- Reduce number of `config` calls on loading `Escalation to Voice & Video` library by retrieving the config from runtime cache
|
||||
|
||||
## [1.6.2] - 2023-12-12
|
||||
### Fixed
|
||||
|
|
|
@ -1593,7 +1593,7 @@ class OmnichannelChatSDK {
|
|||
exceptionThrowers.throwFeatureDisabled(this.scenarioMarker, TelemetryEvent.GetVoiceVideoCalling, message);
|
||||
}
|
||||
|
||||
const chatConfig = await this.getChatConfig();
|
||||
const chatConfig = await this.getLiveChatConfig();
|
||||
const { LiveWSAndLiveChatEngJoin: liveWSAndLiveChatEngJoin } = chatConfig;
|
||||
const { msdyn_widgetsnippet } = liveWSAndLiveChatEngJoin;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче