@trigger.dev/sdk 2.3.12 → 2.3.13

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.mjs CHANGED
@@ -258,7 +258,7 @@ __name(_Job, "Job");
258
258
  var Job = _Job;
259
259
 
260
260
  // package.json
261
- var version = "2.3.12";
261
+ var version = "2.3.13";
262
262
 
263
263
  // src/errors.ts
264
264
  var _ResumeWithTaskError = class _ResumeWithTaskError {
@@ -2818,7 +2818,7 @@ var _CronTrigger = class _CronTrigger {
2818
2818
  get event() {
2819
2819
  const humanReadable = cronstrue.toString(this.options.cron, {
2820
2820
  throwExceptionOnParseError: false
2821
- });
2821
+ }).concat(" (UTC)");
2822
2822
  return {
2823
2823
  name: "trigger.scheduled",
2824
2824
  title: "Cron Schedule",
@@ -3406,7 +3406,7 @@ var _TriggerClient = class _TriggerClient {
3406
3406
  }
3407
3407
  defineJob(options) {
3408
3408
  const existingRegisteredJob = __privateGet(this, _registeredJobs)[options.id];
3409
- if (existingRegisteredJob) {
3409
+ if (existingRegisteredJob && options.__internal !== true) {
3410
3410
  console.warn(`[@trigger.dev/sdk] Warning: The Job "${existingRegisteredJob.id}" you're attempting to define has already been defined. Please assign a different ID to the job.`);
3411
3411
  }
3412
3412
  const job = new Job(options);