@moostjs/event-wf 0.3.13 → 0.3.14
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -102,7 +102,7 @@ class MoostWf {
|
|
|
102
102
|
}
|
|
103
103
|
const _fn = fn;
|
|
104
104
|
this.toInit.push(() => {
|
|
105
|
-
this.wfApp.flow(targetPath, wfSchema || [], opts.prefix, _fn);
|
|
105
|
+
this.wfApp.flow(targetPath, wfSchema || [], opts.prefix === '/' ? '' : opts.prefix, _fn);
|
|
106
106
|
opts.logHandler(`${'[36m'}(${handler.type})${'[32m'}${targetPath}`);
|
|
107
107
|
});
|
|
108
108
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -101,7 +101,7 @@ class MoostWf {
|
|
|
101
101
|
}
|
|
102
102
|
const _fn = fn;
|
|
103
103
|
this.toInit.push(() => {
|
|
104
|
-
this.wfApp.flow(targetPath, wfSchema || [], opts.prefix, _fn);
|
|
104
|
+
this.wfApp.flow(targetPath, wfSchema || [], opts.prefix === '/' ? '' : opts.prefix, _fn);
|
|
105
105
|
opts.logHandler(`${'[36m'}(${handler.type})${'[32m'}${targetPath}`);
|
|
106
106
|
});
|
|
107
107
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moostjs/event-wf",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.14",
|
|
4
4
|
"description": "@moostjs/event-wf",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"moost": "0.3.
|
|
41
|
-
"wooks": "^0.4.
|
|
42
|
-
"@wooksjs/event-core": "^0.4.
|
|
43
|
-
"@wooksjs/event-wf": "^0.4.
|
|
40
|
+
"moost": "0.3.14",
|
|
41
|
+
"wooks": "^0.4.16",
|
|
42
|
+
"@wooksjs/event-core": "^0.4.16",
|
|
43
|
+
"@wooksjs/event-wf": "^0.4.16",
|
|
44
44
|
"@prostojs/infact": "^0.1.13",
|
|
45
45
|
"@prostojs/mate": "^0.2.1",
|
|
46
46
|
"@prostojs/wf": "^0.0.12"
|