@remotion/cloudrun 4.0.214 → 4.0.215

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.
@@ -25,21 +25,21 @@ type OptionalParameters = {
25
25
  } & ToOptions<typeof BrowserSafeApis.optionsMap.renderStillOnCloudRun>;
26
26
  export type RenderStillOnCloudrunInput = Partial<OptionalParameters> & MandatoryParameters;
27
27
  export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput) => Promise<{
28
- name: string;
29
- message: string;
30
- type: "error";
31
- stack: string;
32
- } | {
33
- bucketName: string;
34
28
  type: "success";
35
29
  privacy: "public-read" | "project-private";
36
30
  cloudStorageUri: string;
37
31
  size: number;
32
+ bucketName: string;
38
33
  renderId: string;
39
34
  publicUrl?: string | null | undefined;
40
35
  } | {
41
- message: "Service crashed without sending a response. Check the logs in GCP console.";
36
+ type: "error";
37
+ message: string;
38
+ name: string;
39
+ stack: string;
40
+ } | {
42
41
  type: "crash";
42
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
43
43
  cloudRunEndpoint: string;
44
44
  requestStartTime: string;
45
45
  requestCrashTime: string;
@@ -111,7 +111,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
111
111
  envVariables: Record<string, string>;
112
112
  muted: boolean;
113
113
  outputBucket: string;
114
- logLevel: "verbose" | "info" | "warn" | "error";
114
+ logLevel: "error" | "verbose" | "info" | "warn";
115
115
  delayRenderTimeoutInMilliseconds: number | null;
116
116
  concurrency: string | number | null;
117
117
  enforceAudioTrack: boolean;
@@ -160,7 +160,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
160
160
  envVariables: Record<string, string>;
161
161
  muted: boolean;
162
162
  outputBucket: string;
163
- logLevel: "verbose" | "info" | "warn" | "error";
163
+ logLevel: "error" | "verbose" | "info" | "warn";
164
164
  delayRenderTimeoutInMilliseconds: number | null;
165
165
  concurrency: string | number | null;
166
166
  enforceAudioTrack: boolean;
@@ -250,7 +250,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
250
250
  outputBucket: string;
251
251
  outName: string | null;
252
252
  privacy: "public" | "private";
253
- logLevel: "verbose" | "info" | "warn" | "error";
253
+ logLevel: "error" | "verbose" | "info" | "warn";
254
254
  delayRenderTimeoutInMilliseconds: number;
255
255
  offthreadVideoCacheSizeInBytes: number | null;
256
256
  clientVersion: string;
@@ -282,7 +282,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
282
282
  outputBucket: string;
283
283
  outName: string | null;
284
284
  privacy: "public" | "private";
285
- logLevel: "verbose" | "info" | "warn" | "error";
285
+ logLevel: "error" | "verbose" | "info" | "warn";
286
286
  delayRenderTimeoutInMilliseconds: number;
287
287
  offthreadVideoCacheSizeInBytes: number | null;
288
288
  clientVersion: string;
@@ -310,14 +310,14 @@ declare const renderFailResponsePayload: z.ZodObject<{
310
310
  name: z.ZodString;
311
311
  stack: z.ZodString;
312
312
  }, "strip", z.ZodTypeAny, {
313
- name: string;
314
- message: string;
315
313
  type: "error";
314
+ message: string;
315
+ name: string;
316
316
  stack: string;
317
317
  }, {
318
- name: string;
319
- message: string;
320
318
  type: "error";
319
+ message: string;
320
+ name: string;
321
321
  stack: string;
322
322
  }>;
323
323
  declare const renderStillOnCloudrunResponsePayload: z.ZodObject<{
@@ -329,19 +329,19 @@ declare const renderStillOnCloudrunResponsePayload: z.ZodObject<{
329
329
  renderId: z.ZodString;
330
330
  privacy: z.ZodEnum<["public-read", "project-private"]>;
331
331
  }, "strip", z.ZodTypeAny, {
332
- bucketName: string;
333
332
  type: "success";
334
333
  privacy: "public-read" | "project-private";
335
334
  cloudStorageUri: string;
336
335
  size: number;
336
+ bucketName: string;
337
337
  renderId: string;
338
338
  publicUrl?: string | null | undefined;
339
339
  }, {
340
- bucketName: string;
341
340
  type: "success";
342
341
  privacy: "public-read" | "project-private";
343
342
  cloudStorageUri: string;
344
343
  size: number;
344
+ bucketName: string;
345
345
  renderId: string;
346
346
  publicUrl?: string | null | undefined;
347
347
  }>;
@@ -354,19 +354,19 @@ declare const renderMediaOnCloudrunResponsePayload: z.ZodObject<{
354
354
  renderId: z.ZodString;
355
355
  privacy: z.ZodEnum<["public-read", "project-private"]>;
356
356
  }, "strip", z.ZodTypeAny, {
357
- bucketName: string;
358
357
  type: "success";
359
358
  privacy: "public-read" | "project-private";
360
359
  cloudStorageUri: string;
361
360
  size: number;
361
+ bucketName: string;
362
362
  renderId: string;
363
363
  publicUrl?: string | null | undefined;
364
364
  }, {
365
- bucketName: string;
366
365
  type: "success";
367
366
  privacy: "public-read" | "project-private";
368
367
  cloudStorageUri: string;
369
368
  size: number;
369
+ bucketName: string;
370
370
  renderId: string;
371
371
  publicUrl?: string | null | undefined;
372
372
  }>;
@@ -378,15 +378,15 @@ declare const cloudRunCrashResponse: z.ZodObject<{
378
378
  requestCrashTime: z.ZodString;
379
379
  requestElapsedTimeInSeconds: z.ZodNumber;
380
380
  }, "strip", z.ZodTypeAny, {
381
- message: "Service crashed without sending a response. Check the logs in GCP console.";
382
381
  type: "crash";
382
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
383
383
  cloudRunEndpoint: string;
384
384
  requestStartTime: string;
385
385
  requestCrashTime: string;
386
386
  requestElapsedTimeInSeconds: number;
387
387
  }, {
388
- message: "Service crashed without sending a response. Check the logs in GCP console.";
389
388
  type: "crash";
389
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
390
390
  cloudRunEndpoint: string;
391
391
  requestStartTime: string;
392
392
  requestCrashTime: string;
package/dist/index.d.ts CHANGED
@@ -21,21 +21,21 @@ declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveU
21
21
  * @deprecated Import this from `@remotion/cloudrun/client` instead
22
22
  */
23
23
  declare const renderStillOnCloudrun: (options: import("./api/render-still-on-cloudrun").RenderStillOnCloudrunInput) => Promise<{
24
- name: string;
25
- message: string;
26
- type: "error";
27
- stack: string;
28
- } | {
29
- bucketName: string;
30
24
  type: "success";
31
25
  privacy: "public-read" | "project-private";
32
26
  cloudStorageUri: string;
33
27
  size: number;
28
+ bucketName: string;
34
29
  renderId: string;
35
30
  publicUrl?: string | null | undefined;
36
31
  } | {
37
- message: "Service crashed without sending a response. Check the logs in GCP console.";
32
+ type: "error";
33
+ message: string;
34
+ name: string;
35
+ stack: string;
36
+ } | {
38
37
  type: "crash";
38
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
39
39
  cloudRunEndpoint: string;
40
40
  requestStartTime: string;
41
41
  requestCrashTime: string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"
4
4
  },
5
5
  "name": "@remotion/cloudrun",
6
- "version": "4.0.214",
6
+ "version": "4.0.215",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -16,14 +16,14 @@
16
16
  "@google-cloud/logging": "^11.1.0",
17
17
  "google-auth-library": "^8.7.0",
18
18
  "zod": "3.22.3",
19
- "@remotion/bundler": "4.0.214",
20
- "@remotion/cli": "4.0.214",
21
- "@remotion/renderer": "4.0.214",
22
- "remotion": "4.0.214"
19
+ "@remotion/bundler": "4.0.215",
20
+ "@remotion/cli": "4.0.215",
21
+ "remotion": "4.0.215",
22
+ "@remotion/renderer": "4.0.215"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/minimist": "1.2.2",
26
- "@remotion/compositor-linux-x64-gnu": "4.0.214"
26
+ "@remotion/compositor-linux-x64-gnu": "4.0.215"
27
27
  },
28
28
  "exports": {
29
29
  "./package.json": "./package.json",