@fabricorg/platform-temporal 4.4.0 → 4.4.1
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 +6 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5b5007e: Declarations are now generated with TypeScript 7.1.0-beta's native emitter instead of TypeScript 5.9. The emitted types are unchanged in meaning. `PlatformHostTelemetryInput` gains redundant parentheses around its intersection branches. The inferred return types of `createTemporalSagaDispatcher` and `sagaChildCausation` list their properties in a different order. The packed packages are type-checked in clean consumer projects with both TypeScript 7.1.0-beta and the newest TypeScript 5.x release.
|
|
8
|
+
|
|
3
9
|
## 4.4.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -154,8 +154,8 @@ export interface TemporalSagaDispatchInput {
|
|
|
154
154
|
/** Starts the registered parent workflow with an invocation-only durable identity. */
|
|
155
155
|
export declare function createTemporalSagaDispatcher<THandle>(client: WorkflowStartClient<THandle>, registry: SagaWorkflowRegistry): {
|
|
156
156
|
dispatch: (input: TemporalSagaDispatchInput) => Promise<{
|
|
157
|
-
runId?: string | undefined;
|
|
158
157
|
workflowId: string;
|
|
158
|
+
runId?: string | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
};
|
|
161
161
|
/** Durable record of a single step completing within a saga parent. */
|
|
@@ -249,9 +249,9 @@ export type SagaParentActivityKind = "progress" | "approval" | "cancel" | "compl
|
|
|
249
249
|
* deterministic idempotency key and shares the workflow correlation ID.
|
|
250
250
|
*/
|
|
251
251
|
export declare function sagaChildCausation(workflowId: string, parentInvocationId: string, stepId: string): {
|
|
252
|
-
causationId: string;
|
|
253
252
|
idempotencyKey: string;
|
|
254
253
|
correlationId: string;
|
|
254
|
+
causationId: string;
|
|
255
255
|
};
|
|
256
256
|
/** Stable signal names a saga workflow may register handlers for. */
|
|
257
257
|
export declare const SAGA_SIGNALS: {
|
package/dist/index.d.ts
CHANGED
|
@@ -154,8 +154,8 @@ export interface TemporalSagaDispatchInput {
|
|
|
154
154
|
/** Starts the registered parent workflow with an invocation-only durable identity. */
|
|
155
155
|
export declare function createTemporalSagaDispatcher<THandle>(client: WorkflowStartClient<THandle>, registry: SagaWorkflowRegistry): {
|
|
156
156
|
dispatch: (input: TemporalSagaDispatchInput) => Promise<{
|
|
157
|
-
runId?: string | undefined;
|
|
158
157
|
workflowId: string;
|
|
158
|
+
runId?: string | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
};
|
|
161
161
|
/** Durable record of a single step completing within a saga parent. */
|
|
@@ -249,9 +249,9 @@ export type SagaParentActivityKind = "progress" | "approval" | "cancel" | "compl
|
|
|
249
249
|
* deterministic idempotency key and shares the workflow correlation ID.
|
|
250
250
|
*/
|
|
251
251
|
export declare function sagaChildCausation(workflowId: string, parentInvocationId: string, stepId: string): {
|
|
252
|
-
causationId: string;
|
|
253
252
|
idempotencyKey: string;
|
|
254
253
|
correlationId: string;
|
|
254
|
+
causationId: string;
|
|
255
255
|
};
|
|
256
256
|
/** Stable signal names a saga workflow may register handlers for. */
|
|
257
257
|
export declare const SAGA_SIGNALS: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabricorg/platform-temporal",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.1",
|
|
4
4
|
"description": "Temporal binding contracts for governed TechFabric Platform actions and sagas.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"@temporalio/client": "^1.23.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@temporalio/client": "^1.
|
|
33
|
-
"@temporalio/testing": "^1.
|
|
34
|
-
"@temporalio/worker": "^1.
|
|
35
|
-
"@temporalio/workflow": "^1.
|
|
32
|
+
"@temporalio/client": "^1.26.0",
|
|
33
|
+
"@temporalio/testing": "^1.26.0",
|
|
34
|
+
"@temporalio/worker": "^1.26.0",
|
|
35
|
+
"@temporalio/workflow": "^1.26.0",
|
|
36
36
|
"@types/node": "^22.20.5",
|
|
37
37
|
"tsdown": "^0.23.7",
|
|
38
|
-
"typescript": "
|
|
39
|
-
"vitest": "^5.1.
|
|
38
|
+
"typescript": "7.1.0-beta",
|
|
39
|
+
"vitest": "^5.1.1",
|
|
40
40
|
"@fabricorg/platform": "1.21.0",
|
|
41
|
-
"@fabricorg/platform-host": "8.
|
|
41
|
+
"@fabricorg/platform-host": "8.23.0"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=22"
|