@temporalio/client 1.9.0 → 1.9.2

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.
@@ -44,6 +44,14 @@ export type WithCompiledWorkflowOptions<T extends WorkflowOptions> = Replace<T,
44
44
  }>;
45
45
  export declare function compileWorkflowOptions<T extends WorkflowOptions>(options: T): WithCompiledWorkflowOptions<T>;
46
46
  export interface WorkflowUpdateOptions {
47
+ /**
48
+ * The Update Id, which is a unique-per-Workflow-Execution identifier for this Update.
49
+ *
50
+ * We recommend setting it to a meaningful business ID or idempotency key (like a request ID) passed from upstream. If
51
+ * it is not provided, it will be set to a random string by the Client. If the Server receives two Updates with the
52
+ * same Update Id to a Workflow Execution with the same Run Id, the second Update will return a handle to the first
53
+ * Update.
54
+ */
47
55
  readonly updateId?: string;
48
56
  }
49
57
  export type WorkflowSignalWithStartOptions<SignalArgs extends any[] = []> = SignalArgs extends [any, ...any[]] ? WorkflowSignalWithStartOptionsWithArgs<SignalArgs> : WorkflowSignalWithStartOptionsWithoutArgs<SignalArgs>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temporalio/client",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "Temporal.io SDK Client sub-package",
5
5
  "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -14,8 +14,8 @@
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
16
  "@grpc/grpc-js": "~1.7.3",
17
- "@temporalio/common": "1.9.0",
18
- "@temporalio/proto": "1.9.0",
17
+ "@temporalio/common": "^1.9.2",
18
+ "@temporalio/proto": "^1.9.2",
19
19
  "abort-controller": "^3.0.0",
20
20
  "long": "^5.2.3",
21
21
  "uuid": "^9.0.1"
@@ -39,5 +39,5 @@
39
39
  "src",
40
40
  "lib"
41
41
  ],
42
- "gitHead": "5096976287616207edcd3e4281a2a5e1f7393e33"
42
+ "gitHead": "5fd66f5787deece0b30f085808db7651187600b1"
43
43
  }
@@ -66,6 +66,14 @@ export function compileWorkflowOptions<T extends WorkflowOptions>(options: T): W
66
66
  }
67
67
 
68
68
  export interface WorkflowUpdateOptions {
69
+ /**
70
+ * The Update Id, which is a unique-per-Workflow-Execution identifier for this Update.
71
+ *
72
+ * We recommend setting it to a meaningful business ID or idempotency key (like a request ID) passed from upstream. If
73
+ * it is not provided, it will be set to a random string by the Client. If the Server receives two Updates with the
74
+ * same Update Id to a Workflow Execution with the same Run Id, the second Update will return a handle to the first
75
+ * Update.
76
+ */
69
77
  readonly updateId?: string;
70
78
  }
71
79