@trigger.dev/core 3.0.0-beta.42 → 3.0.0-beta.43

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.
@@ -364,7 +364,7 @@ function getEnvVar(name) {
364
364
  __name(getEnvVar, "getEnvVar");
365
365
 
366
366
  // package.json
367
- var version = "3.0.0-beta.42";
367
+ var version = "3.0.0-beta.43";
368
368
 
369
369
  // src/v3/otel/tracingSDK.ts
370
370
  var _a;
@@ -1250,7 +1250,9 @@ var CommonRunFields = {
1250
1250
  var RetrieveRunResponse = z.object({
1251
1251
  ...CommonRunFields,
1252
1252
  payload: z.any().optional(),
1253
+ payloadPresignedUrl: z.string().optional(),
1253
1254
  output: z.any().optional(),
1255
+ outputPresignedUrl: z.string().optional(),
1254
1256
  schedule: RunScheduleDetails.optional(),
1255
1257
  attempts: z.array(z.object({
1256
1258
  id: z.string(),
@@ -2234,7 +2236,7 @@ async function conditionallyExportPacket(packet, pathPrefix, tracer) {
2234
2236
  return packet;
2235
2237
  }
2236
2238
  __name(conditionallyExportPacket, "conditionallyExportPacket");
2237
- function packetRequiresOffloading(packet) {
2239
+ function packetRequiresOffloading(packet, lengthLimit) {
2238
2240
  if (!packet.data) {
2239
2241
  return {
2240
2242
  needsOffloading: false,
@@ -2243,7 +2245,7 @@ function packetRequiresOffloading(packet) {
2243
2245
  }
2244
2246
  const byteSize = Buffer.byteLength(packet.data, "utf8");
2245
2247
  return {
2246
- needsOffloading: byteSize >= OFFLOAD_IO_PACKET_LENGTH_LIMIT,
2248
+ needsOffloading: byteSize >= (lengthLimit ?? OFFLOAD_IO_PACKET_LENGTH_LIMIT),
2247
2249
  size: byteSize
2248
2250
  };
2249
2251
  }