@trigger.dev/sdk 2.3.9 → 2.3.10
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -170,7 +170,7 @@ var _Job = class _Job {
|
|
|
170
170
|
if (runStore) {
|
|
171
171
|
throw new Error("Cannot invoke a job from within a run without a cacheKey.");
|
|
172
172
|
}
|
|
173
|
-
return await triggerClient.invokeJob(this.id, param1,
|
|
173
|
+
return await triggerClient.invokeJob(this.id, param1, param2);
|
|
174
174
|
}
|
|
175
175
|
async invokeAndWaitForCompletion(cacheKey, payload, timeoutInSeconds = 60 * 60, options = {}) {
|
|
176
176
|
const triggerClient = this.client;
|
|
@@ -258,7 +258,7 @@ __name(_Job, "Job");
|
|
|
258
258
|
var Job = _Job;
|
|
259
259
|
|
|
260
260
|
// package.json
|
|
261
|
-
var version = "2.3.
|
|
261
|
+
var version = "2.3.10";
|
|
262
262
|
|
|
263
263
|
// src/errors.ts
|
|
264
264
|
var _ResumeWithTaskError = class _ResumeWithTaskError {
|