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
0
Versions
931
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 6.1.0-develop-ae8fc8-m46z2h88 to 6.1.0-develop-b9afc6-m5kkaf3a

5

dist/commonjs/EngineEvents/EngineEvent.js

@@ -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";

1

dist/EngineConfiguration.d.ts

@@ -86,2 +86,3 @@ import { LogLevel } from './EngineEvents';

host?: string;
allowedCorsOrigins?: string[];
};

@@ -88,0 +89,0 @@ export declare type IAMConfiguration = {

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

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

@@ -30,12 +32,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;

@@ -53,3 +81,2 @@ signalChannel?: string;

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

@@ -74,5 +101,3 @@ OnMessageTriggered = "OnMessageTriggered",

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

@@ -79,0 +104,0 @@ OnFlowNodeTimerRemoved = "OnFlowNodeTimerRemoved"

@@ -22,2 +22,8 @@ import { DataModels, Identity, Messages, Subscription } from '../index';

}): Promise<void>;
/**
* @requires Engine v19
*/
triggerTimerEvent(flowNodeInstanceId: string, options?: {
identity?: Identity;
}): Promise<void>;
onBoundaryEventTriggered(callback: Messages.CallbackTypes.OnBoundaryEventTriggeredCallback, options?: {

@@ -24,0 +30,0 @@ subscribeOnce?: boolean;

@@ -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.1.0-develop-ae8fc8-m46z2h88",
"version": "6.1.0-develop-b9afc6-m5kkaf3a",
"description": "Software development kit for the Engine.",

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

"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@trivago/prettier-plugin-sort-imports": "^5.0.0",
"@types/express": "^5.0.0",

@@ -44,0 +44,0 @@ "@types/mocha": "^10.0.3",

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