@microsoft/omnichannel-chat-sdk
Advanced tools
Comparing version 0.2.1-main.0041e6a to 0.2.1-main.221a5d4
@@ -5,2 +5,5 @@ # Changelog | ||
## [Unreleased] | ||
### Changed | ||
- Uptake [@microsoft/ocsdk@0.2.0](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.2.0) | ||
- Add `getCallingToken` | ||
@@ -7,0 +10,0 @@ ## [0.2.0] - 2021-04-30 |
@@ -38,2 +38,3 @@ import IChatConfig from "./core/IChatConfig"; | ||
private ocSdkLogger; | ||
private isPersistentChat; | ||
constructor(omnichannelConfig: IOmnichannelConfig, chatSDKConfig?: IChatSDKConfig); | ||
@@ -53,2 +54,3 @@ setDebug(flag: boolean): void; | ||
getChatToken(cached?: boolean): Promise<IChatToken>; | ||
getCallingToken(): Promise<string>; | ||
getMessages(): Promise<IMessage[] | undefined>; | ||
@@ -55,0 +57,0 @@ getDataMaskingRules(): Promise<any>; |
{ | ||
"name": "@microsoft/omnichannel-chat-sdk", | ||
"version": "0.2.1-main.0041e6a", | ||
"version": "0.2.1-main.221a5d4", | ||
"description": "Microsoft Omnichannel Chat SDK", | ||
@@ -41,5 +41,5 @@ "files": [ | ||
"dependencies": { | ||
"@microsoft/ocsdk": "^0.1.1", | ||
"@microsoft/ocsdk": "^0.2.0", | ||
"@microsoft/omnichannel-ic3core": "^0.1.1" | ||
} | ||
} |
@@ -36,4 +36,4 @@ # Omnichannel Chat SDK | ||
| Escalation to Voice & Video | β | Web Only | | ||
| Co-browse | β | β | | ||
| Screen Sharing | β | β | | ||
| Co-browse | β | Web Only | | ||
| Screen Sharing | β | Web Only | | ||
| Authenticated Chat | β | β | | ||
@@ -72,2 +72,3 @@ | Pre-chat Survey | β | β | | ||
| OmnichannelChatSDK.getChatToken() | Get chat token | | | ||
| OmnichannelChatSDK.getCallingToken() | Get calling token | | | ||
| OmnichannelChatSDK.getMessages() | Get all messages | | | ||
@@ -127,2 +128,7 @@ | OmnichannelChatSDK.sendMessage() | Send message | | | ||
### Get Calling Token | ||
```ts | ||
const callingToken = await chatSDK.getCallingToken(); | ||
``` | ||
### Get Live Chat Config | ||
@@ -129,0 +135,0 @@ ```ts |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
719893
8875
561
+ Added@microsoft/ocsdk@0.2.0(transitive)
- Removed@microsoft/ocsdk@0.1.1(transitive)
Updated@microsoft/ocsdk@^0.2.0