@wooksjs/event-wf 0.6.5 → 0.6.6
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.d.ts +2 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -39,9 +39,9 @@ interface TWFContextStore {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/** Creates a new async event context for a fresh workflow execution. */
|
|
42
|
-
declare function createWfContext(data: Omit<TWFEventData, 'type'>, options: TEventOptions): <T>(cb: (...a:
|
|
42
|
+
declare function createWfContext(data: Omit<TWFEventData, 'type'>, options: TEventOptions): <T>(cb: (...a: unknown[]) => T) => T;
|
|
43
43
|
/** Creates an async event context for resuming a paused workflow. */
|
|
44
|
-
declare function resumeWfContext(data: Omit<TWFEventData, 'type'>, options: TEventOptions): <T>(cb: (...a:
|
|
44
|
+
declare function resumeWfContext(data: Omit<TWFEventData, 'type'>, options: TEventOptions): <T>(cb: (...a: unknown[]) => T) => T;
|
|
45
45
|
/**
|
|
46
46
|
* Wrapper on top of useEventContext that provides
|
|
47
47
|
* proper context types for WF event
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wooksjs/event-wf",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "@wooksjs/event-wf",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"typescript": "^5.9.3",
|
|
49
49
|
"vitest": "^3.2.4",
|
|
50
|
-
"@wooksjs/event-core": "^0.6.
|
|
51
|
-
"wooks": "^0.6.
|
|
50
|
+
"@wooksjs/event-core": "^0.6.6",
|
|
51
|
+
"wooks": "^0.6.6"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@prostojs/logger": "^0.4.3",
|
|
55
|
-
"@wooksjs/event-core": "^0.6.
|
|
56
|
-
"wooks": "^0.6.
|
|
55
|
+
"@wooksjs/event-core": "^0.6.6",
|
|
56
|
+
"wooks": "^0.6.6"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "rolldown -c ../../rolldown.config.mjs",
|