@onify/flow-extensions 0.1.0 → 1.0.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.
- package/CHANGELOG.md +4 -0
- package/dist/index.js +2 -2
- package/index.js +2 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -130,7 +130,7 @@ class OnifyElementExtensions {
|
|
|
130
130
|
activity.on('activity.execution.completed', async elementApi => {
|
|
131
131
|
if (elementApi.fields.redelivered) return;
|
|
132
132
|
formatQ.queueMessage({
|
|
133
|
-
routingKey: 'run.end.
|
|
133
|
+
routingKey: 'run.end.format'
|
|
134
134
|
}, {
|
|
135
135
|
endRoutingKey: 'run.end.complete'
|
|
136
136
|
}, {
|
|
@@ -140,7 +140,7 @@ class OnifyElementExtensions {
|
|
|
140
140
|
try {
|
|
141
141
|
var format = await this._onExecuted(elementApi);
|
|
142
142
|
} catch (err) {
|
|
143
|
-
return broker.publish('format', 'run.
|
|
143
|
+
return broker.publish('format', 'run.end.error', {
|
|
144
144
|
error: err
|
|
145
145
|
}, {
|
|
146
146
|
persistent: false
|
package/index.js
CHANGED
|
@@ -90,12 +90,12 @@ class OnifyElementExtensions {
|
|
|
90
90
|
activity.on('activity.execution.completed', async (elementApi) => {
|
|
91
91
|
if (elementApi.fields.redelivered) return;
|
|
92
92
|
|
|
93
|
-
formatQ.queueMessage({routingKey: 'run.end.
|
|
93
|
+
formatQ.queueMessage({routingKey: 'run.end.format'}, {endRoutingKey: 'run.end.complete'}, {persistent: false});
|
|
94
94
|
|
|
95
95
|
try {
|
|
96
96
|
var format = await this._onExecuted(elementApi);
|
|
97
97
|
} catch (err) {
|
|
98
|
-
return broker.publish('format', 'run.
|
|
98
|
+
return broker.publish('format', 'run.end.error', {error: err}, {persistent: false});
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
broker.publish('format', 'run.end.complete', {...format}, {persistent: false});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onify/flow-extensions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Onify Flow extensions",
|
|
5
5
|
"module": "index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -35,26 +35,26 @@
|
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@aircall/expression-parser": "^1.0.4",
|
|
38
|
-
"@babel/cli": "^7.17.
|
|
39
|
-
"@babel/core": "^7.
|
|
40
|
-
"@babel/preset-env": "^7.
|
|
38
|
+
"@babel/cli": "^7.17.10",
|
|
39
|
+
"@babel/core": "^7.18.5",
|
|
40
|
+
"@babel/preset-env": "^7.18.2",
|
|
41
41
|
"@babel/register": "^7.17.7",
|
|
42
|
-
"bpmn-elements": "^8.0.
|
|
42
|
+
"bpmn-elements": "^8.0.1",
|
|
43
43
|
"bpmn-engine": "^14.0.0",
|
|
44
44
|
"bpmn-moddle": "^7.1.2",
|
|
45
|
-
"c8": "^7.11.
|
|
45
|
+
"c8": "^7.11.3",
|
|
46
46
|
"camunda-bpmn-moddle": "^6.1.2",
|
|
47
47
|
"chai": "^4.3.6",
|
|
48
48
|
"chronokinesis": "^3.1.2",
|
|
49
49
|
"debug": "^4.3.4",
|
|
50
|
-
"eslint": "^
|
|
51
|
-
"mocha": "^
|
|
50
|
+
"eslint": "^7.32.0",
|
|
51
|
+
"mocha": "^10.0.0",
|
|
52
52
|
"mocha-cakes-2": "^3.3.0",
|
|
53
53
|
"moddle-context-serializer": "^2.1.0",
|
|
54
|
-
"nock": "^13.2.
|
|
54
|
+
"nock": "^13.2.6"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"cron-parser": "^4.
|
|
57
|
+
"cron-parser": "^4.4.0"
|
|
58
58
|
},
|
|
59
59
|
"files": [
|
|
60
60
|
"src",
|