bpmn-engine 15.1.2 → 15.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ # 15.1.3
5
+
6
+ - fix(types): add missing `settings` option
7
+
4
8
  # 15.1.2
5
9
 
6
10
  - Patch [`bpmn-elements@8.2.2`](https://github.com/paed01/bpmn-elements/blob/master/CHANGELOG.md)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bpmn-engine",
3
3
  "description": "BPMN 2.0 execution engine. Open source javascript workflow engine.",
4
- "version": "15.1.2",
4
+ "version": "15.1.3",
5
5
  "main": "index.js",
6
6
  "types": "types/bpmn-engine.d.ts",
7
7
  "repository": {
@@ -44,6 +44,7 @@ declare module 'bpmn-engine' {
44
44
  */
45
45
  export type BpmnSequenceFlowEvent = 'flow.take' | 'flow.discard' | 'flow.looped';
46
46
  export type BpmnEngineVariable = Record<string, any>;
47
+ export type BpmnEngineSetting = Record<string, any>;
47
48
 
48
49
  export interface BpmnLogger {
49
50
  debug(...args: any[]): void;
@@ -216,6 +217,7 @@ declare module 'bpmn-engine' {
216
217
  */
217
218
  sourceContext?: any;
218
219
  variables?: BpmnEngineVariable;
220
+ settings?: BpmnEngineSetting;
219
221
  /**
220
222
  * optional Logger factory, defaults to debug logger
221
223
  */
@@ -498,7 +500,7 @@ declare module 'bpmn-engine' {
498
500
  readonly output: any;
499
501
  readonly variables: BpmnEngineVariable;
500
502
 
501
- readonly settings: any;
503
+ readonly settings: BpmnEngineSetting;
502
504
 
503
505
  readonly Logger: BpmnLogger;
504
506
  readonly services: BpmnEngineService;