@aikirun/workflow 0.11.1 → 0.12.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/README.md +1 -1
- package/dist/index.js +4 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -298,6 +298,7 @@ import {
|
|
|
298
298
|
} from "@aikirun/types/workflow-run";
|
|
299
299
|
function event(params) {
|
|
300
300
|
return {
|
|
301
|
+
// biome-ignore lint/style/useNamingConvention: phantom type marker
|
|
301
302
|
_type: void 0,
|
|
302
303
|
schema: params?.schema
|
|
303
304
|
};
|
|
@@ -671,7 +672,7 @@ function createSleeper(handle, logger) {
|
|
|
671
672
|
if (!sleepState) {
|
|
672
673
|
try {
|
|
673
674
|
await handle[INTERNAL3].transitionState({ status: "sleeping", sleepName, durationMs });
|
|
674
|
-
logger.info("Going to
|
|
675
|
+
logger.info("Going to sleep", {
|
|
675
676
|
"aiki.sleepName": sleepName,
|
|
676
677
|
"aiki.durationMs": durationMs
|
|
677
678
|
});
|
|
@@ -946,6 +947,8 @@ var WorkflowVersionImpl = class _WorkflowVersionImpl {
|
|
|
946
947
|
});
|
|
947
948
|
parentRunHandle.run.childWorkflowRuns[path] = {
|
|
948
949
|
id: newRun.id,
|
|
950
|
+
name: newRun.name,
|
|
951
|
+
versionId: newRun.versionId,
|
|
949
952
|
inputHash,
|
|
950
953
|
statusWaitResults: []
|
|
951
954
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aikirun/workflow",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Workflow SDK for Aiki - define durable workflows with tasks, sleeps, waits, and event handling",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build": "tsup"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aikirun/types": "0.
|
|
21
|
+
"@aikirun/types": "0.12.0",
|
|
22
22
|
"@standard-schema/spec": "^1.1.0"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|