@hatchet-dev/typescript-sdk 0.12.2 → 0.12.3

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.
@@ -21,6 +21,8 @@ export declare enum RunEventType {
21
21
  export interface StepRunEvent {
22
22
  type: RunEventType;
23
23
  payload: string;
24
+ resourceId: string;
25
+ workflowRunId: string;
24
26
  }
25
27
  export declare class RunEventListener {
26
28
  client: DispatcherClient;
@@ -147,6 +147,8 @@ class RunEventListener {
147
147
  this.emit({
148
148
  type: eventType,
149
149
  payload: workflowEvent.eventPayload,
150
+ resourceId: workflowEvent.resourceId,
151
+ workflowRunId: workflowEvent.workflowRunId,
150
152
  });
151
153
  }
152
154
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatchet-dev/typescript-sdk",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "Background task orchestration & visibility for developers",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [