bpmn-elements 14.0.1 → 14.1.0

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.
@@ -120,7 +120,8 @@ SignalEventDefinition.prototype.executeThrow = function executeThrow(executeMess
120
120
  throwContent.parent = (0, _messageHelper.shiftParent)(parent);
121
121
  const broker = this.broker;
122
122
  broker.publish('event', 'activity.signal', throwContent, {
123
- type: 'signal'
123
+ type: 'signal',
124
+ delegate: true
124
125
  });
125
126
  return broker.publish('execution', 'execute.completed', (0, _messageHelper.cloneContent)(executeContent));
126
127
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpmn-elements",
3
- "version": "14.0.1",
3
+ "version": "14.1.0",
4
4
  "description": "Executable workflow elements based on BPMN 2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -35,6 +35,7 @@
35
35
  "posttest": "npm run lint && npm run dist",
36
36
  "lint": "eslint . --cache && prettier . --check --cache",
37
37
  "prepack": "npm run dist",
38
+ "test:md": "texample ./docs/Examples.md,./docs/StartEvent.md,./docs/Extension.md",
38
39
  "cov:html": "c8 -r html -r text mocha -R @bonniernews/hot-bev -p -t 3000",
39
40
  "test:lcov": "c8 -r lcov mocha && npm run lint",
40
41
  "dist": "babel src -d dist/"
@@ -83,7 +84,8 @@
83
84
  "mocha-cakes-2": "^3.3.0",
84
85
  "moddle-context-serializer": "^4.1.2",
85
86
  "nock": "^13.5.3",
86
- "prettier": "^3.2.5"
87
+ "prettier": "^3.2.5",
88
+ "texample": "^0.0.2"
87
89
  },
88
90
  "dependencies": {
89
91
  "@0dep/piso": "^0.1.3",
@@ -108,7 +108,7 @@ SignalEventDefinition.prototype.executeThrow = function executeThrow(executeMess
108
108
  throwContent.parent = shiftParent(parent);
109
109
 
110
110
  const broker = this.broker;
111
- broker.publish('event', 'activity.signal', throwContent, { type: 'signal' });
111
+ broker.publish('event', 'activity.signal', throwContent, { type: 'signal', delegate: true });
112
112
 
113
113
  return broker.publish('execution', 'execute.completed', cloneContent(executeContent));
114
114
  };