@trigger.dev/sdk 2.3.16 → 2.3.18
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/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -266,7 +266,7 @@ __name(_Job, "Job");
|
|
|
266
266
|
var Job = _Job;
|
|
267
267
|
|
|
268
268
|
// package.json
|
|
269
|
-
var version = "2.3.
|
|
269
|
+
var version = "2.3.18";
|
|
270
270
|
|
|
271
271
|
// src/errors.ts
|
|
272
272
|
var _ResumeWithTaskError = class _ResumeWithTaskError {
|
|
@@ -2114,7 +2114,7 @@ var _ApiClient = class _ApiClient {
|
|
|
2114
2114
|
__privateGet(this, _logger).debug("Getting Event", {
|
|
2115
2115
|
eventId
|
|
2116
2116
|
});
|
|
2117
|
-
return await zodfetch(core.GetEventSchema, `${__privateGet(this, _apiUrl)}/api/
|
|
2117
|
+
return await zodfetch(core.GetEventSchema, `${__privateGet(this, _apiUrl)}/api/v2/events/${eventId}`, {
|
|
2118
2118
|
method: "GET",
|
|
2119
2119
|
headers: {
|
|
2120
2120
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -2126,7 +2126,7 @@ var _ApiClient = class _ApiClient {
|
|
|
2126
2126
|
__privateGet(this, _logger).debug("Getting Run", {
|
|
2127
2127
|
runId
|
|
2128
2128
|
});
|
|
2129
|
-
return await zodfetch(core.GetRunSchema, core.urlWithSearchParams(`${__privateGet(this, _apiUrl)}/api/
|
|
2129
|
+
return await zodfetch(core.GetRunSchema, core.urlWithSearchParams(`${__privateGet(this, _apiUrl)}/api/v2/runs/${runId}`, options), {
|
|
2130
2130
|
method: "GET",
|
|
2131
2131
|
headers: {
|
|
2132
2132
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -2151,7 +2151,7 @@ var _ApiClient = class _ApiClient {
|
|
|
2151
2151
|
__privateGet(this, _logger).debug("Getting Run statuses", {
|
|
2152
2152
|
runId
|
|
2153
2153
|
});
|
|
2154
|
-
return await zodfetch(core.GetRunStatusesSchema, `${__privateGet(this, _apiUrl)}/api/
|
|
2154
|
+
return await zodfetch(core.GetRunStatusesSchema, `${__privateGet(this, _apiUrl)}/api/v2/runs/${runId}/statuses`, {
|
|
2155
2155
|
method: "GET",
|
|
2156
2156
|
headers: {
|
|
2157
2157
|
Authorization: `Bearer ${apiKey}`
|