@microsoft/omnichannel-chat-sdk 1.0.1-main.fa78d5f → 1.1.1-main.3ce5a59

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.
Files changed (61) hide show
  1. package/CHANGELOG.md +21 -3
  2. package/README.md +474 -306
  3. package/lib/OmnichannelChatSDK.d.ts +6 -4
  4. package/lib/OmnichannelChatSDK.js +302 -302
  5. package/lib/OmnichannelChatSDK.js.map +1 -1
  6. package/lib/api/createVoiceVideoCalling.js +6 -2
  7. package/lib/api/createVoiceVideoCalling.js.map +1 -1
  8. package/lib/config/settings.d.ts +1 -1
  9. package/lib/config/settings.js +1 -1
  10. package/lib/core/ChatConfig.d.ts +4 -0
  11. package/lib/core/ChatSDKExceptionDetails.d.ts +5 -0
  12. package/lib/core/ChatSDKExceptionDetails.js +3 -0
  13. package/lib/core/ChatSDKExceptionDetails.js.map +1 -0
  14. package/lib/core/ChatTranscriptBody.d.ts +1 -1
  15. package/lib/core/LiveWorkItemDetails.d.ts +2 -0
  16. package/lib/core/OmnichannelErrorCodes.d.ts +4 -0
  17. package/lib/core/OmnichannelErrorCodes.js +8 -0
  18. package/lib/core/OmnichannelErrorCodes.js.map +1 -0
  19. package/lib/core/PostChatContext.d.ts +1 -0
  20. package/lib/core/messaging/ChatAdapterOptionalParams.d.ts +14 -0
  21. package/lib/core/messaging/ChatAdapterOptionalParams.js +3 -0
  22. package/lib/core/messaging/ChatAdapterOptionalParams.js.map +1 -0
  23. package/lib/core/messaging/MessageTags.d.ts +2 -0
  24. package/lib/core/messaging/MessageTags.js +4 -2
  25. package/lib/core/messaging/MessageTags.js.map +1 -1
  26. package/lib/external/ACSAdapter/createChannelDataEgressMiddleware.d.ts +5 -0
  27. package/lib/external/ACSAdapter/createChannelDataEgressMiddleware.js +34 -0
  28. package/lib/external/ACSAdapter/createChannelDataEgressMiddleware.js.map +1 -0
  29. package/lib/external/CallingSDK/ICallingSDKLogData.d.ts +7 -0
  30. package/lib/external/CallingSDK/ICallingSDKLogData.js +3 -0
  31. package/lib/external/CallingSDK/ICallingSDKLogData.js.map +1 -0
  32. package/lib/external/IC3Adapter/IIC3AdapterOptions.d.ts +12 -0
  33. package/lib/index.d.ts +7 -6
  34. package/lib/index.js +13 -8
  35. package/lib/index.js.map +1 -1
  36. package/lib/telemetry/AriaTelemetry.d.ts +1 -0
  37. package/lib/telemetry/AriaTelemetry.js +55 -0
  38. package/lib/telemetry/AriaTelemetry.js.map +1 -1
  39. package/lib/telemetry/ScenarioMarker.d.ts +2 -0
  40. package/lib/telemetry/ScenarioMarker.js +7 -3
  41. package/lib/telemetry/ScenarioMarker.js.map +1 -1
  42. package/lib/telemetry/ScenarioType.d.ts +1 -0
  43. package/lib/telemetry/ScenarioType.js +1 -0
  44. package/lib/telemetry/ScenarioType.js.map +1 -1
  45. package/lib/telemetry/TelemetryEvent.d.ts +1 -3
  46. package/lib/telemetry/TelemetryEvent.js +0 -2
  47. package/lib/telemetry/TelemetryEvent.js.map +1 -1
  48. package/lib/tsconfig.tsbuildinfo +158 -63
  49. package/lib/utils/WebUtils.d.ts +3 -1
  50. package/lib/utils/WebUtils.js +8 -2
  51. package/lib/utils/WebUtils.js.map +1 -1
  52. package/lib/utils/libraries.d.ts +1 -3
  53. package/lib/utils/libraries.js +2 -11
  54. package/lib/utils/libraries.js.map +1 -1
  55. package/lib/utils/locale.d.ts +2 -0
  56. package/lib/utils/locale.js +5 -3
  57. package/lib/utils/locale.js.map +1 -1
  58. package/lib/utils/loggers.d.ts +26 -1
  59. package/lib/utils/loggers.js +94 -2
  60. package/lib/utils/loggers.js.map +1 -1
  61. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,19 +3,37 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  ## [Unreleased]
5
5
 
6
+ ## [1.1.0] - 2022-04-15
6
7
  ### Added
7
- - Add Post Chat Survey Support
8
- - Add `getPostChatSurveyContext` & `initializePostChatRenderer` and `renderPostChatSurvey` API methods
9
- - Add `GetPostChatSurveyContext`, `RenderPostChatSurvey`, and `InitializePostChatRenderer` telemetry events
8
+ - Add `getPostChatSurveyContext` API method
9
+ - Add `GetPostChatSurveyContext` telemetry event
10
10
  - Add `widgetId` & `clientMessageId` as metadata on sending message
11
+ - Update `ChatConfig` interface with `LiveChatVersion`, `allowedFileExtensions` & `maxUploadFileSize` properties
12
+ - Add ability to automatically detect locale from chat config
13
+ - Add `runtimeId` attribute in `OmnichannelChatSDK` & `ChatSDKRuntimeId` field in telemetry
14
+ - Add ability to automatically pass locale from chat config on calling `ChatSDK.emailLiveChatTranscript()`
15
+ - Bubble up `WidgetUseOutsideOperatingHour` exception
16
+ - Add `acs_webchat-chat-adapter` middleware to add default `channelData.tags` & `channelData.metadata`
17
+ - Update `ChatConfig` interface with `msdyn_enablemarkdown` property
18
+ - Throw exception on `ChatSDK.getVoiceVideoCalling()` if feature is disabled or platform is not supported
19
+ - Add `participantType` & `canRenderPostChat` as response of getConversationDetails() API
20
+ - Add support for separate bot post chat survey feature
21
+ - Pass `logger` to `acs_webchat-chat-adapter`
11
22
 
12
23
  ### Fix
13
24
  - Add `acs_webchat-chat-adapter` middlewares to format `channelData.tags`
25
+ - Skip `session init` call on existing conversation
26
+ - Fix `chat reconnect` not ending the conversation on calling `ChatSDK.endChat()`
27
+ - Fix on messaging client not sending heartbeat on new conversations subsequent to the first conversation
28
+ - Fix `ChatSDK.getConversationDetails()` not passing `authenticatedUserToken`
29
+ - Fix `IC3Client.dispose()` called when `IC3Client` is `undefined`
14
30
 
15
31
  ### Changed
16
32
  - README: added examples on usages of the post chat APIs.
17
33
  - Uptake [@azure/communication-chat@1.1.1](https://www.npmjs.com/package/@azure/communication-chat/v/1.1.1)
18
34
  - Uptake [acs_webchat-chat-adapter@0.0.35-beta.2](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.2/dist/chat-adapter.js)
35
+ - Update `locale` property in `ChatTranscriptBody` interface to be optional
36
+ - Uptake [acs_webchat-chat-adapter@0.0.35-beta.4](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.4/dist/chat-adapter.js)
19
37
 
20
38
  ## [1.0.0] - 2021-10-08
21
39
  ### Added