@remotion/lambda 4.0.141 → 4.0.143
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/dist/api/deploy-site.d.ts +3 -3
- package/dist/api/render-still-on-lambda.js +1 -1
- package/dist/cli/log.d.ts +4 -4
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +4 -1
- package/dist/internals.d.ts +6 -6
- package/dist/shared/compress-props.js +2 -2
- package/dist/shared/stackback.d.ts +3 -0
- package/package.json +8 -8
- package/remotionlambda-arm64.zip +0 -0
|
@@ -59,11 +59,11 @@ export declare const internalDeploySite: (args_0: MandatoryParameters & {
|
|
|
59
59
|
getValue: ({ commandLine }: {
|
|
60
60
|
commandLine: Record<string, unknown>;
|
|
61
61
|
}) => {
|
|
62
|
-
value: "
|
|
62
|
+
value: "error" | "info" | "verbose" | "warn";
|
|
63
63
|
source: string;
|
|
64
64
|
};
|
|
65
|
-
setConfig: (newLogLevel: "
|
|
66
|
-
type: "
|
|
65
|
+
setConfig: (newLogLevel: "error" | "info" | "verbose" | "warn") => void;
|
|
66
|
+
type: "error" | "info" | "verbose" | "warn";
|
|
67
67
|
};
|
|
68
68
|
readonly throwIfSiteExists: {
|
|
69
69
|
cliFlag: string;
|
|
@@ -103,7 +103,7 @@ const renderStillOnLambda = (input) => {
|
|
|
103
103
|
logLevel: input.dumpBrowserLogs ? 'verbose' : (_o = input.logLevel) !== null && _o !== void 0 ? _o : 'info',
|
|
104
104
|
offthreadVideoCacheSizeInBytes: (_p = input.offthreadVideoCacheSizeInBytes) !== null && _p !== void 0 ? _p : null,
|
|
105
105
|
scale: (_q = input.scale) !== null && _q !== void 0 ? _q : 1,
|
|
106
|
-
timeoutInMilliseconds: (_r = input.timeoutInMilliseconds) !== null && _r !== void 0 ? _r :
|
|
106
|
+
timeoutInMilliseconds: (_r = input.timeoutInMilliseconds) !== null && _r !== void 0 ? _r : 30000,
|
|
107
107
|
dumpBrowserLogs: false,
|
|
108
108
|
});
|
|
109
109
|
};
|
package/dist/cli/log.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const Log: {
|
|
2
2
|
verbose: (options: import("@remotion/renderer").LogOptions & {
|
|
3
3
|
tag?: string | undefined;
|
|
4
|
-
},
|
|
5
|
-
info: (options: import("@remotion/renderer").LogOptions,
|
|
6
|
-
warn: (options: import("@remotion/renderer").LogOptions,
|
|
4
|
+
}, ...args: any[]) => void;
|
|
5
|
+
info: (options: import("@remotion/renderer").LogOptions, ...args: any[]) => void;
|
|
6
|
+
warn: (options: import("@remotion/renderer").LogOptions, ...args: any[]) => void;
|
|
7
7
|
error: (options: import("@remotion/renderer").LogOptions & {
|
|
8
8
|
tag?: string | undefined;
|
|
9
|
-
},
|
|
9
|
+
}, ...args: any[]) => void;
|
|
10
10
|
};
|
package/dist/internals.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const LambdaInternals: {
|
|
2
|
-
executeCommand: (args: string[], remotionRoot: string, logLevel: "
|
|
2
|
+
executeCommand: (args: string[], remotionRoot: string, logLevel: "error" | "info" | "verbose" | "warn") => Promise<void>;
|
|
3
3
|
makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, }: import("./api/make-lambda-payload").InnerRenderMediaOnLambdaInput) => Promise<import("./defaults").LambdaStartPayload>;
|
|
4
4
|
getRenderProgressPayload: ({ bucketName, renderId, s3OutputProvider, logLevel, }: import(".").GetRenderProgressInput) => import("./defaults").LambdaStatusPayload;
|
|
5
5
|
makeLambdaRenderStillPayload: ({ serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, offthreadVideoCacheSizeInBytes, deleteAfter, }: import("./api/render-still-on-lambda").RenderStillOnLambdaNonNullInput) => Promise<{
|
|
@@ -14,7 +14,7 @@ export declare const LambdaInternals: {
|
|
|
14
14
|
maxRetries: number;
|
|
15
15
|
frame: number;
|
|
16
16
|
privacy: import("./defaults").Privacy;
|
|
17
|
-
logLevel: "
|
|
17
|
+
logLevel: "error" | "info" | "verbose" | "warn";
|
|
18
18
|
outName: import("./defaults").OutNameInput | null;
|
|
19
19
|
timeoutInMilliseconds: number;
|
|
20
20
|
chromiumOptions: import("@remotion/renderer").ChromiumOptions;
|
|
@@ -30,7 +30,7 @@ export declare const LambdaInternals: {
|
|
|
30
30
|
internalDeploySite: (args_0: {
|
|
31
31
|
entryPoint: string;
|
|
32
32
|
bucketName: string;
|
|
33
|
-
region: "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-
|
|
33
|
+
region: "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "sa-east-1" | "eu-south-1" | "af-south-1" | "ap-east-1" | "me-south-1";
|
|
34
34
|
} & {
|
|
35
35
|
siteName: string;
|
|
36
36
|
options: {
|
|
@@ -56,11 +56,11 @@ export declare const LambdaInternals: {
|
|
|
56
56
|
getValue: ({ commandLine }: {
|
|
57
57
|
commandLine: Record<string, unknown>;
|
|
58
58
|
}) => {
|
|
59
|
-
value: "
|
|
59
|
+
value: "error" | "info" | "verbose" | "warn";
|
|
60
60
|
source: string;
|
|
61
61
|
};
|
|
62
|
-
setConfig: (newLogLevel: "
|
|
63
|
-
type: "
|
|
62
|
+
setConfig: (newLogLevel: "error" | "info" | "verbose" | "warn") => void;
|
|
63
|
+
type: "error" | "info" | "verbose" | "warn";
|
|
64
64
|
};
|
|
65
65
|
readonly throwIfSiteExists: {
|
|
66
66
|
cliFlag: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.decompressInputProps = exports.compressInputProps = exports.getNeedsToUpload = exports.serializeOrThrow = void 0;
|
|
4
|
+
const no_react_1 = require("remotion/no-react");
|
|
4
5
|
const get_or_create_bucket_1 = require("../api/get-or-create-bucket");
|
|
5
6
|
const io_1 = require("../functions/helpers/io");
|
|
6
7
|
const constants_1 = require("./constants");
|
|
7
8
|
const random_hash_1 = require("./random-hash");
|
|
8
|
-
const serialize_props_1 = require("./serialize-props");
|
|
9
9
|
const stream_to_string_1 = require("./stream-to-string");
|
|
10
10
|
const validate_webhook_1 = require("./validate-webhook");
|
|
11
11
|
const makeKey = (type, hash) => {
|
|
@@ -16,7 +16,7 @@ const makeKey = (type, hash) => {
|
|
|
16
16
|
};
|
|
17
17
|
const serializeOrThrow = (inputProps, propsType) => {
|
|
18
18
|
try {
|
|
19
|
-
const payload =
|
|
19
|
+
const payload = no_react_1.NoReactInternals.serializeJSONWithDate({
|
|
20
20
|
indent: undefined,
|
|
21
21
|
staticBase: null,
|
|
22
22
|
data: inputProps,
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
/// <reference types="bun-types" />
|
|
2
3
|
/// <reference types="node" />
|
|
3
4
|
/// <reference types="node" />
|
|
4
5
|
/// <reference types="node" />
|
|
6
|
+
/// <reference types="bun-types" />
|
|
7
|
+
/// <reference types="bun-types" />
|
|
5
8
|
export declare const stackback: (error: Error) => NodeJS.CallSite[];
|
|
6
9
|
declare global {
|
|
7
10
|
interface Error {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.143",
|
|
4
4
|
"description": "Distributed renderer for Remotion based on AWS Lambda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"aws-policies": "^1.0.1",
|
|
27
27
|
"mime-types": "2.1.34",
|
|
28
28
|
"zod": "3.22.3",
|
|
29
|
-
"@remotion/bundler": "4.0.
|
|
30
|
-
"remotion": "4.0.
|
|
31
|
-
"@remotion/renderer": "4.0.
|
|
32
|
-
"
|
|
29
|
+
"@remotion/bundler": "4.0.143",
|
|
30
|
+
"@remotion/cli": "4.0.143",
|
|
31
|
+
"@remotion/renderer": "4.0.143",
|
|
32
|
+
"remotion": "4.0.143"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@jonny/eslint-config": "3.0.281",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"ts-node": "10.9.2",
|
|
46
46
|
"vitest": "0.31.1",
|
|
47
47
|
"zip-lib": "^0.7.2",
|
|
48
|
-
"@remotion/
|
|
49
|
-
"@remotion/
|
|
48
|
+
"@remotion/bundler": "4.0.143",
|
|
49
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.143"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@remotion/bundler": "4.0.
|
|
52
|
+
"@remotion/bundler": "4.0.143"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|