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

@5minds/processcube_engine_sdk

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 6.0.2-feature-7f7dfa-m4se9naz to 6.0.2-feature-9bdbbd-m4v70oxy

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

(function (EngineEventType) {
EngineEventType["OnActivityError"] = "OnActivityError";
EngineEventType["OnEventProcessed"] = "OnEventProcessed";

@@ -38,5 +37,3 @@ EngineEventType["OnMessageTriggered"] = "OnMessageTriggered";

EngineEventType["OnFlowNodeCallActivityResponseReceived"] = "OnFlowNodeCallActivityResponseReceived";
EngineEventType["OnFlowNodeEventSending"] = "OnFlowNodeEventSending";
EngineEventType["OnFlowNodeEventRetrySending"] = "OnFlowNodeEventRetrySending";
EngineEventType["OnFlowNodeEventResponseReceived"] = "OnFlowNodeEventResponseReceived";
EngineEventType["OnFlowNodeSubProcessResponseReceived"] = "OnFlowNodeSubProcessResponseReceived";
EngineEventType["OnFlowNodeTimerStarted"] = "OnFlowNodeTimerStarted";

@@ -43,0 +40,0 @@ EngineEventType["OnFlowNodeTimerRemoved"] = "OnFlowNodeTimerRemoved";

@@ -18,3 +18,5 @@ import { RuntimeExpressionParameters } from '..';

export declare type EngineEvent = {
eventId?: string;
eventType: EngineEventType;
logLevel: LogLevel;
timestamp: Date;

@@ -29,12 +31,38 @@ processStartedAt?: Date;

processDefinitionHash: string;
processInstanceId: string;
parentProcessInstanceId?: string;
correlationId: string;
/**
* Only included with OnFlowNodeXX events.
*/
flowNodeId?: string;
/**
* Only included with OnFlowNodeXX events.
*/
flowNodeInstanceId?: string;
/**
* Only included with OnFlowNodeXX events.
*/
flowNodeType?: BpmnType;
/**
* Only included with OnFlowNodeXX events.
*/
currentFlowNode?: BaseElementViewModel;
processInstanceId: string;
parentProcessInstanceId?: string;
correlationId: string;
logLevel: LogLevel;
tokenPayload?: object;
eventId?: string;
/**
* For "OnFlowNodeXX" Events, this will contain the current token on the FlowNodeInstance.
* For "OnProcessXX" Events, this will contain either the ProcessInstance's initial token, or its end token.
*/
tokenPayload?: Record<string, any>;
/**
* Only included with OnFlowNodeExited events.
*/
writtenDataObjectValues?: Record<string, any>;
/**
* Only included with OnFlowNodeEntered events.
*/
writtenCorrelationMetadata?: Record<string, string>;
/**
* Only included with OnFlowNodeEntered events.
*/
writtenProcessInstanceMetadata?: Record<string, string>;
messageChannel?: string;

@@ -52,3 +80,2 @@ signalChannel?: string;

export declare enum EngineEventType {
OnActivityError = "OnActivityError",
OnEventProcessed = "OnEventProcessed",

@@ -73,5 +100,3 @@ OnMessageTriggered = "OnMessageTriggered",

OnFlowNodeCallActivityResponseReceived = "OnFlowNodeCallActivityResponseReceived",
OnFlowNodeEventSending = "OnFlowNodeEventSending",
OnFlowNodeEventRetrySending = "OnFlowNodeEventRetrySending",
OnFlowNodeEventResponseReceived = "OnFlowNodeEventResponseReceived",
OnFlowNodeSubProcessResponseReceived = "OnFlowNodeSubProcessResponseReceived",
OnFlowNodeTimerStarted = "OnFlowNodeTimerStarted",

@@ -78,0 +103,0 @@ OnFlowNodeTimerRemoved = "OnFlowNodeTimerRemoved"

@@ -15,3 +15,2 @@ import { EngineEventType } from './EngineEvents/index';

export declare const LogEventType: {
OnActivityError: EngineEventType.OnActivityError;
OnEventProcessed: EngineEventType.OnEventProcessed;

@@ -36,7 +35,5 @@ OnMessageTriggered: EngineEventType.OnMessageTriggered;

OnFlowNodeCallActivityResponseReceived: EngineEventType.OnFlowNodeCallActivityResponseReceived;
OnFlowNodeEventSending: EngineEventType.OnFlowNodeEventSending;
OnFlowNodeEventRetrySending: EngineEventType.OnFlowNodeEventRetrySending;
OnFlowNodeEventResponseReceived: EngineEventType.OnFlowNodeEventResponseReceived;
OnFlowNodeSubProcessResponseReceived: EngineEventType.OnFlowNodeSubProcessResponseReceived;
OnFlowNodeTimerStarted: EngineEventType.OnFlowNodeTimerStarted;
OnFlowNodeTimerRemoved: EngineEventType.OnFlowNodeTimerRemoved;
};
{
"name": "@5minds/processcube_engine_sdk",
"version": "6.0.2-feature-7f7dfa-m4se9naz",
"version": "6.0.2-feature-9bdbbd-m4v70oxy",
"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