@microsoft/omnichannel-chat-sdk
Advanced tools
Comparing version 0.2.1-main.51029ff to 0.2.1-main.c6982c2
@@ -7,2 +7,3 @@ # Changelog | ||
- Uptake [@microsoft/ocsdk@0.2.0](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.2.0) | ||
- Add `getCallingToken` | ||
@@ -9,0 +10,0 @@ ## [0.2.0] - 2021-04-30 |
@@ -52,2 +52,3 @@ import IChatConfig from "./core/IChatConfig"; | ||
getChatToken(cached?: boolean): Promise<IChatToken>; | ||
getCallingToken(): Promise<string>; | ||
getMessages(): Promise<IMessage[] | undefined>; | ||
@@ -54,0 +55,0 @@ getDataMaskingRules(): Promise<any>; |
{ | ||
"name": "@microsoft/omnichannel-chat-sdk", | ||
"version": "0.2.1-main.51029ff", | ||
"version": "0.2.1-main.c6982c2", | ||
"description": "Microsoft Omnichannel Chat SDK", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -71,2 +71,3 @@ # Omnichannel Chat SDK | ||
| OmnichannelChatSDK.getChatToken() | Get chat token | | | ||
| OmnichannelChatSDK.getCallingToken() | Get calling token | | | ||
| OmnichannelChatSDK.getMessages() | Get all messages | | | ||
@@ -126,2 +127,7 @@ | OmnichannelChatSDK.sendMessage() | Send message | | | ||
### Get Calling Token | ||
```ts | ||
const callingToken = await chatSDK.getCallingToken(); | ||
``` | ||
### Get Live Chat Config | ||
@@ -128,0 +134,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
719796
8873
561