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

@5minds/processcube_engine_sdk

Package Overview
Dependencies
Maintainers
4
Versions
934
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5minds/processcube_engine_sdk - npm Package Compare versions

Comparing version 4.0.0-feature-758110-lkqrmrtr to 4.0.0-feature-928fbc-lkts3am1

3

dist/amd/ProcessModel/ViewModel/Activities/ReceiveTaskViewModel.js

@@ -7,6 +7,7 @@ define(["require", "exports", "./ActivityViewModel"], function (require, exports, ActivityViewModel_1) {

constructor(receiveTask, processModel) {
var _a, _b;
var _a, _b, _c;
super(receiveTask, processModel);
this.messageName = (_a = receiveTask.messageEventDefinition) === null || _a === void 0 ? void 0 : _a.name;
this.messageId = (_b = receiveTask.messageEventDefinition) === null || _b === void 0 ? void 0 : _b.id;
this.processModelIds = (_c = receiveTask.messageEventDefinition) === null || _c === void 0 ? void 0 : _c.processModelIds;
}

@@ -13,0 +14,0 @@ }

@@ -7,6 +7,7 @@ define(["require", "exports", "./ActivityViewModel"], function (require, exports, ActivityViewModel_1) {

constructor(sendTask, processModel) {
var _a, _b;
var _a, _b, _c;
super(sendTask, processModel);
this.messageName = (_a = sendTask.messageEventDefinition) === null || _a === void 0 ? void 0 : _a.name;
this.messageId = (_b = sendTask.messageEventDefinition) === null || _b === void 0 ? void 0 : _b.id;
this.processModelIds = (_c = sendTask.messageEventDefinition) === null || _c === void 0 ? void 0 : _c.processModelIds;
}

@@ -13,0 +14,0 @@ }

@@ -17,8 +17,9 @@ define(["require", "exports", "../FlowNodeViewModel"], function (require, exports, FlowNodeViewModel_1) {

constructor(event, processModel) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e;
super(event, processModel);
this.messageName = (_a = event.messageEventDefinition) === null || _a === void 0 ? void 0 : _a.name;
this.messageId = (_b = event.messageEventDefinition) === null || _b === void 0 ? void 0 : _b.id;
this.signalName = (_c = event.signalEventDefinition) === null || _c === void 0 ? void 0 : _c.name;
this.signalId = (_d = event.signalEventDefinition) === null || _d === void 0 ? void 0 : _d.id;
this.processModelIds = (_c = event.messageEventDefinition) === null || _c === void 0 ? void 0 : _c.processModelIds;
this.signalName = (_d = event.signalEventDefinition) === null || _d === void 0 ? void 0 : _d.name;
this.signalId = (_e = event.signalEventDefinition) === null || _e === void 0 ? void 0 : _e.id;
}

@@ -25,0 +26,0 @@ }

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

constructor(receiveTask, processModel) {
var _a, _b;
var _a, _b, _c;
super(receiveTask, processModel);
this.messageName = (_a = receiveTask.messageEventDefinition) === null || _a === void 0 ? void 0 : _a.name;
this.messageId = (_b = receiveTask.messageEventDefinition) === null || _b === void 0 ? void 0 : _b.id;
this.processModelIds = (_c = receiveTask.messageEventDefinition) === null || _c === void 0 ? void 0 : _c.processModelIds;
}

@@ -13,0 +14,0 @@ }

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

constructor(sendTask, processModel) {
var _a, _b;
var _a, _b, _c;
super(sendTask, processModel);
this.messageName = (_a = sendTask.messageEventDefinition) === null || _a === void 0 ? void 0 : _a.name;
this.messageId = (_b = sendTask.messageEventDefinition) === null || _b === void 0 ? void 0 : _b.id;
this.processModelIds = (_c = sendTask.messageEventDefinition) === null || _c === void 0 ? void 0 : _c.processModelIds;
}

@@ -13,0 +14,0 @@ }

