Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/omnichannel-chat-sdk

Package Overview
Dependencies
Maintainers
3
Versions
336
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/omnichannel-chat-sdk - npm Package Compare versions

Comparing version 0.2.1-main.221a5d4 to 0.2.1-main.331c6ce

lib/core/ConversationMode.d.ts

1

CHANGELOG.md

@@ -8,2 +8,3 @@ # Changelog

- Add `getCallingToken`
- Send `ChannelId-lcw` message tag

@@ -10,0 +11,0 @@ ## [0.2.0] - 2021-04-30

@@ -11,5 +11,10 @@ import ChatAdapterConfig from "./ChatAdapterConfig";

}
interface PersistentChatConfig {
disable: boolean;
tokenUpdateTime: number;
}
interface IChatSDKConfig {
dataMasking?: IDataMaskingSDKConfig;
telemetry?: TelemetrySDKConfig;
persistentChat?: PersistentChatConfig;
getAuthToken?: () => Promise<string | null>;

@@ -16,0 +21,0 @@ ic3Config?: IC3Config;

5

lib/OmnichannelChatSDK.d.ts

@@ -14,4 +14,4 @@ import IChatConfig from "./core/IChatConfig";

import IStartChatOptionalParams from "./core/IStartChatOptionalParams";
import LiveWorkItemDetails from "./core/LiveWorkItemDetails";
import OnNewMessageOptionalParams from "./core/OnNewMessageOptionalParams";
import LiveWorkItemDetails from "./core/LiveWorkItemDetails";
declare class OmnichannelChatSDK {

@@ -40,2 +40,4 @@ private debug;

private isPersistentChat;
private reconnectId;
private refreshTokenTimer;
constructor(omnichannelConfig: IOmnichannelConfig, chatSDKConfig?: IChatSDKConfig);

@@ -73,3 +75,4 @@ setDebug(flag: boolean): void;

private resolveChatAdapterUrl;
private updateChatToken;
}
export default OmnichannelChatSDK;

@@ -25,3 +25,4 @@ declare enum TelemetryEvent {

StopCall = "StopCall",
OnCallDisconnected = "OnCallDisconnected"
OnCallDisconnected = "OnCallDisconnected",
UpdateChatToken = "UpdateChatToken"
}

@@ -28,0 +29,0 @@ export declare const startEvent: (event: TelemetryEvent) => string;

@@ -30,2 +30,3 @@ "use strict";

TelemetryEvent["OnCallDisconnected"] = "OnCallDisconnected";
TelemetryEvent["UpdateChatToken"] = "UpdateChatToken";
})(TelemetryEvent || (TelemetryEvent = {}));

@@ -32,0 +33,0 @@ exports.startEvent = function (event) {

@@ -13,2 +13,6 @@ "use strict";

ariaTelemetryKey: settings_1.ariaTelemetryKey
},
persistentChat: {
disable: true,
tokenUpdateTime: 21600000
}

@@ -15,0 +19,0 @@ };

{
"name": "@microsoft/omnichannel-chat-sdk",
"version": "0.2.1-main.221a5d4",
"version": "0.2.1-main.331c6ce",
"description": "Microsoft Omnichannel Chat SDK",

@@ -5,0 +5,0 @@ "files": [

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc