@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.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.12";
269
+ var version = "2.3.13";
270
270
 
271
271
  // src/errors.ts
272
272
  var _ResumeWithTaskError = class _ResumeWithTaskError {
@@ -2826,7 +2826,7 @@ var _CronTrigger = class _CronTrigger {
2826
2826
  get event() {
2827
2827
  const humanReadable = cronstrue__default.default.toString(this.options.cron, {
2828
2828
  throwExceptionOnParseError: false
2829
- });
2829
+ }).concat(" (UTC)");
2830
2830
  return {
2831
2831
  name: "trigger.scheduled",
2832
2832
  title: "Cron Schedule",
@@ -3414,7 +3414,7 @@ var _TriggerClient = class _TriggerClient {
3414
3414
  }
3415
3415
  defineJob(options) {
3416
3416
  const existingRegisteredJob = __privateGet(this, _registeredJobs)[options.id];
3417
- if (existingRegisteredJob) {
3417
+ if (existingRegisteredJob && options.__internal !== true) {
3418
3418
  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.`);
3419
3419
  }
3420
3420
  const job = new Job(options);