@trigger.dev/core 3.0.0-beta.51 → 3.0.0-beta.52
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/{catalog-h79CG5Wy.d.ts → catalog-gM5Cvgc3.d.ts} +2 -2
- package/dist/{catalog-H7yFiZ60.d.mts → catalog-nhfltZFA.d.mts} +2 -2
- package/dist/{common-CLW82lkt.d.mts → common-B45g-vNI.d.mts} +13 -0
- package/dist/{common-CLW82lkt.d.ts → common-B45g-vNI.d.ts} +13 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{manager-KvCabW1a.d.mts → manager-q7bZZNwE.d.mts} +1 -1
- package/dist/{manager-OBA35PzR.d.ts → manager-zf0yn2lA.d.ts} +1 -1
- package/dist/{messages-JvHJ83wv.d.mts → messages-248C7Ut6.d.mts} +203 -11
- package/dist/{messages-JvHJ83wv.d.ts → messages-248C7Ut6.d.ts} +203 -11
- package/dist/retry.d.mts +1 -1
- package/dist/retry.d.ts +1 -1
- package/dist/schemas/index.d.mts +6 -6
- package/dist/schemas/index.d.ts +6 -6
- package/dist/{schemas-C9ssfehv.d.mts → schemas-38ilA21d.d.mts} +19 -0
- package/dist/{schemas-C9ssfehv.d.ts → schemas-38ilA21d.d.ts} +19 -0
- package/dist/v3/dev/index.d.mts +2 -2
- package/dist/v3/dev/index.d.ts +2 -2
- package/dist/v3/errors.d.mts +1 -1
- package/dist/v3/errors.d.ts +1 -1
- package/dist/v3/index.d.mts +9 -9
- package/dist/v3/index.d.ts +9 -9
- package/dist/v3/index.js +17 -3
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs +17 -3
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/otel/index.js +1 -1
- package/dist/v3/otel/index.js.map +1 -1
- package/dist/v3/otel/index.mjs +1 -1
- package/dist/v3/otel/index.mjs.map +1 -1
- package/dist/v3/prod/index.d.mts +3 -3
- package/dist/v3/prod/index.d.ts +3 -3
- package/dist/v3/schemas/index.d.mts +4 -4
- package/dist/v3/schemas/index.d.ts +4 -4
- package/dist/v3/schemas/index.js +16 -2
- package/dist/v3/schemas/index.js.map +1 -1
- package/dist/v3/schemas/index.mjs +16 -2
- package/dist/v3/schemas/index.mjs.map +1 -1
- package/dist/v3/utils/ioSerialization.d.mts +2 -1
- package/dist/v3/utils/ioSerialization.d.ts +2 -1
- package/dist/v3/utils/ioSerialization.js +16 -3
- package/dist/v3/utils/ioSerialization.js.map +1 -1
- package/dist/v3/utils/ioSerialization.mjs +16 -4
- package/dist/v3/utils/ioSerialization.mjs.map +1 -1
- package/dist/v3/utils/retries.d.mts +1 -1
- package/dist/v3/utils/retries.d.ts +1 -1
- package/dist/v3/workers/index.d.mts +6 -6
- package/dist/v3/workers/index.d.ts +6 -6
- package/dist/v3/workers/index.js +4 -3
- package/dist/v3/workers/index.js.map +1 -1
- package/dist/v3/workers/index.mjs +4 -3
- package/dist/v3/workers/index.mjs.map +1 -1
- package/dist/v3/zodfetch.d.mts +1 -1
- package/dist/v3/zodfetch.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{api-sNoooMbT.d.ts → api--StDLb4h.d.ts} +153 -153
- package/dist/{api-Pl9fxB8v.d.mts → api-a39zAY3E.d.mts} +153 -153
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as logsAPI from '@opentelemetry/api-logs';
|
|
2
2
|
import { TracingSDK } from '../otel/index.mjs';
|
|
3
3
|
export { TracingDiagnosticLogLevel, recordSpanException } from '../otel/index.mjs';
|
|
4
|
-
import { c as TaskRunExecution, T as TaskRunExecutionResult } from '../../common-
|
|
5
|
-
import { B as BackgroundWorkerProperties } from '../../messages-
|
|
6
|
-
import { C as Config, a as TaskFileMetadata, b as TaskMetadataWithFilePath } from '../../schemas-
|
|
7
|
-
import { P as ProjectConfig, H as HandleErrorFunction, T as TaskMetadataWithFunctions, U as UsageMeasurement, C as Clock, a as ClockTime, b as TaskCatalog, c as UsageManager, d as UsageSample } from '../../catalog-
|
|
8
|
-
export { u as usage } from '../../catalog-
|
|
4
|
+
import { c as TaskRunExecution, T as TaskRunExecutionResult } from '../../common-B45g-vNI.mjs';
|
|
5
|
+
import { B as BackgroundWorkerProperties } from '../../messages-248C7Ut6.mjs';
|
|
6
|
+
import { C as Config, a as TaskFileMetadata, b as TaskMetadataWithFilePath } from '../../schemas-38ilA21d.mjs';
|
|
7
|
+
import { P as ProjectConfig, H as HandleErrorFunction, T as TaskMetadataWithFunctions, U as UsageMeasurement, C as Clock, a as ClockTime, b as TaskCatalog, c as UsageManager, d as UsageSample } from '../../catalog-nhfltZFA.mjs';
|
|
8
|
+
export { u as usage } from '../../catalog-nhfltZFA.mjs';
|
|
9
9
|
import { T as TriggerTracer } from '../../tracer-N0p2Fuuv.mjs';
|
|
10
|
-
export { R as RuntimeManager } from '../../manager-
|
|
10
|
+
export { R as RuntimeManager } from '../../manager-q7bZZNwE.mjs';
|
|
11
11
|
import { PreciseDate } from '@google-cloud/precise-date';
|
|
12
12
|
export { O as OtelTaskLogger, l as logLevels } from '../../taskLogger-r_AFTX45.mjs';
|
|
13
13
|
import { LogRecordProcessor, LogRecord } from '@opentelemetry/sdk-logs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as logsAPI from '@opentelemetry/api-logs';
|
|
2
2
|
import { TracingSDK } from '../otel/index.js';
|
|
3
3
|
export { TracingDiagnosticLogLevel, recordSpanException } from '../otel/index.js';
|
|
4
|
-
import { c as TaskRunExecution, T as TaskRunExecutionResult } from '../../common-
|
|
5
|
-
import { B as BackgroundWorkerProperties } from '../../messages-
|
|
6
|
-
import { C as Config, a as TaskFileMetadata, b as TaskMetadataWithFilePath } from '../../schemas-
|
|
7
|
-
import { P as ProjectConfig, H as HandleErrorFunction, T as TaskMetadataWithFunctions, U as UsageMeasurement, C as Clock, a as ClockTime, b as TaskCatalog, c as UsageManager, d as UsageSample } from '../../catalog-
|
|
8
|
-
export { u as usage } from '../../catalog-
|
|
4
|
+
import { c as TaskRunExecution, T as TaskRunExecutionResult } from '../../common-B45g-vNI.js';
|
|
5
|
+
import { B as BackgroundWorkerProperties } from '../../messages-248C7Ut6.js';
|
|
6
|
+
import { C as Config, a as TaskFileMetadata, b as TaskMetadataWithFilePath } from '../../schemas-38ilA21d.js';
|
|
7
|
+
import { P as ProjectConfig, H as HandleErrorFunction, T as TaskMetadataWithFunctions, U as UsageMeasurement, C as Clock, a as ClockTime, b as TaskCatalog, c as UsageManager, d as UsageSample } from '../../catalog-gM5Cvgc3.js';
|
|
8
|
+
export { u as usage } from '../../catalog-gM5Cvgc3.js';
|
|
9
9
|
import { T as TriggerTracer } from '../../tracer-N0p2Fuuv.js';
|
|
10
|
-
export { R as RuntimeManager } from '../../manager-
|
|
10
|
+
export { R as RuntimeManager } from '../../manager-zf0yn2lA.js';
|
|
11
11
|
import { PreciseDate } from '@google-cloud/precise-date';
|
|
12
12
|
export { O as OtelTaskLogger, l as logLevels } from '../../taskLogger-CzADe4je.js';
|
|
13
13
|
import { LogRecordProcessor, LogRecord } from '@opentelemetry/sdk-logs';
|
package/dist/v3/workers/index.js
CHANGED
|
@@ -406,7 +406,7 @@ function getEnvVar(name) {
|
|
|
406
406
|
__name(getEnvVar, "getEnvVar");
|
|
407
407
|
|
|
408
408
|
// package.json
|
|
409
|
-
var version = "3.0.0-beta.
|
|
409
|
+
var version = "3.0.0-beta.52";
|
|
410
410
|
|
|
411
411
|
// src/v3/otel/tracingSDK.ts
|
|
412
412
|
var _a;
|
|
@@ -667,7 +667,8 @@ var TaskRun = zod.z.object({
|
|
|
667
667
|
maxAttempts: zod.z.number().optional(),
|
|
668
668
|
durationMs: zod.z.number().default(0),
|
|
669
669
|
costInCents: zod.z.number().default(0),
|
|
670
|
-
baseCostInCents: zod.z.number().default(0)
|
|
670
|
+
baseCostInCents: zod.z.number().default(0),
|
|
671
|
+
version: zod.z.string().optional()
|
|
671
672
|
});
|
|
672
673
|
var TaskRunExecutionTask = zod.z.object({
|
|
673
674
|
id: zod.z.string(),
|
|
@@ -1030,7 +1031,7 @@ zod.z.object({
|
|
|
1030
1031
|
var RunTag = zod.z.string().max(64, "Tags must be less than 64 characters");
|
|
1031
1032
|
var RunTags = zod.z.union([
|
|
1032
1033
|
RunTag,
|
|
1033
|
-
RunTag.array()
|
|
1034
|
+
RunTag.array()
|
|
1034
1035
|
]);
|
|
1035
1036
|
var TriggerTaskRequestBody = zod.z.object({
|
|
1036
1037
|
payload: zod.z.any(),
|