@temporalio/client 0.16.3 → 0.16.4

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.
@@ -31,7 +31,7 @@ import { WorkflowService } from './connection';
31
31
  * await handle.result(); // throws WorkflowExecutionCancelledError
32
32
  * ```
33
33
  */
34
- export interface WorkflowHandle<T extends Workflow> extends BaseWorkflowHandle<T> {
34
+ export interface WorkflowHandle<T extends Workflow = Workflow> extends BaseWorkflowHandle<T> {
35
35
  /**
36
36
  * Query a running or completed Workflow.
37
37
  *
@@ -65,7 +65,7 @@ export interface WorkflowHandle<T extends Workflow> extends BaseWorkflowHandle<T
65
65
  * This interface is exactly the same as {@link WorkflowHandle} except it
66
66
  * includes the `originalRunId` returned after starting a new Workflow.
67
67
  */
68
- export interface WorkflowHandleWithRunId<T extends Workflow> extends WorkflowHandle<T> {
68
+ export interface WorkflowHandleWithRunId<T extends Workflow = Workflow> extends WorkflowHandle<T> {
69
69
  /**
70
70
  * The runId of the initial run of the bound Workflow
71
71
  */
@@ -120,7 +120,7 @@ export interface WorkflowResultOptions {
120
120
  /**
121
121
  * Options for starting a Workflow
122
122
  */
123
- export declare type WorkflowStartOptions<T extends Workflow> = WithWorkflowArgs<T, WorkflowOptions>;
123
+ export declare type WorkflowStartOptions<T extends Workflow = Workflow> = WithWorkflowArgs<T, WorkflowOptions>;
124
124
  /**
125
125
  * Client for starting Workflow executions and creating Workflow handles
126
126
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temporalio/client",
3
- "version": "0.16.3",
3
+ "version": "0.16.4",
4
4
  "description": "Temporal.io SDK Client sub-package",
5
5
  "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
16
  "@grpc/grpc-js": "^1.3.7",
17
- "@temporalio/common": "^0.16.0",
17
+ "@temporalio/common": "^0.16.4",
18
18
  "@temporalio/proto": "^0.16.0",
19
19
  "ms": "^2.1.3",
20
20
  "protobufjs": "^6.11.2",
@@ -30,5 +30,5 @@
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "af54140a4da7e191c06627c5e06b92a3fd929bcc"
33
+ "gitHead": "884a10970cdbc3e8d7991709e0fa3fe79fce71bd"
34
34
  }