@remotion/cloudrun 4.0.490 → 4.0.492

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.
@@ -16,7 +16,6 @@ type Options = {
16
16
  keyboardShortcutsEnabled?: boolean;
17
17
  askAIEnabled?: boolean;
18
18
  interactivityEnabled?: boolean;
19
- experimentalClientSideRenderingEnabled?: boolean;
20
19
  rspack?: boolean;
21
20
  };
22
21
  type OptionalParameters = {
@@ -13,7 +13,7 @@ const validate_site_name_1 = require("../shared/validate-site-name");
13
13
  const get_cloud_storage_client_1 = require("./helpers/get-cloud-storage-client");
14
14
  const upload_dir_1 = require("./upload-dir");
15
15
  const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options, privacy, }) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
16
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
17
17
  (0, validate_bucketname_1.validateBucketName)(bucketName, { mustStartWithRemotion: true });
18
18
  (0, validate_site_name_1.validateSiteName)(siteName);
19
19
  const cloudStorageClient = (0, get_cloud_storage_client_1.getCloudStorageClient)();
@@ -43,12 +43,11 @@ const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options
43
43
  onSymlinkDetected: () => undefined,
44
44
  outDir: null,
45
45
  audioLatencyHint: null,
46
- experimentalClientSideRenderingEnabled: (_h = options === null || options === void 0 ? void 0 : options.experimentalClientSideRenderingEnabled) !== null && _h !== void 0 ? _h : false,
47
46
  renderDefaults: null,
48
- askAIEnabled: (_j = options === null || options === void 0 ? void 0 : options.askAIEnabled) !== null && _j !== void 0 ? _j : true,
49
- interactivityEnabled: (_k = options === null || options === void 0 ? void 0 : options.interactivityEnabled) !== null && _k !== void 0 ? _k : true,
50
- keyboardShortcutsEnabled: (_l = options === null || options === void 0 ? void 0 : options.keyboardShortcutsEnabled) !== null && _l !== void 0 ? _l : true,
51
- rspack: (_m = options === null || options === void 0 ? void 0 : options.rspack) !== null && _m !== void 0 ? _m : false,
47
+ askAIEnabled: (_h = options === null || options === void 0 ? void 0 : options.askAIEnabled) !== null && _h !== void 0 ? _h : true,
48
+ interactivityEnabled: (_j = options === null || options === void 0 ? void 0 : options.interactivityEnabled) !== null && _j !== void 0 ? _j : true,
49
+ keyboardShortcutsEnabled: (_k = options === null || options === void 0 ? void 0 : options.keyboardShortcutsEnabled) !== null && _k !== void 0 ? _k : true,
50
+ rspack: (_l = options === null || options === void 0 ? void 0 : options.rspack) !== null && _l !== void 0 ? _l : false,
52
51
  symlinkPublicDir: false,
53
52
  }),
54
53
  ]);
@@ -61,7 +60,7 @@ const internalDeploySiteRaw = async ({ entryPoint, bucketName, siteName, options
61
60
  (0, upload_dir_1.uploadDir)({
62
61
  bucket: bucketName,
63
62
  localDir: bundled,
64
- onProgress: (_o = options === null || options === void 0 ? void 0 : options.onUploadProgress) !== null && _o !== void 0 ? _o : (() => undefined),
63
+ onProgress: (_m = options === null || options === void 0 ? void 0 : options.onUploadProgress) !== null && _m !== void 0 ? _m : (() => undefined),
65
64
  keyPrefix: subFolder,
66
65
  toUpload,
67
66
  privacy: privacy !== null && privacy !== void 0 ? privacy : 'public',
@@ -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 {};
@@ -16,7 +16,7 @@ const get_gcp_region_1 = require("../../get-gcp-region");
16
16
  const progress_bar_1 = require("../../helpers/progress-bar");
17
17
  const quit_1 = require("../../helpers/quit");
18
18
  const log_1 = require("../../log");
19
- const { disableGitSourceOption, askAIOption, experimentalClientSideRenderingOption, keyboardShortcutsOption, } = client_1.BrowserSafeApis.options;
19
+ const { disableGitSourceOption, askAIOption, keyboardShortcutsOption } = client_1.BrowserSafeApis.options;
20
20
  exports.SITES_CREATE_SUBCOMMAND = 'create';
21
21
  const sitesCreateSubcommand = async (args, remotionRoot, logLevel) => {
22
22
  var _a, _b, _c;
@@ -101,9 +101,6 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel) => {
101
101
  const askAIEnabled = askAIOption.getValue({
102
102
  commandLine: cli_1.CliInternals.parsedCli,
103
103
  }).value;
104
- const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
105
- commandLine: cli_1.CliInternals.parsedCli,
106
- }).value;
107
104
  const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
108
105
  commandLine: cli_1.CliInternals.parsedCli,
109
106
  }).value;
@@ -140,7 +137,6 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel) => {
140
137
  publicDir: null,
141
138
  rootDir: remotionRoot,
142
139
  askAIEnabled,
143
- experimentalClientSideRenderingEnabled,
144
140
  keyboardShortcutsEnabled,
145
141
  },
146
142
  indent: false,
package/dist/index.d.ts CHANGED
@@ -17,13 +17,6 @@ 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, 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
- } | {
27
20
  type: "success";
28
21
  publicUrl?: string | null | undefined;
29
22
  cloudStorageUri: string;
@@ -31,18 +24,18 @@ declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveU
31
24
  bucketName: string;
32
25
  renderId: string;
33
26
  privacy: "project-private" | "public-read";
34
- }>;
35
- /**
36
- * @deprecated Import this from `@remotion/cloudrun/client` instead
37
- */
38
- declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnCloudrunInput) => Promise<{
27
+ } | {
39
28
  type: "crash";
40
29
  cloudRunEndpoint: string;
41
30
  message: "Service crashed without sending a response. Check the logs in GCP console.";
42
31
  requestStartTime: string;
43
32
  requestCrashTime: string;
44
33
  requestElapsedTimeInSeconds: number;
45
- } | {
34
+ }>;
35
+ /**
36
+ * @deprecated Import this from `@remotion/cloudrun/client` instead
37
+ */
38
+ declare const renderStillOnCloudrun: (options: import("./client").RenderStillOnCloudrunInput) => Promise<{
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.490",
6
+ "version": "4.0.492",
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.490",
24
- "@remotion/cli": "4.0.490",
25
- "@remotion/renderer": "4.0.490",
23
+ "@remotion/bundler": "4.0.492",
24
+ "@remotion/cli": "4.0.492",
25
+ "@remotion/renderer": "4.0.492",
26
26
  "google-auth-library": "8.7.0",
27
- "remotion": "4.0.490",
27
+ "remotion": "4.0.492",
28
28
  "zod": "4.3.6"
29
29
  },
30
30
  "devDependencies": {
31
- "@remotion/compositor-linux-x64-gnu": "4.0.490",
31
+ "@remotion/compositor-linux-x64-gnu": "4.0.492",
32
32
  "@types/minimist": "1.2.2",
33
- "@remotion/eslint-config-internal": "4.0.490",
33
+ "@remotion/eslint-config-internal": "4.0.492",
34
34
  "eslint": "9.19.0",
35
35
  "@types/node": "20.12.14",
36
36
  "@typescript/native-preview": "7.0.0-dev.20260217.1"