New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/omnichannel-ic3core

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/omnichannel-ic3core - npm Package Compare versions

Comparing version

to
0.1.4-main.09b40a6

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

## [Unreleased]
### Security
- Uptake [axios@1.7.4](https://www.npmjs.com/package/axios/v/1.7.4)

@@ -7,0 +9,0 @@ ## [0.1.3] - 2023-11-10

6

lib/ams/AmsHelper.js

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

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -88,3 +88,3 @@ if (y = 0, t) op = [op[0] & 2, t.value];

return __generator(this, function (_a) {
console.log("AmsHelper.ts uploadDocument(): " + documentId + ", " + file + ", " + ic3Info);
console.log("AmsHelper.ts uploadDocument(): ".concat(documentId, ", ").concat(file, ", ").concat(ic3Info));
isFileImage = Util_1.default.isDocumentTypeImage(file.type);

@@ -179,3 +179,3 @@ url = ServiceEndpointHelper_1.default.getAmsObjectContentUrl(documentId, ic3Info.RegionGtms, isFileImage);

var _this = this;
console.log("AmsHelper.ts getViewStatus(): " + url + ", " + ic3Info);
console.log("AmsHelper.ts getViewStatus(): ".concat(url, ", ").concat(ic3Info));
return new Promise(function (resolve) {

@@ -182,0 +182,0 @@ setTimeout(resolve, Constants_1.default.DelayForAms);

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

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -22,0 +22,0 @@ if (y = 0, t) op = [op[0] & 2, t.value];

@@ -11,7 +11,7 @@ "use strict";

case HostType_1.default.IFrame:
throw new Error("Framed bridge not implemented for " + protocolInfo.hostType + " in IC3Core");
throw new Error("Framed bridge not implemented for ".concat(protocolInfo.hostType, " in IC3Core"));
case HostType_1.default.Page:
return new FramelessBridge_1.default(protocolInfo.protocolType);
default:
throw new Error("Client bridge not implemented for " + protocolInfo.hostType + " in IC3Core");
throw new Error("Client bridge not implemented for ".concat(protocolInfo.hostType, " in IC3Core"));
}

@@ -18,0 +18,0 @@ };

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

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -36,0 +36,0 @@ if (y = 0, t) op = [op[0] & 2, t.value];

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

.catch(function (e) {
reject(FileStatus_1.default.Error + " e");
reject("".concat(FileStatus_1.default.Error, " e"));
});

@@ -263,0 +263,0 @@ }

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

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -141,3 +141,3 @@ if (y = 0, t) op = [op[0] & 2, t.value];

_this.logger && _this.logger.log(LogLevel_1.default.WARN, IC3TelemetryEvent_1.default.JoinConversationV1GetThreadRequestFailed, {
Description: "Unable to retrieve thread: " + ex,
Description: "Unable to retrieve thread: ".concat(ex),
ElapsedTimeInMilliseconds: elapsedTimeInMilliseconds,

@@ -144,0 +144,0 @@ EndpointUrl: _this.EndpointUrl, EndpointId: _this.ic3Info.endpointId

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

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -102,3 +102,3 @@ if (y = 0, t) op = [op[0] & 2, t.value];

(_a = this.logger) === null || _a === void 0 ? void 0 : _a.log(LogLevel_1.default.INFO, IC3TelemetryEvent_1.default.IC3InitializationBegins, {
Description: "Endpoint to poll is " + JSON.stringify(this.ic3Info.RegionGtms.chatService),
Description: "Endpoint to poll is ".concat(JSON.stringify(this.ic3Info.RegionGtms.chatService)),
EndpointUrl: this.ic3Info.RegionGtms.chatService,

@@ -136,3 +136,3 @@ EndpointId: this.ic3Info.endpointId

(_a = this.logger) === null || _a === void 0 ? void 0 : _a.log(LogLevel_1.default.INFO, IC3TelemetryEvent_1.default.IC3StoppedPolling, {
Description: initializer + " stopped polling.",
Description: "".concat(initializer, " stopped polling."),
EndpointUrl: this.ic3Info.RegionGtms.chatService,

@@ -168,3 +168,3 @@ EndpointId: this.ic3Info.endpointId

(_a = this.logger) === null || _a === void 0 ? void 0 : _a.log(LogLevel_1.default.INFO, IC3TelemetryEvent_1.default.IC3EndpointCreationSuccess, {
Description: "IC3 endpoint Id is " + this.ic3Info.endpointId,
Description: "IC3 endpoint Id is ".concat(this.ic3Info.endpointId),
EndpointUrl: this.ic3Info.RegionGtms.chatService,

@@ -347,3 +347,3 @@ EndpointId: this.ic3Info.endpointId

var locationHeader = Utilities_1.default.getResponseHeader(jqXHR, HttpHeaders_1.default.LocationHeader);
this.telemetryMessage = request + " failed. Error Code: " + jqXHR.status + ".";
this.telemetryMessage = "".concat(request, " failed. Error Code: ").concat(jqXHR.status, ".");
this.errorCode = jqXHR.status.toString();

@@ -383,3 +383,3 @@ this.skipUnsubscribe = true; // never unsubscribe on error since endpoint is already invalid

(_a = this.logger) === null || _a === void 0 ? void 0 : _a.log(LogLevel_1.default.ERROR, IC3TelemetryEvent_1.default.MaxRetryCountReachedForRedirect, {
Description: "Fatal Error. Initialization failed. Maximum retry count reached. Exiting. " + this.telemetryMessage,
Description: "Fatal Error. Initialization failed. Maximum retry count reached. Exiting. ".concat(this.telemetryMessage),
ErrorCode: this.errorCode,

@@ -386,0 +386,0 @@ ExceptionDetails: e,

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

ClientInfo: Constants_1.default.ClientInfoValue,
ContextId: "tcid=" + (0, uuid_1.uuidv4)(),
ContextId: "tcid=".concat((0, uuid_1.uuidv4)()),
Expires: 0,

@@ -17,0 +17,0 @@ Pragma: Constants_1.default.NoCache,

@@ -1,2 +0,2 @@

declare type MatchingIC3EventIndex = {
type MatchingIC3EventIndex = {
previousPollIndex: number;

@@ -3,0 +3,0 @@ newPollIndex: number;

@@ -1,2 +0,2 @@

declare type IIC3GetMessagesRequestQueryParameters = {
type IIC3GetMessagesRequestQueryParameters = {
pageSize: number;

@@ -3,0 +3,0 @@ view: string;

{
"name": "@microsoft/omnichannel-ic3core",
"version": "0.1.3",
"version": "0.1.4-main.09b40a6",
"description": "Microsoft Omnichannel IC3Core",

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

"dependencies": {
"axios": "^1.6.0",
"axios": "^1.7.4",
"buffer": "^6.0.3"
}
}

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

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