@codemation/node-example 0.0.36 → 0.0.37

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @codemation/node-example
2
2
 
3
+ ## 0.0.37
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`d283b48`](https://github.com/MadeRelevant/codemation/commit/d283b481f01a1a259d38d25c1482006eff963384)]:
8
+ - @codemation/core@0.10.2
9
+
3
10
  ## 0.0.36
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -431,6 +431,15 @@ interface NodeExecutionStatePublisher {
431
431
  error: Error;
432
432
  }): Promise<void>;
433
433
  appendConnectionInvocation(args: ConnectionInvocationAppendArgs): Promise<void>;
434
+ /**
435
+ * Annotates the current snapshot for `nodeId` with the id of the child run spawned by a
436
+ * SubWorkflow invocation. Called from `SubWorkflowNode.execute` after `runById` resolves.
437
+ * The engine's subsequent `markCompleted` call preserves the value via `previous.childRunId`.
438
+ */
439
+ setChildRunId?(args: {
440
+ nodeId: NodeId;
441
+ childRunId: RunId;
442
+ }): Promise<void>;
434
443
  }
435
444
  type BinaryBody = ReadableStream<Uint8Array> | AsyncIterable<Uint8Array> | Uint8Array | ArrayBuffer;
436
445
  interface BinaryStorageReadResult {
package/dist/index.d.ts CHANGED
@@ -431,6 +431,15 @@ interface NodeExecutionStatePublisher {
431
431
  error: Error;
432
432
  }): Promise<void>;
433
433
  appendConnectionInvocation(args: ConnectionInvocationAppendArgs): Promise<void>;
434
+ /**
435
+ * Annotates the current snapshot for `nodeId` with the id of the child run spawned by a
436
+ * SubWorkflow invocation. Called from `SubWorkflowNode.execute` after `runById` resolves.
437
+ * The engine's subsequent `markCompleted` call preserves the value via `previous.childRunId`.
438
+ */
439
+ setChildRunId?(args: {
440
+ nodeId: NodeId;
441
+ childRunId: RunId;
442
+ }): Promise<void>;
434
443
  }
435
444
  type BinaryBody = ReadableStream<Uint8Array> | AsyncIterable<Uint8Array> | Uint8Array | ArrayBuffer;
436
445
  interface BinaryStorageReadResult {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemation/node-example",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -28,7 +28,7 @@
28
28
  }
29
29
  },
30
30
  "dependencies": {
31
- "@codemation/core": "0.10.1"
31
+ "@codemation/core": "0.10.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^25.3.5",