@trigger.dev/sdk 2.0.8 → 2.0.9

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -18
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -185,15 +185,7 @@ declare class ApiClient {
185
185
  startedAt: Date | null;
186
186
  completedAt: Date | null;
187
187
  status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
188
- tasks: {
189
- id: string;
190
- name: string;
191
- icon: string | null;
192
- startedAt: Date | null;
193
- completedAt: Date | null;
194
- status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
195
- displayKey: string | null;
196
- }[];
188
+ tasks: _trigger_dev_core.RunTaskWithSubtasks[];
197
189
  updatedAt: Date | null;
198
190
  output?: any;
199
191
  nextCursor?: string | undefined;
@@ -612,15 +604,7 @@ declare class TriggerClient {
612
604
  startedAt: Date | null;
613
605
  completedAt: Date | null;
614
606
  status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
615
- tasks: {
616
- id: string;
617
- name: string;
618
- icon: string | null;
619
- startedAt: Date | null;
620
- completedAt: Date | null;
621
- status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
622
- displayKey: string | null;
623
- }[];
607
+ tasks: _trigger_dev_core.RunTaskWithSubtasks[];
624
608
  updatedAt: Date | null;
625
609
  output?: any;
626
610
  nextCursor?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trigger.dev/sdk",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "trigger.dev Node.JS SDK",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "./package.json": "./package.json"
19
19
  },
20
20
  "dependencies": {
21
- "@trigger.dev/core": "^2.0.8",
21
+ "@trigger.dev/core": "^2.0.9",
22
22
  "chalk": "^5.2.0",
23
23
  "cronstrue": "^2.21.0",
24
24
  "debug": "^4.3.4",