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

@5minds/processcube_engine_client

Package Overview
Dependencies
Maintainers
4
Versions
674
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5minds/processcube_engine_client - npm Package Compare versions

Comparing version 4.4.0-develop-f6025f-lj4b6jeg to 4.4.0-feature-cec9ac-lje0xlsa

16

dist/amd/Clients/Lib/Mappers.js
define(["require", "exports", "@5minds/processcube_engine_sdk"], function (require, exports, processcube_engine_sdk_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mapProcessInstance = exports.mapExternalTask = exports.mapDataObjectInstance = exports.mapCronjobHistory = exports.mapActiveCronjobConfiguration = exports.mapCronjobConfiguration = exports.mapProcessToken = exports.mapUserTask = exports.mapServiceTask = exports.mapReceiveTask = exports.mapManualTask = exports.mapEvent = exports.mapEmptyActivity = exports.mapSubprocess = exports.mapCallActivity = exports.mapFlowNodeInstance = exports.mapProcessModel = exports.mapProcessDefinition = exports.mapAnonymousSession = void 0;
exports.mapProcessInstance = exports.mapExternalTask = exports.mapDataObjectInstance = exports.mapCronjobHistory = exports.mapActiveCronjobConfiguration = exports.mapCronjobConfiguration = exports.mapProcessToken = exports.mapUserTask = exports.mapServiceTask = exports.mapSendTask = exports.mapReceiveTask = exports.mapManualTask = exports.mapEvent = exports.mapEmptyActivity = exports.mapSubprocess = exports.mapCallActivity = exports.mapFlowNodeInstance = exports.mapProcessModel = exports.mapProcessDefinition = exports.mapAnonymousSession = void 0;
function mapAnonymousSession(rawSession) {

@@ -59,2 +59,5 @@ return {

}
if (data.flowNodeType === processcube_engine_sdk_1.BpmnType.sendTask) {
return mapSendTask(data);
}
if (data.flowNodeType === processcube_engine_sdk_1.BpmnType.receiveTask) {

@@ -112,6 +115,15 @@ return mapReceiveTask(data);

...createBaseFlowNodeInstance(data),
sendTaskFlowNodeInstanceId: data.sendTaskFlowNodeInstanceId,
messageName: data.messageName,
triggerValue: data.triggerValue,
};
}
exports.mapReceiveTask = mapReceiveTask;
function mapSendTask(data) {
return {
...createBaseFlowNodeInstance(data),
messageName: data.messageName,
customCorrelationId: data.customCorrelationId,
};
}
exports.mapSendTask = mapSendTask;
function mapServiceTask(data) {

@@ -118,0 +130,0 @@ const serviceTaskInstance = createBaseFlowNodeInstance(data);

@@ -12,2 +12,3 @@ import { AnonymousSession, DataModels, Cronjob } from '@5minds/processcube_engine_sdk';

export declare function mapReceiveTask(data: any): DataModels.FlowNodeInstances.ReceiveTaskInstance;
export declare function mapSendTask(data: any): DataModels.FlowNodeInstances.SendTaskInstance;
export declare function mapServiceTask(data: any): DataModels.FlowNodeInstances.ServiceTaskInstance;

@@ -14,0 +15,0 @@ export declare function mapUserTask(data: any): DataModels.FlowNodeInstances.UserTaskInstance;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mapProcessInstance = exports.mapExternalTask = exports.mapDataObjectInstance = exports.mapCronjobHistory = exports.mapActiveCronjobConfiguration = exports.mapCronjobConfiguration = exports.mapProcessToken = exports.mapUserTask = exports.mapServiceTask = exports.mapReceiveTask = exports.mapManualTask = exports.mapEvent = exports.mapEmptyActivity = exports.mapSubprocess = exports.mapCallActivity = exports.mapFlowNodeInstance = exports.mapProcessModel = exports.mapProcessDefinition = exports.mapAnonymousSession = void 0;
exports.mapProcessInstance = exports.mapExternalTask = exports.mapDataObjectInstance = exports.mapCronjobHistory = exports.mapActiveCronjobConfiguration = exports.mapCronjobConfiguration = exports.mapProcessToken = exports.mapUserTask = exports.mapServiceTask = exports.mapSendTask = exports.mapReceiveTask = exports.mapManualTask = exports.mapEvent = exports.mapEmptyActivity = exports.mapSubprocess = exports.mapCallActivity = exports.mapFlowNodeInstance = exports.mapProcessModel = exports.mapProcessDefinition = exports.mapAnonymousSession = void 0;
const processcube_engine_sdk_1 = require("@5minds/processcube_engine_sdk");

@@ -59,2 +59,5 @@ function mapAnonymousSession(rawSession) {

}
if (data.flowNodeType === processcube_engine_sdk_1.BpmnType.sendTask) {
return mapSendTask(data);
}
if (data.flowNodeType === processcube_engine_sdk_1.BpmnType.receiveTask) {

@@ -112,6 +115,15 @@ return mapReceiveTask(data);

...createBaseFlowNodeInstance(data),
sendTaskFlowNodeInstanceId: data.sendTaskFlowNodeInstanceId,
messageName: data.messageName,
triggerValue: data.triggerValue,
};
}
exports.mapReceiveTask = mapReceiveTask;
function mapSendTask(data) {
return {
...createBaseFlowNodeInstance(data),
messageName: data.messageName,
customCorrelationId: data.customCorrelationId,
};
}
exports.mapSendTask = mapSendTask;
function mapServiceTask(data) {

@@ -118,0 +130,0 @@ const serviceTaskInstance = createBaseFlowNodeInstance(data);

4

package.json
{
"name": "@5minds/processcube_engine_client",
"version": "4.4.0-develop-f6025f-lj4b6jeg",
"version": "4.4.0-feature-cec9ac-lje0xlsa",
"description": "Contains a typescript based client for accessing the Engine.",

@@ -36,3 +36,3 @@ "main": "dist/commonjs/index.js",

"dependencies": {
"@5minds/processcube_engine_sdk": "3.3.0",
"@5minds/processcube_engine_sdk": "feature~PCE-225_sync_send_and_receive_tasks_with_message_events",
"@types/socket.io": "^2.1.13",

@@ -39,0 +39,0 @@ "@types/socket.io-client": "^1.4.36",

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