@wooksjs/event-wf 0.3.11 → 0.4.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/dist/index.cjs +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -125,9 +125,10 @@ class WooksWf extends wooks.WooksAdapterBase {
|
|
|
125
125
|
restoreCtx();
|
|
126
126
|
const { id, init } = (yield handler());
|
|
127
127
|
if (init) {
|
|
128
|
-
yield init();
|
|
129
128
|
restoreCtx();
|
|
129
|
+
yield init();
|
|
130
130
|
}
|
|
131
|
+
restoreCtx();
|
|
131
132
|
if (resume) {
|
|
132
133
|
result = yield this.wf.resume(id, { context: inputContext, indexes }, input);
|
|
133
134
|
break;
|
package/dist/index.mjs
CHANGED
|
@@ -123,9 +123,10 @@ class WooksWf extends WooksAdapterBase {
|
|
|
123
123
|
restoreCtx();
|
|
124
124
|
const { id, init } = (yield handler());
|
|
125
125
|
if (init) {
|
|
126
|
-
yield init();
|
|
127
126
|
restoreCtx();
|
|
127
|
+
yield init();
|
|
128
128
|
}
|
|
129
|
+
restoreCtx();
|
|
129
130
|
if (resume) {
|
|
130
131
|
result = yield this.wf.resume(id, { context: inputContext, indexes }, input);
|
|
131
132
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wooksjs/event-wf",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "@wooksjs/event-wf",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"author": "Artem Maltsev",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"wooks": "0.
|
|
29
|
-
"@wooksjs/event-core": "0.
|
|
28
|
+
"wooks": "0.4.0",
|
|
29
|
+
"@wooksjs/event-core": "0.4.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@prostojs/logger": "^0.3.6",
|