@remotion/cloudrun 4.0.347 → 4.0.350
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.
package/.turbo/turbo-make.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
> bun test src
|
|
5
|
-
|
|
6
|
-
[0m[1mbun test [0m[2mv1.2.14 (6a363a38)[0m
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mbun test src[0m
|
|
3
|
+
[0m[1mbun test [0m[2mv1.2.21 (7c45ed97)[0m
|
|
7
4
|
[0m
|
|
8
5
|
src/api/test/service-names.test.ts:
|
|
9
|
-
[0m[32m✓[0m[0m[1m Parse service names[0m [0m[2m[
|
|
6
|
+
[0m[32m✓[0m[0m[1m Parse service names[0m [0m[2m[1.35ms[0m[2m][0m
|
|
10
7
|
[0m
|
|
11
8
|
src/api/test/running-in-what-server.test.ts:
|
|
12
9
|
[0m[32m✓[0m[0m[1m is running in cloud tasks = true[0m
|
|
13
|
-
[0m[32m✓[0m[0m[1m is running in cloud tasks = false[0m [0m[2m[0.
|
|
14
|
-
[0m[32m✓[0m[0m[1m which project Id = remotion-test[0m [0m[2m[0.
|
|
15
|
-
[0m[32m✓[0m[0m[1m which project Id = remotion-test-cloudtask[0m
|
|
10
|
+
[0m[32m✓[0m[0m[1m is running in cloud tasks = false[0m [0m[2m[0.03ms[0m[2m][0m
|
|
11
|
+
[0m[32m✓[0m[0m[1m which project Id = remotion-test[0m [0m[2m[0.06ms[0m[2m][0m
|
|
12
|
+
[0m[32m✓[0m[0m[1m which project Id = remotion-test-cloudtask[0m [0m[2m[0.01ms[0m[2m][0m
|
|
16
13
|
[0m
|
|
17
14
|
src/api/test/payloads.test.ts:
|
|
18
|
-
[0m[32m✓[0m[0m[1m CloudRunPayload should work with and without optional webhook fields[0m [0m[2m[
|
|
15
|
+
[0m[32m✓[0m[0m[1m CloudRunPayload should work with and without optional webhook fields[0m [0m[2m[2.48ms[0m[2m][0m
|
|
19
16
|
[0m
|
|
20
17
|
src/api/test/make-console.test.ts:
|
|
21
|
-
[0m[32m✓[0m[0m[1m app is in cloud tasks[0m [0m[2m[0.
|
|
22
|
-
[0m[32m✓[0m[0m[1m app is not in cloud tasks[0m [0m[2m[0.
|
|
18
|
+
[0m[32m✓[0m[0m[1m app is in cloud tasks[0m [0m[2m[0.34ms[0m[2m][0m
|
|
19
|
+
[0m[32m✓[0m[0m[1m app is not in cloud tasks[0m [0m[2m[0.03ms[0m[2m][0m
|
|
23
20
|
|
|
24
21
|
[0m[32m 8 pass[0m
|
|
25
22
|
[0m[2m 0 fail[0m
|
|
26
23
|
17 expect() calls
|
|
27
|
-
Ran 8 tests across 4 files. [0m[2m[[
|
|
24
|
+
Ran 8 tests across 4 files. [0m[2m[[1m99.00ms[0m[2m][0m
|
|
@@ -29,21 +29,21 @@ type OptionalParameters = {
|
|
|
29
29
|
} & ToOptions<typeof BrowserSafeApis.optionsMap.renderStillOnCloudRun>;
|
|
30
30
|
export type RenderStillOnCloudrunInput = Partial<OptionalParameters> & MandatoryParameters;
|
|
31
31
|
export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput) => Promise<{
|
|
32
|
-
name: string;
|
|
33
|
-
message: string;
|
|
34
|
-
type: "error";
|
|
35
|
-
stack: string;
|
|
36
|
-
} | {
|
|
37
|
-
bucketName: string;
|
|
38
32
|
type: "success";
|
|
39
33
|
privacy: "public-read" | "project-private";
|
|
40
34
|
cloudStorageUri: string;
|
|
41
35
|
size: number;
|
|
36
|
+
bucketName: string;
|
|
42
37
|
renderId: string;
|
|
43
38
|
publicUrl?: string | null | undefined;
|
|
44
39
|
} | {
|
|
45
|
-
|
|
40
|
+
type: "error";
|
|
41
|
+
message: string;
|
|
42
|
+
name: string;
|
|
43
|
+
stack: string;
|
|
44
|
+
} | {
|
|
46
45
|
type: "crash";
|
|
46
|
+
message: "Service crashed without sending a response. Check the logs in GCP console.";
|
|
47
47
|
cloudRunEndpoint: string;
|
|
48
48
|
requestStartTime: string;
|
|
49
49
|
requestCrashTime: string;
|
|
@@ -130,7 +130,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
130
130
|
envVariables: Record<string, string>;
|
|
131
131
|
muted: boolean;
|
|
132
132
|
outputBucket: string;
|
|
133
|
-
logLevel: "
|
|
133
|
+
logLevel: "error" | "trace" | "verbose" | "info" | "warn";
|
|
134
134
|
delayRenderTimeoutInMilliseconds: number | null;
|
|
135
135
|
concurrency: string | number | null;
|
|
136
136
|
enforceAudioTrack: boolean;
|
|
@@ -188,7 +188,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
188
188
|
envVariables: Record<string, string>;
|
|
189
189
|
muted: boolean;
|
|
190
190
|
outputBucket: string;
|
|
191
|
-
logLevel: "
|
|
191
|
+
logLevel: "error" | "trace" | "verbose" | "info" | "warn";
|
|
192
192
|
delayRenderTimeoutInMilliseconds: number | null;
|
|
193
193
|
concurrency: string | number | null;
|
|
194
194
|
enforceAudioTrack: boolean;
|
|
@@ -306,7 +306,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
306
306
|
outputBucket: string;
|
|
307
307
|
outName: string | null;
|
|
308
308
|
privacy: "public" | "private" | "no-acl";
|
|
309
|
-
logLevel: "
|
|
309
|
+
logLevel: "error" | "trace" | "verbose" | "info" | "warn";
|
|
310
310
|
delayRenderTimeoutInMilliseconds: number;
|
|
311
311
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
312
312
|
offthreadVideoThreads: number | null;
|
|
@@ -347,7 +347,7 @@ export declare const CloudRunPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
347
347
|
outputBucket: string;
|
|
348
348
|
outName: string | null;
|
|
349
349
|
privacy: "public" | "private" | "no-acl";
|
|
350
|
-
logLevel: "
|
|
350
|
+
logLevel: "error" | "trace" | "verbose" | "info" | "warn";
|
|
351
351
|
delayRenderTimeoutInMilliseconds: number;
|
|
352
352
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
353
353
|
offthreadVideoThreads: number | null;
|
|
@@ -384,14 +384,14 @@ declare const renderFailResponsePayload: z.ZodObject<{
|
|
|
384
384
|
name: z.ZodString;
|
|
385
385
|
stack: z.ZodString;
|
|
386
386
|
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
name: string;
|
|
388
|
-
message: string;
|
|
389
387
|
type: "error";
|
|
388
|
+
message: string;
|
|
389
|
+
name: string;
|
|
390
390
|
stack: string;
|
|
391
391
|
}, {
|
|
392
|
-
name: string;
|
|
393
|
-
message: string;
|
|
394
392
|
type: "error";
|
|
393
|
+
message: string;
|
|
394
|
+
name: string;
|
|
395
395
|
stack: string;
|
|
396
396
|
}>;
|
|
397
397
|
declare const renderStillOnCloudrunResponsePayload: z.ZodObject<{
|
|
@@ -403,19 +403,19 @@ declare const renderStillOnCloudrunResponsePayload: z.ZodObject<{
|
|
|
403
403
|
renderId: z.ZodString;
|
|
404
404
|
privacy: z.ZodEnum<["public-read", "project-private"]>;
|
|
405
405
|
}, "strip", z.ZodTypeAny, {
|
|
406
|
-
bucketName: string;
|
|
407
406
|
type: "success";
|
|
408
407
|
privacy: "public-read" | "project-private";
|
|
409
408
|
cloudStorageUri: string;
|
|
410
409
|
size: number;
|
|
410
|
+
bucketName: string;
|
|
411
411
|
renderId: string;
|
|
412
412
|
publicUrl?: string | null | undefined;
|
|
413
413
|
}, {
|
|
414
|
-
bucketName: string;
|
|
415
414
|
type: "success";
|
|
416
415
|
privacy: "public-read" | "project-private";
|
|
417
416
|
cloudStorageUri: string;
|
|
418
417
|
size: number;
|
|
418
|
+
bucketName: string;
|
|
419
419
|
renderId: string;
|
|
420
420
|
publicUrl?: string | null | undefined;
|
|
421
421
|
}>;
|
|
@@ -428,19 +428,19 @@ declare const renderMediaOnCloudrunResponsePayload: z.ZodObject<{
|
|
|
428
428
|
renderId: z.ZodString;
|
|
429
429
|
privacy: z.ZodEnum<["public-read", "project-private"]>;
|
|
430
430
|
}, "strip", z.ZodTypeAny, {
|
|
431
|
-
bucketName: string;
|
|
432
431
|
type: "success";
|
|
433
432
|
privacy: "public-read" | "project-private";
|
|
434
433
|
cloudStorageUri: string;
|
|
435
434
|
size: number;
|
|
435
|
+
bucketName: string;
|
|
436
436
|
renderId: string;
|
|
437
437
|
publicUrl?: string | null | undefined;
|
|
438
438
|
}, {
|
|
439
|
-
bucketName: string;
|
|
440
439
|
type: "success";
|
|
441
440
|
privacy: "public-read" | "project-private";
|
|
442
441
|
cloudStorageUri: string;
|
|
443
442
|
size: number;
|
|
443
|
+
bucketName: string;
|
|
444
444
|
renderId: string;
|
|
445
445
|
publicUrl?: string | null | undefined;
|
|
446
446
|
}>;
|
|
@@ -452,15 +452,15 @@ declare const cloudRunCrashResponse: z.ZodObject<{
|
|
|
452
452
|
requestCrashTime: z.ZodString;
|
|
453
453
|
requestElapsedTimeInSeconds: z.ZodNumber;
|
|
454
454
|
}, "strip", z.ZodTypeAny, {
|
|
455
|
-
message: "Service crashed without sending a response. Check the logs in GCP console.";
|
|
456
455
|
type: "crash";
|
|
456
|
+
message: "Service crashed without sending a response. Check the logs in GCP console.";
|
|
457
457
|
cloudRunEndpoint: string;
|
|
458
458
|
requestStartTime: string;
|
|
459
459
|
requestCrashTime: string;
|
|
460
460
|
requestElapsedTimeInSeconds: number;
|
|
461
461
|
}, {
|
|
462
|
-
message: "Service crashed without sending a response. Check the logs in GCP console.";
|
|
463
462
|
type: "crash";
|
|
463
|
+
message: "Service crashed without sending a response. Check the logs in GCP console.";
|
|
464
464
|
cloudRunEndpoint: string;
|
|
465
465
|
requestStartTime: string;
|
|
466
466
|
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
|
-
|
|
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.
|
|
6
|
+
"version": "4.0.350",
|
|
7
7
|
"description": "Render Remotion videos on Google Cloud Run",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"@google-cloud/logging": "11.2.0",
|
|
17
17
|
"google-auth-library": "8.7.0",
|
|
18
18
|
"zod": "3.22.3",
|
|
19
|
-
"
|
|
20
|
-
"@remotion/
|
|
21
|
-
"@remotion/
|
|
22
|
-
"remotion": "4.0.
|
|
19
|
+
"remotion": "4.0.350",
|
|
20
|
+
"@remotion/cli": "4.0.350",
|
|
21
|
+
"@remotion/renderer": "4.0.350",
|
|
22
|
+
"@remotion/bundler": "4.0.350"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/minimist": "1.2.2",
|
|
26
26
|
"eslint": "9.19.0",
|
|
27
|
-
"@remotion/
|
|
28
|
-
"@remotion/
|
|
27
|
+
"@remotion/eslint-config-internal": "4.0.350",
|
|
28
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.350"
|
|
29
29
|
},
|
|
30
30
|
"exports": {
|
|
31
31
|
"./package.json": "./package.json",
|