@microsoft/omnichannel-chat-sdk 1.1.1-main.93f1eed → 1.1.1-main.b7a985d
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 +17 -1
- package/README.md +530 -382
- package/lib/OmnichannelChatSDK.d.ts +4 -2
- package/lib/OmnichannelChatSDK.js +157 -94
- package/lib/OmnichannelChatSDK.js.map +1 -1
- package/lib/config/settings.d.ts +1 -1
- package/lib/config/settings.js +1 -1
- package/lib/config/settings.js.map +1 -1
- package/lib/core/GetLiveChatConfigOptionalParams.d.ts +5 -0
- package/lib/core/GetLiveChatConfigOptionalParams.js +3 -0
- package/lib/core/GetLiveChatConfigOptionalParams.js.map +1 -0
- package/lib/core/InitializeOptionalParams.d.ts +5 -0
- package/lib/core/InitializeOptionalParams.js +3 -0
- package/lib/core/InitializeOptionalParams.js.map +1 -0
- package/lib/core/StartChatOptionalParams.d.ts +1 -0
- package/lib/core/messaging/ACSClient.d.ts +1 -0
- package/lib/core/messaging/ACSClient.js +3 -0
- package/lib/core/messaging/ACSClient.js.map +1 -1
- package/lib/external/ACSAdapter/AMSFileManager.d.ts +28 -0
- package/lib/external/ACSAdapter/AMSFileManager.js +50 -2
- package/lib/external/ACSAdapter/AMSFileManager.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +51 -19
- package/lib/utils/createOmnichannelMessage.js +16 -7
- package/lib/utils/createOmnichannelMessage.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
4
|
## [Unreleased]
|
5
|
+
### Added
|
6
|
+
- Add `sendDefaultInitContext` optional parameter to `ChatSDK.startChat()` to automatically populate `browser`, `device`, `originurl` & `os` as default init context on web
|
7
|
+
- Add `sendCacheHeaders` as optional paramater to `ChatSDK.initialize()` and `ChatSDK.getLiveChatConfig()`
|
8
|
+
- Add `validateAuthChatRecord` call on `ChatSDK.startChat()` with `liveChatContext` for all authenticated chat scenarios
|
9
|
+
- Pass `ChatClient` during `ACSAdapter` initialization
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
- Prevent `AMSFileManager.getFileIds()` & `AMSFileManager.getFileMetadata()` to be triggered on all activities with null checks
|
13
|
+
- Add `LiveChatVersion` check on `ChatSDK.updateChatToken()`
|
14
|
+
- Use `amsreferences` property instead of `amsReferences` by default
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
- Uptake [@microsoft/ocsdk@0.3.1](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.1)
|
18
|
+
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.8](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.8/dist/chat-adapter.js)
|
19
|
+
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.9](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.9/dist/chat-adapter.js)
|
20
|
+
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.12](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.12/dist/chat-adapter.js)
|
5
21
|
|
6
22
|
## [1.1.0] - 2022-04-15
|
7
23
|
### Added
|
@@ -20,7 +36,7 @@ All notable changes to this project will be documented in this file.
|
|
20
36
|
- Add support for separate bot post chat survey feature
|
21
37
|
- Pass `logger` to `acs_webchat-chat-adapter`
|
22
38
|
|
23
|
-
###
|
39
|
+
### Fixed
|
24
40
|
- Add `acs_webchat-chat-adapter` middlewares to format `channelData.tags`
|
25
41
|
- Skip `session init` call on existing conversation
|
26
42
|
- Fix `chat reconnect` not ending the conversation on calling `ChatSDK.endChat()`
|