@remotion/cloudrun 4.0.426 → 4.0.427

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.
@@ -31,6 +31,13 @@ type OptionalParameters = {
31
31
  } & ToOptions<typeof BrowserSafeApis.optionsMap.renderStillOnCloudRun>;
32
32
  export type RenderStillOnCloudrunInput = Partial<OptionalParameters> & MandatoryParameters;
33
33
  export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput) => Promise<{
34
+ type: "crash";
35
+ cloudRunEndpoint: string;
36
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
37
+ requestStartTime: string;
38
+ requestCrashTime: string;
39
+ requestElapsedTimeInSeconds: number;
40
+ } | {
34
41
  type: "success";
35
42
  publicUrl?: string | null | undefined;
36
43
  cloudStorageUri: string;
@@ -43,12 +50,5 @@ export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput
43
50
  message: string;
44
51
  name: string;
45
52
  stack: string;
46
- } | {
47
- type: "crash";
48
- cloudRunEndpoint: string;
49
- message: "Service crashed without sending a response. Check the logs in GCP console.";
50
- requestStartTime: string;
51
- requestCrashTime: string;
52
- requestElapsedTimeInSeconds: number;
53
53
  }>;
54
54
  export {};
package/dist/index.d.ts CHANGED
@@ -17,6 +17,13 @@ import type { GcpRegion } from './pricing/gcp-regions';
17
17
  * @deprecated Import this from `@remotion/cloudrun/client` instead
18
18
  */
19
19
  declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, crf, pixelFormat, imageFormat, scale, everyNthFrame, numberOfGifLoops, frameRange, envVariables, chromiumOptions, muted, forceWidth, forceHeight, forceFps, forceDurationInFrames, logLevel, delayRenderTimeoutInMilliseconds, concurrency, enforceAudioTrack, preferLossless, offthreadVideoCacheSizeInBytes, colorSpace, downloadBehavior, metadata, renderIdOverride, renderStatusWebhook, offthreadVideoThreads, mediaCacheSizeInBytes, }: RenderMediaOnCloudrunInput) => Promise<{
20
+ type: "crash";
21
+ cloudRunEndpoint: string;
22
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
23
+ requestStartTime: string;
24
+ requestCrashTime: string;
25
+ requestElapsedTimeInSeconds: number;
26
+ } | {
20
27
  type: "success";
21
28
  publicUrl?: string | null | undefined;
22
29
  cloudStorageUri: string;
@@ -24,18 +31,18 @@ declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveU
24
31
  bucketName: string;
25
32
  renderId: string;
26
33
  privacy: "project-private" | "public-read";
27
- } | {
34
+ }>;
35
+ /**
36
+ * @deprecated Import this from `@remotion/cloudrun/client` instead
37
+ */
38
+ declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnCloudrunInput) => Promise<{
28
39
  type: "crash";
29
40
  cloudRunEndpoint: string;
30
41
  message: "Service crashed without sending a response. Check the logs in GCP console.";
31
42
  requestStartTime: string;
32
43
  requestCrashTime: string;
33
44
  requestElapsedTimeInSeconds: number;
34
- }>;
35
- /**
36
- * @deprecated Import this from `@remotion/cloudrun/client` instead
37
- */
38
- declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnCloudrunInput) => Promise<{
45
+ } | {
39
46
  type: "success";
40
47
  publicUrl?: string | null | undefined;
41
48
  cloudStorageUri: string;
@@ -48,13 +55,6 @@ declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnC
48
55
  message: string;
49
56
  name: string;
50
57
  stack: string;
51
- } | {
52
- type: "crash";
53
- cloudRunEndpoint: string;
54
- message: "Service crashed without sending a response. Check the logs in GCP console.";
55
- requestStartTime: string;
56
- requestCrashTime: string;
57
- requestElapsedTimeInSeconds: number;
58
58
  }>;
59
59
  /**
60
60
  * @deprecated Import this from `@remotion/lambda/client` instead
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.426",
6
+ "version": "4.0.427",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -21,17 +21,17 @@
21
21
  "@google-cloud/storage": "7.15.2",
22
22
  "@google-cloud/resource-manager": "5.3.1",
23
23
  "@google-cloud/logging": "11.2.0",
24
- "@remotion/bundler": "4.0.426",
25
- "@remotion/cli": "4.0.426",
26
- "@remotion/renderer": "4.0.426",
24
+ "@remotion/bundler": "4.0.427",
25
+ "@remotion/cli": "4.0.427",
26
+ "@remotion/renderer": "4.0.427",
27
27
  "google-auth-library": "8.7.0",
28
- "remotion": "4.0.426",
28
+ "remotion": "4.0.427",
29
29
  "zod": "4.3.6"
30
30
  },
31
31
  "devDependencies": {
32
- "@remotion/compositor-linux-x64-gnu": "4.0.426",
32
+ "@remotion/compositor-linux-x64-gnu": "4.0.427",
33
33
  "@types/minimist": "1.2.2",
34
- "@remotion/eslint-config-internal": "4.0.426",
34
+ "@remotion/eslint-config-internal": "4.0.427",
35
35
  "eslint": "9.19.0",
36
36
  "@types/node": "20.12.14",
37
37
  "@typescript/native-preview": "7.0.0-dev.20260217.1"