@remotion/vercel 4.0.450 → 4.0.452

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.
@@ -2,8 +2,9 @@ import type { Sandbox } from '@vercel/sandbox';
2
2
  import type { CreateSandboxOnProgress, VercelSandbox } from './types';
3
3
  type CreateSandboxResources = NonNullable<NonNullable<Parameters<typeof Sandbox.create>[0]>['resources']>;
4
4
  export declare const SANDBOX_CREATING_TIMEOUT: number;
5
- export declare function createSandbox({ onProgress, resources }?: {
5
+ export declare function createSandbox({ onProgress, resources, timeoutInMilliseconds }?: {
6
6
  onProgress?: CreateSandboxOnProgress;
7
7
  resources?: CreateSandboxResources;
8
+ timeoutInMilliseconds?: number;
8
9
  }): Promise<VercelSandbox>;
9
10
  export {};
@@ -2112,7 +2112,8 @@ echo "[patch-compositor] Compositor patched successfully"
2112
2112
  var SANDBOX_CREATING_TIMEOUT = 5 * 60 * 1000;
2113
2113
  async function createSandbox({
2114
2114
  onProgress,
2115
- resources = { vcpus: 4 }
2115
+ resources = { vcpus: 4 },
2116
+ timeoutInMilliseconds = SANDBOX_CREATING_TIMEOUT
2116
2117
  } = {}) {
2117
2118
  const report = async (progress, message) => {
2118
2119
  await onProgress?.({ progress, message });
@@ -2120,7 +2121,7 @@ async function createSandbox({
2120
2121
  const sandbox = await createDisposableSandbox({
2121
2122
  runtime: "node24",
2122
2123
  resources,
2123
- timeout: SANDBOX_CREATING_TIMEOUT
2124
+ timeout: timeoutInMilliseconds
2124
2125
  });
2125
2126
  const WEIGHT_SYS_DEPS = 0.75;
2126
2127
  const WEIGHT_BROWSER = 0.25;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/vercel",
3
- "version": "4.0.450",
3
+ "version": "4.0.452",
4
4
  "description": "Render Remotion videos on Vercel Sandbox",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,8 +24,8 @@
24
24
  "url": "https://github.com/remotion-dev/remotion/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@remotion/renderer": "4.0.449",
28
- "remotion": "4.0.449"
27
+ "@remotion/renderer": "4.0.452",
28
+ "remotion": "4.0.452"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@vercel/sandbox": ">=1.0.0"
@@ -39,7 +39,7 @@
39
39
  "./package.json": "./package.json"
40
40
  },
41
41
  "devDependencies": {
42
- "@remotion/eslint-config-internal": "4.0.449",
42
+ "@remotion/eslint-config-internal": "4.0.452",
43
43
  "@vercel/blob": "2.3.0",
44
44
  "@vercel/sandbox": "1.6.0",
45
45
  "eslint": "9.19.0",
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "../tsconfig.settings.json",
3
- "compilerOptions": {
4
- "rootDir": "src",
5
- "skipLibCheck": true,
6
- "target": "ES2022",
7
- "module": "es2022",
8
- "moduleResolution": "bundler",
9
- "noEmit": true,
10
- "composite": false,
11
- "declaration": false
12
- },
13
- "include": ["src/scripts"]
14
- }