@remotion/lambda 3.3.88 → 3.3.89
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/make-lambda-payload.d.ts +41 -0
- package/dist/api/make-lambda-payload.js +62 -0
- package/dist/api/render-media-on-lambda.d.ts +2 -2
- package/dist/api/render-media-on-lambda.js +4 -57
- package/dist/cli/index.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/internals.d.ts +40 -0
- package/dist/internals.js +2 -0
- package/dist/shared/invoke-webhook.js +1 -1
- package/dist/shared/serialize-input-props.js +1 -1
- package/dist/shared/validate-privacy.js +1 -1
- package/package.json +9 -9
- package/remotionlambda-arm64.zip +0 -0
- package/remotionlambda-x64.zip +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { RenderMediaOnLambdaInput } from './render-media-on-lambda';
|
|
2
|
+
export declare const makeLambdaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, quality, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, downloadBehavior, muted, overwrite, dumpBrowserLogs, }: RenderMediaOnLambdaInput) => Promise<{
|
|
3
|
+
rendererFunctionName: string | null;
|
|
4
|
+
framesPerLambda: number | null;
|
|
5
|
+
composition: string;
|
|
6
|
+
serveUrl: string;
|
|
7
|
+
inputProps: import("../defaults").SerializedInputProps;
|
|
8
|
+
codec: "h264" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "gif" | "prores";
|
|
9
|
+
imageFormat: "png" | "jpeg" | "none";
|
|
10
|
+
crf: number | undefined;
|
|
11
|
+
envVariables: Record<string, string> | undefined;
|
|
12
|
+
pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le" | undefined;
|
|
13
|
+
proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
14
|
+
quality: number | undefined;
|
|
15
|
+
maxRetries: number;
|
|
16
|
+
privacy: import("../defaults").Privacy;
|
|
17
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
18
|
+
frameRange: import("@remotion/renderer").FrameRange | null;
|
|
19
|
+
outName: import("../defaults").OutNameInput | null;
|
|
20
|
+
timeoutInMilliseconds: number;
|
|
21
|
+
chromiumOptions: import("@remotion/renderer").ChromiumOptions;
|
|
22
|
+
scale: number;
|
|
23
|
+
everyNthFrame: number;
|
|
24
|
+
numberOfGifLoops: number;
|
|
25
|
+
concurrencyPerLambda: number;
|
|
26
|
+
downloadBehavior: import("../shared/content-disposition-header").DownloadBehavior;
|
|
27
|
+
muted: boolean;
|
|
28
|
+
version: string;
|
|
29
|
+
overwrite: boolean;
|
|
30
|
+
audioBitrate: string | null;
|
|
31
|
+
videoBitrate: string | null;
|
|
32
|
+
webhook: {
|
|
33
|
+
url: string;
|
|
34
|
+
secret: string | null;
|
|
35
|
+
} | null;
|
|
36
|
+
forceHeight: number | null;
|
|
37
|
+
forceWidth: number | null;
|
|
38
|
+
bucketName: string | null;
|
|
39
|
+
audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
40
|
+
dumpBrowserLogs: boolean;
|
|
41
|
+
}>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.makeLambdaPayload = void 0;
|
|
4
|
+
const version_1 = require("remotion/version");
|
|
5
|
+
const serialize_input_props_1 = require("../shared/serialize-input-props");
|
|
6
|
+
const validate_download_behavior_1 = require("../shared/validate-download-behavior");
|
|
7
|
+
const validate_frames_per_lambda_1 = require("../shared/validate-frames-per-lambda");
|
|
8
|
+
const validate_lambda_codec_1 = require("../shared/validate-lambda-codec");
|
|
9
|
+
const validate_serveurl_1 = require("../shared/validate-serveurl");
|
|
10
|
+
const makeLambdaPayload = async ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, quality, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, downloadBehavior, muted, overwrite, dumpBrowserLogs, }) => {
|
|
11
|
+
const actualCodec = (0, validate_lambda_codec_1.validateLambdaCodec)(codec);
|
|
12
|
+
(0, validate_serveurl_1.validateServeUrl)(serveUrl);
|
|
13
|
+
(0, validate_frames_per_lambda_1.validateFramesPerLambda)({
|
|
14
|
+
framesPerLambda: framesPerLambda !== null && framesPerLambda !== void 0 ? framesPerLambda : null,
|
|
15
|
+
durationInFrames: 1,
|
|
16
|
+
});
|
|
17
|
+
(0, validate_download_behavior_1.validateDownloadBehavior)(downloadBehavior);
|
|
18
|
+
const serializedInputProps = await (0, serialize_input_props_1.serializeInputProps)({
|
|
19
|
+
inputProps,
|
|
20
|
+
region,
|
|
21
|
+
type: 'video-or-audio',
|
|
22
|
+
userSpecifiedBucketName: bucketName !== null && bucketName !== void 0 ? bucketName : null,
|
|
23
|
+
});
|
|
24
|
+
return {
|
|
25
|
+
rendererFunctionName: rendererFunctionName !== null && rendererFunctionName !== void 0 ? rendererFunctionName : null,
|
|
26
|
+
framesPerLambda: framesPerLambda !== null && framesPerLambda !== void 0 ? framesPerLambda : null,
|
|
27
|
+
composition,
|
|
28
|
+
serveUrl,
|
|
29
|
+
inputProps: serializedInputProps,
|
|
30
|
+
codec: actualCodec,
|
|
31
|
+
imageFormat: imageFormat !== null && imageFormat !== void 0 ? imageFormat : 'jpeg',
|
|
32
|
+
crf,
|
|
33
|
+
envVariables,
|
|
34
|
+
pixelFormat,
|
|
35
|
+
proResProfile,
|
|
36
|
+
quality,
|
|
37
|
+
maxRetries: maxRetries !== null && maxRetries !== void 0 ? maxRetries : 1,
|
|
38
|
+
privacy: privacy !== null && privacy !== void 0 ? privacy : 'public',
|
|
39
|
+
logLevel: logLevel !== null && logLevel !== void 0 ? logLevel : 'info',
|
|
40
|
+
frameRange: frameRange !== null && frameRange !== void 0 ? frameRange : null,
|
|
41
|
+
outName: outName !== null && outName !== void 0 ? outName : null,
|
|
42
|
+
timeoutInMilliseconds: timeoutInMilliseconds !== null && timeoutInMilliseconds !== void 0 ? timeoutInMilliseconds : 30000,
|
|
43
|
+
chromiumOptions: chromiumOptions !== null && chromiumOptions !== void 0 ? chromiumOptions : {},
|
|
44
|
+
scale: scale !== null && scale !== void 0 ? scale : 1,
|
|
45
|
+
everyNthFrame: everyNthFrame !== null && everyNthFrame !== void 0 ? everyNthFrame : 1,
|
|
46
|
+
numberOfGifLoops: numberOfGifLoops !== null && numberOfGifLoops !== void 0 ? numberOfGifLoops : 0,
|
|
47
|
+
concurrencyPerLambda: concurrencyPerLambda !== null && concurrencyPerLambda !== void 0 ? concurrencyPerLambda : 1,
|
|
48
|
+
downloadBehavior: downloadBehavior !== null && downloadBehavior !== void 0 ? downloadBehavior : { type: 'play-in-browser' },
|
|
49
|
+
muted: muted !== null && muted !== void 0 ? muted : false,
|
|
50
|
+
version: version_1.VERSION,
|
|
51
|
+
overwrite: overwrite !== null && overwrite !== void 0 ? overwrite : false,
|
|
52
|
+
audioBitrate: audioBitrate !== null && audioBitrate !== void 0 ? audioBitrate : null,
|
|
53
|
+
videoBitrate: videoBitrate !== null && videoBitrate !== void 0 ? videoBitrate : null,
|
|
54
|
+
webhook: webhook !== null && webhook !== void 0 ? webhook : null,
|
|
55
|
+
forceHeight: forceHeight !== null && forceHeight !== void 0 ? forceHeight : null,
|
|
56
|
+
forceWidth: forceWidth !== null && forceWidth !== void 0 ? forceWidth : null,
|
|
57
|
+
bucketName: bucketName !== null && bucketName !== void 0 ? bucketName : null,
|
|
58
|
+
audioCodec: audioCodec !== null && audioCodec !== void 0 ? audioCodec : null,
|
|
59
|
+
dumpBrowserLogs: dumpBrowserLogs !== null && dumpBrowserLogs !== void 0 ? dumpBrowserLogs : false,
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
exports.makeLambdaPayload = makeLambdaPayload;
|
|
@@ -70,8 +70,8 @@ export declare type RenderMediaOnLambdaOutput = {
|
|
|
70
70
|
* @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
|
|
71
71
|
* @returns {Promise<RenderMediaOnLambdaOutput>} See documentation for detailed structure
|
|
72
72
|
*/
|
|
73
|
-
export declare const renderMediaOnLambda: (
|
|
73
|
+
export declare const renderMediaOnLambda: (input: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
74
74
|
/**
|
|
75
75
|
* @deprecated Renamed to renderMediaOnLambda()
|
|
76
76
|
*/
|
|
77
|
-
export declare const renderVideoOnLambda: (
|
|
77
|
+
export declare const renderVideoOnLambda: (input: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.renderVideoOnLambda = exports.renderMediaOnLambda = void 0;
|
|
4
|
-
const version_1 = require("remotion/version");
|
|
5
4
|
const call_lambda_1 = require("../shared/call-lambda");
|
|
6
5
|
const constants_1 = require("../shared/constants");
|
|
7
6
|
const get_aws_urls_1 = require("../shared/get-aws-urls");
|
|
8
|
-
const
|
|
9
|
-
const validate_download_behavior_1 = require("../shared/validate-download-behavior");
|
|
10
|
-
const validate_frames_per_lambda_1 = require("../shared/validate-frames-per-lambda");
|
|
11
|
-
const validate_lambda_codec_1 = require("../shared/validate-lambda-codec");
|
|
12
|
-
const validate_serveurl_1 = require("../shared/validate-serveurl");
|
|
7
|
+
const make_lambda_payload_1 = require("./make-lambda-payload");
|
|
13
8
|
/**
|
|
14
9
|
* @description Triggers a render on a lambda given a composition and a lambda function.
|
|
15
10
|
* @see [Documentation](https://remotion.dev/docs/lambda/rendermediaonlambda)
|
|
@@ -30,62 +25,14 @@ const validate_serveurl_1 = require("../shared/validate-serveurl");
|
|
|
30
25
|
* @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
|
|
31
26
|
* @returns {Promise<RenderMediaOnLambdaOutput>} See documentation for detailed structure
|
|
32
27
|
*/
|
|
33
|
-
const renderMediaOnLambda = async (
|
|
28
|
+
const renderMediaOnLambda = async (input) => {
|
|
34
29
|
var _a;
|
|
35
|
-
const
|
|
36
|
-
(0, validate_serveurl_1.validateServeUrl)(serveUrl);
|
|
37
|
-
(0, validate_frames_per_lambda_1.validateFramesPerLambda)({
|
|
38
|
-
framesPerLambda: framesPerLambda !== null && framesPerLambda !== void 0 ? framesPerLambda : null,
|
|
39
|
-
durationInFrames: 1,
|
|
40
|
-
});
|
|
41
|
-
(0, validate_download_behavior_1.validateDownloadBehavior)(downloadBehavior);
|
|
42
|
-
const serializedInputProps = await (0, serialize_input_props_1.serializeInputProps)({
|
|
43
|
-
inputProps,
|
|
44
|
-
region,
|
|
45
|
-
type: 'video-or-audio',
|
|
46
|
-
userSpecifiedBucketName: bucketName !== null && bucketName !== void 0 ? bucketName : null,
|
|
47
|
-
});
|
|
30
|
+
const { functionName, region, rendererFunctionName } = input;
|
|
48
31
|
try {
|
|
49
32
|
const res = await (0, call_lambda_1.callLambda)({
|
|
50
33
|
functionName,
|
|
51
34
|
type: constants_1.LambdaRoutines.start,
|
|
52
|
-
payload:
|
|
53
|
-
rendererFunctionName: rendererFunctionName !== null && rendererFunctionName !== void 0 ? rendererFunctionName : null,
|
|
54
|
-
framesPerLambda: framesPerLambda !== null && framesPerLambda !== void 0 ? framesPerLambda : null,
|
|
55
|
-
composition,
|
|
56
|
-
serveUrl,
|
|
57
|
-
inputProps: serializedInputProps,
|
|
58
|
-
codec: actualCodec,
|
|
59
|
-
imageFormat: imageFormat !== null && imageFormat !== void 0 ? imageFormat : 'jpeg',
|
|
60
|
-
crf,
|
|
61
|
-
envVariables,
|
|
62
|
-
pixelFormat,
|
|
63
|
-
proResProfile,
|
|
64
|
-
quality,
|
|
65
|
-
maxRetries: maxRetries !== null && maxRetries !== void 0 ? maxRetries : 1,
|
|
66
|
-
privacy: privacy !== null && privacy !== void 0 ? privacy : 'public',
|
|
67
|
-
logLevel: logLevel !== null && logLevel !== void 0 ? logLevel : 'info',
|
|
68
|
-
frameRange: frameRange !== null && frameRange !== void 0 ? frameRange : null,
|
|
69
|
-
outName: outName !== null && outName !== void 0 ? outName : null,
|
|
70
|
-
timeoutInMilliseconds: timeoutInMilliseconds !== null && timeoutInMilliseconds !== void 0 ? timeoutInMilliseconds : 30000,
|
|
71
|
-
chromiumOptions: chromiumOptions !== null && chromiumOptions !== void 0 ? chromiumOptions : {},
|
|
72
|
-
scale: scale !== null && scale !== void 0 ? scale : 1,
|
|
73
|
-
everyNthFrame: everyNthFrame !== null && everyNthFrame !== void 0 ? everyNthFrame : 1,
|
|
74
|
-
numberOfGifLoops: numberOfGifLoops !== null && numberOfGifLoops !== void 0 ? numberOfGifLoops : 0,
|
|
75
|
-
concurrencyPerLambda: concurrencyPerLambda !== null && concurrencyPerLambda !== void 0 ? concurrencyPerLambda : 1,
|
|
76
|
-
downloadBehavior: downloadBehavior !== null && downloadBehavior !== void 0 ? downloadBehavior : { type: 'play-in-browser' },
|
|
77
|
-
muted: muted !== null && muted !== void 0 ? muted : false,
|
|
78
|
-
version: version_1.VERSION,
|
|
79
|
-
overwrite: overwrite !== null && overwrite !== void 0 ? overwrite : false,
|
|
80
|
-
audioBitrate: audioBitrate !== null && audioBitrate !== void 0 ? audioBitrate : null,
|
|
81
|
-
videoBitrate: videoBitrate !== null && videoBitrate !== void 0 ? videoBitrate : null,
|
|
82
|
-
webhook: webhook !== null && webhook !== void 0 ? webhook : null,
|
|
83
|
-
forceHeight: forceHeight !== null && forceHeight !== void 0 ? forceHeight : null,
|
|
84
|
-
forceWidth: forceWidth !== null && forceWidth !== void 0 ? forceWidth : null,
|
|
85
|
-
bucketName: bucketName !== null && bucketName !== void 0 ? bucketName : null,
|
|
86
|
-
audioCodec: audioCodec !== null && audioCodec !== void 0 ? audioCodec : null,
|
|
87
|
-
dumpBrowserLogs: dumpBrowserLogs !== null && dumpBrowserLogs !== void 0 ? dumpBrowserLogs : false,
|
|
88
|
-
},
|
|
35
|
+
payload: await (0, make_lambda_payload_1.makeLambdaPayload)(input),
|
|
89
36
|
region,
|
|
90
37
|
});
|
|
91
38
|
return {
|
package/dist/cli/index.js
CHANGED
|
@@ -30,9 +30,9 @@ const requiresCredentials = (args) => {
|
|
|
30
30
|
if (args[1] === role_1.ROLE_SUBCOMMAND) {
|
|
31
31
|
return false;
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
}
|
|
34
|
+
if (args[0] === regions_1.REGIONS_COMMAND) {
|
|
35
|
+
return false;
|
|
36
36
|
}
|
|
37
37
|
return true;
|
|
38
38
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ import type { LambdaArchitecture } from './shared/validate-architecture';
|
|
|
44
44
|
/**
|
|
45
45
|
* @deprecated Import this from `@remotion/lambda/client` instead
|
|
46
46
|
*/
|
|
47
|
-
declare const renderMediaOnLambda: (
|
|
47
|
+
declare const renderMediaOnLambda: (input: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
48
48
|
/**
|
|
49
49
|
* @deprecated Import this from `@remotion/lambda/client` instead
|
|
50
50
|
*/
|
package/dist/internals.d.ts
CHANGED
|
@@ -1,3 +1,43 @@
|
|
|
1
1
|
export declare const LambdaInternals: {
|
|
2
2
|
executeCommand: (args: string[], remotionRoot: string) => Promise<void>;
|
|
3
|
+
makeLambdaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, quality, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, downloadBehavior, muted, overwrite, dumpBrowserLogs, }: import(".").RenderMediaOnLambdaInput) => Promise<{
|
|
4
|
+
rendererFunctionName: string | null;
|
|
5
|
+
framesPerLambda: number | null;
|
|
6
|
+
composition: string;
|
|
7
|
+
serveUrl: string;
|
|
8
|
+
inputProps: import("./defaults").SerializedInputProps;
|
|
9
|
+
codec: "h264" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "gif" | "prores";
|
|
10
|
+
imageFormat: "png" | "jpeg" | "none";
|
|
11
|
+
crf: number | undefined;
|
|
12
|
+
envVariables: Record<string, string> | undefined;
|
|
13
|
+
pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le" | undefined;
|
|
14
|
+
proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
15
|
+
quality: number | undefined;
|
|
16
|
+
maxRetries: number;
|
|
17
|
+
privacy: import("./defaults").Privacy;
|
|
18
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
19
|
+
frameRange: import("@remotion/renderer").FrameRange | null;
|
|
20
|
+
outName: import("./defaults").OutNameInput | null;
|
|
21
|
+
timeoutInMilliseconds: number;
|
|
22
|
+
chromiumOptions: import("@remotion/renderer").ChromiumOptions;
|
|
23
|
+
scale: number;
|
|
24
|
+
everyNthFrame: number;
|
|
25
|
+
numberOfGifLoops: number;
|
|
26
|
+
concurrencyPerLambda: number;
|
|
27
|
+
downloadBehavior: import("./shared/content-disposition-header").DownloadBehavior;
|
|
28
|
+
muted: boolean;
|
|
29
|
+
version: string;
|
|
30
|
+
overwrite: boolean;
|
|
31
|
+
audioBitrate: string | null;
|
|
32
|
+
videoBitrate: string | null;
|
|
33
|
+
webhook: {
|
|
34
|
+
url: string;
|
|
35
|
+
secret: string | null;
|
|
36
|
+
} | null;
|
|
37
|
+
forceHeight: number | null;
|
|
38
|
+
forceWidth: number | null;
|
|
39
|
+
bucketName: string | null;
|
|
40
|
+
audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
41
|
+
dumpBrowserLogs: boolean;
|
|
42
|
+
}>;
|
|
3
43
|
};
|
package/dist/internals.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LambdaInternals = void 0;
|
|
4
|
+
const make_lambda_payload_1 = require("./api/make-lambda-payload");
|
|
4
5
|
const index_1 = require("./cli/index");
|
|
5
6
|
exports.LambdaInternals = {
|
|
6
7
|
executeCommand: index_1.executeCommand,
|
|
8
|
+
makeLambdaPayload: make_lambda_payload_1.makeLambdaPayload,
|
|
7
9
|
};
|
|
@@ -74,7 +74,7 @@ function invokeWebhook({ payload, secret, url, }) {
|
|
|
74
74
|
timeout: 5000,
|
|
75
75
|
}, (res) => {
|
|
76
76
|
if (res.statusCode && res.statusCode > 299) {
|
|
77
|
-
reject(new Error(`Sent a webhook but got a status code of ${res.statusCode} with message '${res.statusMessage}'`));
|
|
77
|
+
reject(new Error(`Sent a webhook to ${url} but got a status code of ${res.statusCode} with message '${res.statusMessage}'`));
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
80
|
resolve();
|
|
@@ -5,7 +5,7 @@ const get_or_create_bucket_1 = require("../api/get-or-create-bucket");
|
|
|
5
5
|
const io_1 = require("../functions/helpers/io");
|
|
6
6
|
const constants_1 = require("./constants");
|
|
7
7
|
const random_hash_1 = require("./random-hash");
|
|
8
|
-
const serializeInputProps = async ({ inputProps, region, type, userSpecifiedBucketName, }) => {
|
|
8
|
+
const serializeInputProps = async ({ inputProps = {}, region, type, userSpecifiedBucketName, }) => {
|
|
9
9
|
try {
|
|
10
10
|
const payload = JSON.stringify(inputProps);
|
|
11
11
|
const hash = (0, random_hash_1.randomHash)();
|
|
@@ -6,7 +6,7 @@ function validatePrivacy(privacy) {
|
|
|
6
6
|
throw new TypeError('Privacy must be a string');
|
|
7
7
|
}
|
|
8
8
|
if (privacy !== 'private' && privacy !== 'public' && privacy !== 'no-acl') {
|
|
9
|
-
throw new TypeError('Privacy must be either "private", "public
|
|
9
|
+
throw new TypeError('Privacy must be either "private", "public" or "no-acl"');
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
exports.validatePrivacy = validatePrivacy;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.89",
|
|
4
4
|
"description": "Distributed renderer for Remotion based on AWS Lambda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"@aws-sdk/credential-providers": "3.272.0",
|
|
24
24
|
"@aws-sdk/lib-storage": "3.272.0",
|
|
25
25
|
"@aws-sdk/s3-request-presigner": "3.272.0",
|
|
26
|
-
"@remotion/bundler": "3.3.
|
|
27
|
-
"@remotion/cli": "3.3.
|
|
28
|
-
"@remotion/renderer": "3.3.
|
|
26
|
+
"@remotion/bundler": "3.3.89",
|
|
27
|
+
"@remotion/cli": "3.3.89",
|
|
28
|
+
"@remotion/renderer": "3.3.89",
|
|
29
29
|
"aws-policies": "^1.0.1",
|
|
30
30
|
"mime-types": "2.1.34",
|
|
31
|
-
"remotion": "3.3.
|
|
31
|
+
"remotion": "3.3.89"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@jonny/eslint-config": "3.0.266",
|
|
35
|
-
"@remotion/bundler": "3.3.
|
|
36
|
-
"@remotion/compositor-linux-arm64-musl": "3.3.
|
|
37
|
-
"@remotion/compositor-linux-x64-musl": "3.3.
|
|
35
|
+
"@remotion/bundler": "3.3.89",
|
|
36
|
+
"@remotion/compositor-linux-arm64-musl": "3.3.89",
|
|
37
|
+
"@remotion/compositor-linux-x64-musl": "3.3.89",
|
|
38
38
|
"@types/mime-types": "2.1.1",
|
|
39
39
|
"@types/minimist": "1.2.2",
|
|
40
40
|
"@types/node": "^14.14.14",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"zip-lib": "^0.7.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@remotion/bundler": "3.3.
|
|
51
|
+
"@remotion/bundler": "3.3.89"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|
package/remotionlambda-x64.zip
CHANGED
|
Binary file
|