@@ -17,8 +17,9 @@ "use strict";

constructor(event, processModel) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e;
super(event, processModel);
this.messageName = (_a = event.messageEventDefinition) === null || _a === void 0 ? void 0 : _a.name;
this.messageId = (_b = event.messageEventDefinition) === null || _b === void 0 ? void 0 : _b.id;
this.signalName = (_c = event.signalEventDefinition) === null || _c === void 0 ? void 0 : _c.name;
this.signalId = (_d = event.signalEventDefinition) === null || _d === void 0 ? void 0 : _d.id;
this.processModelIds = (_c = event.messageEventDefinition) === null || _c === void 0 ? void 0 : _c.processModelIds;
this.signalName = (_d = event.signalEventDefinition) === null || _d === void 0 ? void 0 : _d.name;
this.signalId = (_e = event.signalEventDefinition) === null || _e === void 0 ? void 0 : _e.id;
}

@@ -25,0 +26,0 @@ }

@@ -314,3 +314,3 @@ /// <reference types="node" />

*/
triggerMessageEvent: <TPayload extends object>(messageName: string, payload?: TPayload, processInstanceId?: string, identity?: Identity, correlationId?: string) => Promise<string>;
triggerMessageEvent: <TPayload extends object>(messageName: string, processModelIds: Array<string>, payload?: TPayload, processInstanceId?: string, identity?: Identity, correlationId?: string) => Promise<string>;
/**

@@ -326,3 +326,3 @@ * Triggers a message start event.

*/
triggerMessageStartEvent: <TPayload extends object>(messageName: string, payload?: TPayload, identity?: Identity, correlationId?: string) => Promise<string>;
triggerMessageStartEvent: <TPayload extends object>(messageName: string, processModelIds: Array<string>, payload?: TPayload, identity?: Identity, correlationId?: string) => Promise<string>;
/**

@@ -329,0 +329,0 @@ * Triggers a signal event.

@@ -10,3 +10,3 @@ import { DataModels, Identity, Messages, Subscription } from '../index';

}): Promise<EventList>;
triggerMessageEvent<TPayload>(messageName: string, options?: {
triggerMessageEvent<TPayload>(messageName: string, processModelIds: Array<string>, options?: {
processInstanceId?: string;

@@ -13,0 +13,0 @@ payload?: TPayload;

@@ -12,3 +12,3 @@ import { DataModels, Identity } from '../index';

finishUserTask(userTaskInstanceId: string, userTaskResult: DataModels.FlowNodeInstances.UserTaskResult, identity?: Identity): Promise<void>;
triggerMessageEvent<TPayload>(messageName: string, options?: {
triggerMessageEvent<TPayload>(messageName: string, processModelIds: Array<string>, options?: {
processInstanceId?: string;

@@ -15,0 +15,0 @@ payload?: TPayload;

@@ -46,2 +46,3 @@ import { EventType } from '../Constants';

name: string;
processModelIds: Array<string>;
}

@@ -48,0 +49,0 @@ /**

@@ -7,3 +7,4 @@ import { ReceiveTask } from '../../Model/Activities/index';

messageId?: string;
processModelIds: Array<string>;
constructor(receiveTask: ReceiveTask, processModel: ProcessModelLike);
}

@@ -7,3 +7,4 @@ import { SendTask } from '../../Model/Activities/index';

messageId?: string;
processModelIds: Array<string>;
constructor(sendTask: SendTask, processModel: ProcessModelLike);
}

@@ -17,2 +17,3 @@ import { Event } from '../../Model/Events/index';

messageId?: string;
processModelIds?: Array<string>;
signalName?: string;

@@ -19,0 +20,0 @@ signalId?: string;

{
"name": "@5minds/processcube_engine_sdk",
"version": "4.0.0-feature-758110-lkqrmrtr",
"version": "4.0.0-feature-928fbc-lkts3am1",
"description": "Software development kit for the Engine.",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

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

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