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
5
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 1.8.3-main.f2006b5 to 1.8.3

lib/utils/setOcUserAgent.d.ts

11

CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
## [Unreleased]
## [1.8.3] - 2024-05-15
### Added
- Add `RequestHeaders` telemetry base property to `OCSDKContract`
- Add ability to send `ocUserAgent`
### Changed
- Uptake [@microsoft/ocsdk@0.5.1](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.1)
## [1.8.2] - 2024-05-07

@@ -7,0 +18,0 @@

1

lib/core/ChatSDKConfig.d.ts

@@ -35,4 +35,5 @@ import ChatAdapterConfig from "./messaging/ChatAdapterConfig";

internalConfig?: InternalChatSDKConfig;
ocUserAgent?: string[];
}
export { DataMaskingSDKConfig, PersistentChatConfig };
export default ChatSDKConfig;

@@ -9,2 +9,3 @@ export default interface IOCSDKLogData {

Description: string;
RequestHeaders: string;
RequestPayload: any;

@@ -11,0 +12,0 @@ RequestPath: string;

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

ElapsedTimeInMilliseconds: '',
RequestHeaders: '',
RequestPayload: '',

@@ -469,0 +470,0 @@ RequestPath: '',

2

lib/utils/loggers.js

@@ -122,3 +122,3 @@ "use strict";

};
var additionalProperties = __assign(__assign({}, event), { RequestPayload: event.RequestPayload ? JSON.stringify(event.RequestPayload) : '', ExceptionDetails: event.ExceptionDetails ? JSON.stringify(event.ExceptionDetails) : '' });
var additionalProperties = __assign(__assign({}, event), { RequestHeaders: event.RequestHeaders ? JSON.stringify(event.RequestHeaders) : '', RequestPayload: event.RequestPayload ? JSON.stringify(event.RequestPayload) : '', ExceptionDetails: event.ExceptionDetails ? JSON.stringify(event.ExceptionDetails) : '' });
switch (logLevel) {

@@ -125,0 +125,0 @@ case LogLevel_1.default.DEBUG:

{
"name": "@microsoft/omnichannel-chat-sdk",
"version": "1.8.3-main.f2006b5",
"version": "1.8.3",
"description": "Microsoft Omnichannel Chat SDK",

@@ -44,3 +44,3 @@ "files": [

"@azure/communication-common": "1.1.0",
"@microsoft/ocsdk": "^0.4.5",
"@microsoft/ocsdk": "^0.5.1",
"@microsoft/omnichannel-amsclient": "^0.1.6",

@@ -47,0 +47,0 @@ "@microsoft/omnichannel-ic3core": "^0.1.3"

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