@remotion/cloudrun 4.0.534 → 4.0.535

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,13 +31,6 @@ 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
- } | {
41
34
  type: "success";
42
35
  publicUrl?: string | null | undefined;
43
36
  cloudStorageUri: string;
@@ -50,5 +43,12 @@ export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput
50
43
  message: string;
51
44
  name: string;
52
45
  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 {};
@@ -1,3 +1,4 @@
1
+ import { CliInternals } from '@remotion/cli';
1
2
  import type { Privacy } from '../defaults';
2
3
  import type { GcpRegion } from '../pricing/gcp-regions';
3
4
  type servicesCommandLineOptions = {
@@ -18,6 +19,6 @@ type servicesCommandLineOptions = {
18
19
  webhook: string;
19
20
  ['render-id-override']: string;
20
21
  };
21
- export declare const parsedCloudrunCli: servicesCommandLineOptions & import("minimist").ParsedArgs;
22
+ export declare const parsedCloudrunCli: servicesCommandLineOptions & ReturnType<typeof CliInternals.minimist>;
22
23
  export declare const forceFlagProvided: boolean;
23
24
  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, gopSize, disableSharedMemoryCapture, 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, sampleRate, }: 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,25 +31,11 @@ declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveU
24
31
  bucketName: string;
25
32
  renderId: string;
26
33
  privacy: "project-private" | "public-read";
27
- } | {
28
- type: "crash";
29
- cloudRunEndpoint: string;
30
- message: "Service crashed without sending a response. Check the logs in GCP console.";
31
- requestStartTime: string;
32
- requestCrashTime: string;
33
- requestElapsedTimeInSeconds: number;
34
34
  }>;
35
35
  /**
36
36
  * @deprecated Import this from `@remotion/cloudrun/client` instead
37
37
  */
38
38
  declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnCloudrunInput) => Promise<{
39
- type: "crash";
40
- cloudRunEndpoint: string;
41
- message: "Service crashed without sending a response. Check the logs in GCP console.";
42
- requestStartTime: string;
43
- requestCrashTime: string;
44
- requestElapsedTimeInSeconds: number;
45
- } | {
46
39
  type: "success";
47
40
  publicUrl?: string | null | undefined;
48
41
  cloudStorageUri: string;
@@ -55,6 +48,13 @@ declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnC
55
48
  message: string;
56
49
  name: string;
57
50
  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.534",
6
+ "version": "4.0.535",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
9
  "scripts": {
@@ -20,17 +20,17 @@
20
20
  "@google-cloud/storage": "7.15.2",
21
21
  "@google-cloud/resource-manager": "5.3.1",
22
22
  "@google-cloud/logging": "11.2.0",
23
- "@remotion/bundler": "4.0.534",
24
- "@remotion/cli": "4.0.534",
25
- "@remotion/renderer": "4.0.534",
23
+ "@remotion/bundler": "4.0.535",
24
+ "@remotion/cli": "4.0.535",
25
+ "@remotion/renderer": "4.0.535",
26
26
  "google-auth-library": "8.7.0",
27
- "remotion": "4.0.534",
27
+ "remotion": "4.0.535",
28
28
  "zod": "4.5.4"
29
29
  },
30
30
  "devDependencies": {
31
- "@remotion/compositor-linux-x64-gnu": "4.0.534",
31
+ "@remotion/compositor-linux-x64-gnu": "4.0.535",
32
32
  "@types/minimist": "1.2.2",
33
- "@remotion/eslint-config-internal": "4.0.534",
33
+ "@remotion/eslint-config-internal": "4.0.535",
34
34
  "eslint": "9.19.0",
35
35
  "@types/node": "20.12.14",
36
36
  "@typescript/native-preview": "7.0.0-dev.20260217.1"