@microsoft/omnichannel-chat-sdk 1.0.1-main.40a9d72 → 1.0.1-main.474110f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -11,11 +11,16 @@ All notable changes to this project will be documented in this file.
11
11
  - Add ability to automatically detect locale from chat config
12
12
  - Add `runtimeId` attribute in `OmnichannelChatSDK` & `ChatSDKRuntimeId` field in telemetry
13
13
  - Add ability to automatically pass locale from chat config on calling `ChatSDK.emailLiveChatTranscript()`
14
+ - Bubble up `WidgetUseOutsideOperatingHour` exception
15
+ - Add `acs_webchat-chat-adapter` middleware to add default `channelData.tags` & `channelData.metadata`
14
16
 
15
17
  ### Fix
16
18
  - Add `acs_webchat-chat-adapter` middlewares to format `channelData.tags`
17
19
  - Skip `session init` call on existing conversation
18
20
  - Fix `chat reconnect` not ending the conversation on calling `ChatSDK.endChat()`
21
+ - Fix on messaging client not sending heartbeat on new conversations subsequent to the first conversation
22
+ - Fix `ChatSDK.getConversationDetails()` not passing `authenticatedUserToken`
23
+ - Fix `IC3Client.dispose()` called when `IC3Client` is `undefined`
19
24
 
20
25
  ### Changed
21
26
  - README: added examples on usages of the post chat APIs.
package/README.md CHANGED
@@ -131,7 +131,7 @@ The following steps will be required to run Omnichannel Chat SDK on React Native
131
131
  | OmnichannelChatSDK.getLiveChatTranscript() | Get transcript data (JSON) | |
132
132
  | OmnichannelChatSDK.uploadFileAttachment() | Send file attachment | |
133
133
  | OmnichannelChatSDK.downloadFileAttachment() | Download file attachment | |
134
- | OmnichannelChatSDK.createChatAdapter() | Get IC3Adapter | **Web only** |
134
+ | OmnichannelChatSDK.createChatAdapter() | Get Chat Adapter | **Web only** |
135
135
  | OmnichannelChatSDK.getVoiceVideoCalling() | Get VoiceVideoCall SDK for Escalation to Voice & Video | **Web only** |
136
136
  | OmnichannelChatSDK.getPostChatSurveyContext() | Get post chat survey link, survey locale, and whether an agent has joined the survey | |
137
137
 
@@ -1,5 +1,6 @@
1
1
  import ACSClient from "./core/messaging/ACSClient";
2
2
  import { ParticipantsRemovedEvent } from '@azure/communication-signaling';
3
+ import ChatAdapterOptionalParams from "./core/messaging/ChatAdapterOptionalParams";
3
4
  import ChatConfig from "./core/ChatConfig";
4
5
  import ChatReconnectContext from "./core/ChatReconnectContext";
5
6
  import ChatReconnectOptionalParams from "./core/ChatReconnectOptionalParams";
@@ -81,7 +82,7 @@ declare class OmnichannelChatSDK {
81
82
  downloadFileAttachment(fileMetadata: FileMetadata | IFileMetadata): Promise<Blob>;
82
83
  emailLiveChatTranscript(body: ChatTranscriptBody): Promise<any>;
83
84
  getLiveChatTranscript(): Promise<any>;
84
- createChatAdapter(protocol?: string | null): Promise<unknown>;
85
+ createChatAdapter(optionalParams?: ChatAdapterOptionalParams): Promise<unknown>;
85
86
  getVoiceVideoCalling(params?: any): Promise<any>;
86
87
  getPostChatSurveyContext(): Promise<any>;
87
88
  private getIC3Client;
@@ -89,5 +90,6 @@ declare class OmnichannelChatSDK {
89
90
  private resolveIC3ClientUrl;
90
91
  private resolveChatAdapterUrl;
91
92
  private updateChatToken;
93
+ private setAuthTokenProvider;
92
94
  }
93
95
  export default OmnichannelChatSDK;