@remotion/lambda 3.1.7 → 3.1.11
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/admin/make-layer-public.js +2 -2
- package/dist/api/render-still-on-lambda.d.ts +2 -2
- package/dist/api/upload-dir.js +5 -1
- package/dist/cli/helpers/format-bytes.d.ts +6 -0
- package/dist/cli/helpers/format-bytes.js +103 -0
- package/dist/functions/helpers/create-post-render-data.js +7 -1
- package/dist/functions/helpers/get-lambdas-invoked-stats.d.ts +7 -1
- package/dist/functions/helpers/get-lambdas-invoked-stats.js +10 -5
- package/dist/functions/helpers/get-progress.js +11 -5
- package/dist/functions/helpers/io.js +5 -1
- package/dist/functions/helpers/min-max.d.ts +1 -1
- package/dist/functions/helpers/min-max.js +1 -1
- package/dist/functions/launch.js +7 -1
- package/dist/shared/chunk.d.ts +1 -0
- package/dist/shared/chunk.js +11 -0
- package/dist/shared/constants.d.ts +3 -3
- package/dist/shared/constants.js +2 -2
- package/dist/shared/hosted-layers.js +60 -60
- package/dist/shared/validate-lambda-codec.d.ts +1 -1
- package/dist/shared/validate-lambda-codec.js +1 -0
- package/dist/shared/validate-privacy.js +2 -2
- package/package.json +6 -6
- package/remotionlambda.zip +0 -0
|
@@ -43,11 +43,11 @@ const makeLayerPublic = async () => {
|
|
|
43
43
|
const { Version, LayerArn } = await (0, aws_clients_1.getLambdaClient)(region).send(new client_lambda_1.PublishLayerVersionCommand({
|
|
44
44
|
Content: {
|
|
45
45
|
S3Bucket: 'remotionlambda-binaries-' + region,
|
|
46
|
-
S3Key: `remotion-layer-${layer}-
|
|
46
|
+
S3Key: `remotion-layer-${layer}-v7-${architecture}.zip`,
|
|
47
47
|
},
|
|
48
48
|
LayerName: layerName,
|
|
49
49
|
LicenseInfo: layer === 'chromium'
|
|
50
|
-
? 'Chromium
|
|
50
|
+
? 'Chromium 104, compiled from source. Read Chromium License: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/LICENSE'
|
|
51
51
|
: layer === 'ffmpeg'
|
|
52
52
|
? 'Compiled from FFMPEG source. Read FFMPEG license: https://ffmpeg.org/legal.html'
|
|
53
53
|
: 'Contains Noto Sans font. Read Noto Sans License: https://fonts.google.com/noto/specimen/Noto+Sans/about',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChromiumOptions, LogLevel, StillImageFormat } from '@remotion/renderer';
|
|
2
2
|
import type { AwsRegion } from '../pricing/aws-regions';
|
|
3
|
-
import type { CostsInfo, OutNameInput } from '../shared/constants';
|
|
3
|
+
import type { CostsInfo, OutNameInput, Privacy } from '../shared/constants';
|
|
4
4
|
import type { DownloadBehavior } from '../shared/content-disposition-header';
|
|
5
5
|
export declare type RenderStillOnLambdaInput = {
|
|
6
6
|
region: AwsRegion;
|
|
@@ -9,7 +9,7 @@ export declare type RenderStillOnLambdaInput = {
|
|
|
9
9
|
composition: string;
|
|
10
10
|
inputProps: unknown;
|
|
11
11
|
imageFormat: StillImageFormat;
|
|
12
|
-
privacy:
|
|
12
|
+
privacy: Privacy;
|
|
13
13
|
maxRetries?: number;
|
|
14
14
|
envVariables?: Record<string, string>;
|
|
15
15
|
quality?: number;
|
package/dist/api/upload-dir.js
CHANGED
|
@@ -42,7 +42,11 @@ const uploadDir = async ({ bucket, region, dir, onProgress, folder, privacy, })
|
|
|
42
42
|
const Key = (0, make_s3_key_1.makeS3Key)(folder, dir, filePath.name);
|
|
43
43
|
const Body = (0, fs_1.createReadStream)(filePath.name);
|
|
44
44
|
const ContentType = mime_types_1.default.lookup(Key) || 'application/octet-stream';
|
|
45
|
-
const ACL = privacy === '
|
|
45
|
+
const ACL = privacy === 'no-acl'
|
|
46
|
+
? undefined
|
|
47
|
+
: privacy === 'private'
|
|
48
|
+
? 'private'
|
|
49
|
+
: 'public-read';
|
|
46
50
|
if (filePath.size > 5 * 1024 * 1024) {
|
|
47
51
|
const paralellUploads3 = new lib_storage_1.Upload({
|
|
48
52
|
client,
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.formatBytes = void 0;
|
|
4
|
+
const BYTE_UNITS = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
|
|
5
|
+
const BIBYTE_UNITS = [
|
|
6
|
+
'B',
|
|
7
|
+
'kiB',
|
|
8
|
+
'MiB',
|
|
9
|
+
'GiB',
|
|
10
|
+
'TiB',
|
|
11
|
+
'PiB',
|
|
12
|
+
'EiB',
|
|
13
|
+
'ZiB',
|
|
14
|
+
'YiB',
|
|
15
|
+
];
|
|
16
|
+
const BIT_UNITS = [
|
|
17
|
+
'b',
|
|
18
|
+
'kbit',
|
|
19
|
+
'Mbit',
|
|
20
|
+
'Gbit',
|
|
21
|
+
'Tbit',
|
|
22
|
+
'Pbit',
|
|
23
|
+
'Ebit',
|
|
24
|
+
'Zbit',
|
|
25
|
+
'Ybit',
|
|
26
|
+
];
|
|
27
|
+
const BIBIT_UNITS = [
|
|
28
|
+
'b',
|
|
29
|
+
'kibit',
|
|
30
|
+
'Mibit',
|
|
31
|
+
'Gibit',
|
|
32
|
+
'Tibit',
|
|
33
|
+
'Pibit',
|
|
34
|
+
'Eibit',
|
|
35
|
+
'Zibit',
|
|
36
|
+
'Yibit',
|
|
37
|
+
];
|
|
38
|
+
/*
|
|
39
|
+
Formats the given number using `Number#toLocaleString`.
|
|
40
|
+
- If locale is a string, the value is expected to be a locale-key (for example: `de`).
|
|
41
|
+
- If locale is true, the system default locale is used for translation.
|
|
42
|
+
- If no value for locale is specified, the number is returned unmodified.
|
|
43
|
+
*/
|
|
44
|
+
const toLocaleString = (number, locale, options) => {
|
|
45
|
+
if (typeof locale === 'string' || Array.isArray(locale)) {
|
|
46
|
+
return number.toLocaleString(locale, options);
|
|
47
|
+
}
|
|
48
|
+
if (locale === true || options !== undefined) {
|
|
49
|
+
return number.toLocaleString(undefined, options);
|
|
50
|
+
}
|
|
51
|
+
return String(number);
|
|
52
|
+
};
|
|
53
|
+
const formatBytes = (number, options = {
|
|
54
|
+
locale: 'en-US',
|
|
55
|
+
signed: false,
|
|
56
|
+
maximumFractionDigits: 1,
|
|
57
|
+
}) => {
|
|
58
|
+
if (!Number.isFinite(number)) {
|
|
59
|
+
throw new TypeError(`Expected a finite number, got ${typeof number}: ${number}`);
|
|
60
|
+
}
|
|
61
|
+
options = { bits: false, binary: false, ...options };
|
|
62
|
+
const UNITS = options.bits
|
|
63
|
+
? options.binary
|
|
64
|
+
? BIBIT_UNITS
|
|
65
|
+
: BIT_UNITS
|
|
66
|
+
: options.binary
|
|
67
|
+
? BIBYTE_UNITS
|
|
68
|
+
: BYTE_UNITS;
|
|
69
|
+
if (options.signed && number === 0) {
|
|
70
|
+
return `0 $ {
|
|
71
|
+
UNITS[0]
|
|
72
|
+
}`;
|
|
73
|
+
}
|
|
74
|
+
const isNegative = number < 0;
|
|
75
|
+
const prefix = isNegative ? '-' : options.signed ? '+' : '';
|
|
76
|
+
if (isNegative) {
|
|
77
|
+
number = -number;
|
|
78
|
+
}
|
|
79
|
+
let localeOptions;
|
|
80
|
+
if (options.minimumFractionDigits !== undefined) {
|
|
81
|
+
localeOptions = {
|
|
82
|
+
minimumFractionDigits: options.minimumFractionDigits,
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
if (options.maximumFractionDigits !== undefined) {
|
|
86
|
+
localeOptions = {
|
|
87
|
+
maximumFractionDigits: options.maximumFractionDigits,
|
|
88
|
+
...localeOptions,
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
if (number < 1) {
|
|
92
|
+
const numString = toLocaleString(number, options.locale, localeOptions);
|
|
93
|
+
return prefix + numString + ' ' + UNITS[0];
|
|
94
|
+
}
|
|
95
|
+
const exponent = Math.min(Math.floor(options.binary
|
|
96
|
+
? Math.log(number) / Math.log(1024)
|
|
97
|
+
: Math.log10(number) / 3), UNITS.length - 1);
|
|
98
|
+
number /= (options.binary ? 1024 : 1000) ** exponent;
|
|
99
|
+
const numberString = toLocaleString(Number(number), options.locale, localeOptions);
|
|
100
|
+
const unit = UNITS[exponent];
|
|
101
|
+
return prefix + numberString + ' ' + unit;
|
|
102
|
+
};
|
|
103
|
+
exports.formatBytes = formatBytes;
|
|
@@ -41,7 +41,13 @@ const createPostRenderData = ({ renderId, region, memorySizeInMb, renderMetadata
|
|
|
41
41
|
const renderSize = contents
|
|
42
42
|
.map((c) => { var _a; return (_a = c.Size) !== null && _a !== void 0 ? _a : 0; })
|
|
43
43
|
.reduce((a, b) => a + b, 0);
|
|
44
|
-
const { timeToInvokeLambdas } = (0, get_lambdas_invoked_stats_1.getLambdasInvokedStats)(
|
|
44
|
+
const { timeToInvokeLambdas } = (0, get_lambdas_invoked_stats_1.getLambdasInvokedStats)({
|
|
45
|
+
contents,
|
|
46
|
+
renderId,
|
|
47
|
+
estimatedRenderLambdaInvokations: renderMetadata.estimatedRenderLambdaInvokations,
|
|
48
|
+
startDate: renderMetadata.startedDate,
|
|
49
|
+
checkIfAllLambdasWereInvoked: false,
|
|
50
|
+
});
|
|
45
51
|
const retriesInfo = (0, get_retry_stats_1.getRetryStats)({ contents, renderId });
|
|
46
52
|
if (timeToInvokeLambdas === null) {
|
|
47
53
|
throw new Error('should have timing for all lambdas');
|
|
@@ -3,4 +3,10 @@ export declare type LambdaInvokeStats = {
|
|
|
3
3
|
timeToInvokeLambdas: number | null;
|
|
4
4
|
lambdasInvoked: number;
|
|
5
5
|
};
|
|
6
|
-
export declare const getLambdasInvokedStats: (contents
|
|
6
|
+
export declare const getLambdasInvokedStats: ({ contents, renderId, estimatedRenderLambdaInvokations, startDate, checkIfAllLambdasWereInvoked, }: {
|
|
7
|
+
contents: _Object[];
|
|
8
|
+
renderId: string;
|
|
9
|
+
estimatedRenderLambdaInvokations: number | null;
|
|
10
|
+
startDate: number | null;
|
|
11
|
+
checkIfAllLambdasWereInvoked: boolean;
|
|
12
|
+
}) => LambdaInvokeStats;
|
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getLambdasInvokedStats = void 0;
|
|
4
4
|
const constants_1 = require("../../shared/constants");
|
|
5
|
+
const parse_lambda_initialized_key_1 = require("../../shared/parse-lambda-initialized-key");
|
|
5
6
|
const min_max_1 = require("./min-max");
|
|
6
|
-
const getLambdasInvokedStats = (contents, renderId, startDate) => {
|
|
7
|
-
|
|
8
|
-
const
|
|
7
|
+
const getLambdasInvokedStats = ({ contents, renderId, estimatedRenderLambdaInvokations, startDate, checkIfAllLambdasWereInvoked, }) => {
|
|
8
|
+
var _a;
|
|
9
|
+
const lambdasInvoked = contents
|
|
10
|
+
.filter((c) => { var _a; return (_a = c.Key) === null || _a === void 0 ? void 0 : _a.startsWith((0, constants_1.lambdaInitializedPrefix)(renderId)); })
|
|
11
|
+
.filter((c) => (0, parse_lambda_initialized_key_1.parseLambdaInitializedKey)(c.Key).attempt === 1);
|
|
12
|
+
const allLambdasInvoked = !checkIfAllLambdasWereInvoked ||
|
|
13
|
+
lambdasInvoked.length === estimatedRenderLambdaInvokations;
|
|
14
|
+
const timeToInvokeLambdas = !allLambdasInvoked || startDate === null
|
|
9
15
|
? null
|
|
10
|
-
: (0, min_max_1.max)(lambdasInvoked.map((l) => { var _a; return (_a = l.LastModified) === null || _a === void 0 ? void 0 : _a.getTime(); })) -
|
|
11
|
-
startDate;
|
|
16
|
+
: ((_a = (0, min_max_1.max)(lambdasInvoked.map((l) => { var _a; return (_a = l.LastModified) === null || _a === void 0 ? void 0 : _a.getTime(); }))) !== null && _a !== void 0 ? _a : 0) - startDate;
|
|
12
17
|
return {
|
|
13
18
|
timeToInvokeLambdas,
|
|
14
19
|
lambdasInvoked: lambdasInvoked.length,
|
|
@@ -23,7 +23,7 @@ const get_time_to_finish_1 = require("./get-time-to-finish");
|
|
|
23
23
|
const inspect_errors_1 = require("./inspect-errors");
|
|
24
24
|
const io_1 = require("./io");
|
|
25
25
|
const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region, memorySizeInMb, timeoutInMiliseconds, }) => {
|
|
26
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
26
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
27
27
|
const postRenderData = await (0, get_post_render_data_1.getPostRenderData)({
|
|
28
28
|
bucketName,
|
|
29
29
|
region,
|
|
@@ -135,7 +135,13 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
|
|
|
135
135
|
const renderSize = contents
|
|
136
136
|
.map((c) => { var _a; return (_a = c.Size) !== null && _a !== void 0 ? _a : 0; })
|
|
137
137
|
.reduce((a, b) => a + b, 0);
|
|
138
|
-
const lambdasInvokedStats = (0, get_lambdas_invoked_stats_1.getLambdasInvokedStats)(
|
|
138
|
+
const lambdasInvokedStats = (0, get_lambdas_invoked_stats_1.getLambdasInvokedStats)({
|
|
139
|
+
contents,
|
|
140
|
+
renderId,
|
|
141
|
+
estimatedRenderLambdaInvokations: (_g = renderMetadata === null || renderMetadata === void 0 ? void 0 : renderMetadata.estimatedRenderLambdaInvokations) !== null && _g !== void 0 ? _g : null,
|
|
142
|
+
startDate: (_h = renderMetadata === null || renderMetadata === void 0 ? void 0 : renderMetadata.startedDate) !== null && _h !== void 0 ? _h : null,
|
|
143
|
+
checkIfAllLambdasWereInvoked: true,
|
|
144
|
+
});
|
|
139
145
|
const retriesInfo = (0, get_retry_stats_1.getRetryStats)({
|
|
140
146
|
contents,
|
|
141
147
|
renderId,
|
|
@@ -147,7 +153,7 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
|
|
|
147
153
|
lambdaInvokeStatus: lambdasInvokedStats,
|
|
148
154
|
});
|
|
149
155
|
const chunkCount = outputFile
|
|
150
|
-
? (
|
|
156
|
+
? (_j = renderMetadata === null || renderMetadata === void 0 ? void 0 : renderMetadata.totalChunks) !== null && _j !== void 0 ? _j : 0
|
|
151
157
|
: chunks.length;
|
|
152
158
|
// We add a 20 second buffer for it, since AWS timeshifts can be quite a lot. Once it's 20sec over the limit, we consider it timed out
|
|
153
159
|
const isBeyondTimeout = renderMetadata &&
|
|
@@ -178,7 +184,7 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
|
|
|
178
184
|
renderId,
|
|
179
185
|
renderMetadata,
|
|
180
186
|
bucket: bucketName,
|
|
181
|
-
outputFile: (
|
|
187
|
+
outputFile: (_k = outputFile === null || outputFile === void 0 ? void 0 : outputFile.url) !== null && _k !== void 0 ? _k : null,
|
|
182
188
|
timeToFinish,
|
|
183
189
|
errors: allErrors,
|
|
184
190
|
fatalErrorEncountered: allErrors.some((f) => f.isFatal && !f.willRetry),
|
|
@@ -193,7 +199,7 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
|
|
|
193
199
|
type: 'absolute-time',
|
|
194
200
|
})
|
|
195
201
|
: null,
|
|
196
|
-
timeToInvokeLambdas: (
|
|
202
|
+
timeToInvokeLambdas: (_l = encodingStatus === null || encodingStatus === void 0 ? void 0 : encodingStatus.timeToInvoke) !== null && _l !== void 0 ? _l : lambdasInvokedStats.timeToInvokeLambdas,
|
|
197
203
|
overallProgress: (0, get_overall_progress_1.getOverallProgress)({
|
|
198
204
|
cleanup: cleanup ? cleanup.filesDeleted / cleanup.minFilesToDelete : 0,
|
|
199
205
|
encoding: finalEncodingStatus && renderMetadata
|
|
@@ -52,7 +52,11 @@ const lambdaWriteFile = async ({ bucketName, key, body, region, privacy, expecte
|
|
|
52
52
|
Bucket: bucketName,
|
|
53
53
|
Key: key,
|
|
54
54
|
Body: body,
|
|
55
|
-
ACL: privacy === '
|
|
55
|
+
ACL: privacy === 'no-acl'
|
|
56
|
+
? undefined
|
|
57
|
+
: privacy === 'private'
|
|
58
|
+
? 'private'
|
|
59
|
+
: 'public-read',
|
|
56
60
|
ExpectedBucketOwner: expectedBucketOwner !== null && expectedBucketOwner !== void 0 ? expectedBucketOwner : undefined,
|
|
57
61
|
ContentType: mime_types_1.default.lookup(key) || 'application/octet-stream',
|
|
58
62
|
ContentDisposition: (0, content_disposition_header_1.getContentDispositionHeader)(downloadBehavior),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const min: (arr: number[]) => number;
|
|
2
|
-
export declare const max: (arr: number[]) => number;
|
|
2
|
+
export declare const max: (arr: number[]) => number | null;
|
package/dist/functions/launch.js
CHANGED
|
@@ -295,7 +295,13 @@ const innerLaunchHandler = async (params, options) => {
|
|
|
295
295
|
framesEncoded: frameCount.length,
|
|
296
296
|
totalFrames: frameCount.length,
|
|
297
297
|
doneIn: encodingStop ? encodingStop - encodingStart : null,
|
|
298
|
-
timeToInvoke: (0, get_lambdas_invoked_stats_1.getLambdasInvokedStats)(
|
|
298
|
+
timeToInvoke: (0, get_lambdas_invoked_stats_1.getLambdasInvokedStats)({
|
|
299
|
+
contents,
|
|
300
|
+
renderId: params.renderId,
|
|
301
|
+
estimatedRenderLambdaInvokations: renderMetadata.estimatedRenderLambdaInvokations,
|
|
302
|
+
checkIfAllLambdasWereInvoked: false,
|
|
303
|
+
startDate: renderMetadata.startedDate,
|
|
304
|
+
}).timeToInvokeLambdas,
|
|
299
305
|
};
|
|
300
306
|
const finalEncodingProgressProm = (0, io_1.lambdaWriteFile)({
|
|
301
307
|
bucketName: params.bucketName,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const chunk: <T>(input: T[], size: number) => T[][];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.chunk = void 0;
|
|
4
|
+
const chunk = (input, size) => {
|
|
5
|
+
return input.reduce((arr, item, idx) => {
|
|
6
|
+
return idx % size === 0
|
|
7
|
+
? [...arr, [item]]
|
|
8
|
+
: [...arr.slice(0, -1), [...arr.slice(-1)[0], item]];
|
|
9
|
+
}, []);
|
|
10
|
+
};
|
|
11
|
+
exports.chunk = chunk;
|
|
@@ -21,7 +21,7 @@ export declare const COMMAND_NOT_FOUND = "Command not found";
|
|
|
21
21
|
export declare const DEFAULT_REGION: AwsRegion;
|
|
22
22
|
export declare const DEFAULT_MAX_RETRIES = 1;
|
|
23
23
|
export declare const MAX_FUNCTIONS_PER_RENDER = 200;
|
|
24
|
-
export declare const DEFAULT_EPHEMERAL_STORAGE_IN_MB =
|
|
24
|
+
export declare const DEFAULT_EPHEMERAL_STORAGE_IN_MB = 2048;
|
|
25
25
|
export declare const MIN_EPHEMERAL_STORAGE_IN_MB = 512;
|
|
26
26
|
export declare const MAX_EPHEMERAL_STORAGE_IN_MB = 10240;
|
|
27
27
|
export declare const DEFAULT_OUTPUT_PRIVACY: Privacy;
|
|
@@ -224,7 +224,7 @@ export declare type RenderMetadata = {
|
|
|
224
224
|
renderId: string;
|
|
225
225
|
outName: OutNameInput | undefined;
|
|
226
226
|
};
|
|
227
|
-
export declare type LambdaVersions = '2022-07-27' | '2022-07-25' | '2022-07-23' | '2022-07-20' | '2022-07-18' | '2022-07-15' | '2022-07-14' | '2022-07-12' | '2022-07-10' | '2022-07-09' | '2022-07-08' | '2022-07-04' | '2022-06-30' | '2022-06-29' | '2022-06-25' | '2022-06-22' | '2022-06-21' | '2022-06-14' | '2022-06-08' | '2022-06-07' | '2022-06-02' | '2022-05-31' | '2022-05-28' | '2022-05-27' | '2022-05-19' | '2022-05-16' | '2022-05-11' | '2022-05-07' | '2022-05-06' | '2022-05-03' | '2022-04-20' | '2022-04-19' | '2022-04-18' | '2022-04-09' | '2022-04-08' | '2022-04-05' | '2022-04-02' | '2022-03-29' | '2022-03-17' | '2022-03-02' | '2022-03-01' | '2022-02-27' | '2022-02-14' | '2022-02-12' | '2022-02-09' | '2022-02-08' | '2022-02-07' | '2022-02-06' | '2022-02-05' | '2022-02-04' | '2022-02-03' | '2022-01-23' | '2022-01-19' | '2022-01-11' | '2022-01-10' | '2022-01-09' | '2022-01-06' | '2022-01-05' | '2021-12-22' | '2021-12-17' | '2021-12-16' | '2021-12-15' | '2021-12-14' | '2021-12-13' | '2021-12-11' | '2021-12-10' | '2021-12-04' | '2021-11-29' | '2021-11-27' | '2021-11-24' | '2021-11-22' | '2021-11-19' | '2021-11-18' | '2021-11-15' | '2021-11-12' | '2021-11-10' | '2021-11-01' | '2021-10-29' | '2021-10-27' | '2021-10-21' | '2021-10-19' | '2021-10-07' | '2021-10-03' | '2021-10-01' | '2021-09-15' | '2021-09-06' | '2021-08-06' | '2021-07-14' | '2021-07-05' | '2021-07-02' | '2021-06-23' | 'n/a';
|
|
227
|
+
export declare type LambdaVersions = '2022-08-04' | '2022-08-02' | '2022-08-01' | '2022-07-28' | '2022-07-27' | '2022-07-25' | '2022-07-23' | '2022-07-20' | '2022-07-18' | '2022-07-15' | '2022-07-14' | '2022-07-12' | '2022-07-10' | '2022-07-09' | '2022-07-08' | '2022-07-04' | '2022-06-30' | '2022-06-29' | '2022-06-25' | '2022-06-22' | '2022-06-21' | '2022-06-14' | '2022-06-08' | '2022-06-07' | '2022-06-02' | '2022-05-31' | '2022-05-28' | '2022-05-27' | '2022-05-19' | '2022-05-16' | '2022-05-11' | '2022-05-07' | '2022-05-06' | '2022-05-03' | '2022-04-20' | '2022-04-19' | '2022-04-18' | '2022-04-09' | '2022-04-08' | '2022-04-05' | '2022-04-02' | '2022-03-29' | '2022-03-17' | '2022-03-02' | '2022-03-01' | '2022-02-27' | '2022-02-14' | '2022-02-12' | '2022-02-09' | '2022-02-08' | '2022-02-07' | '2022-02-06' | '2022-02-05' | '2022-02-04' | '2022-02-03' | '2022-01-23' | '2022-01-19' | '2022-01-11' | '2022-01-10' | '2022-01-09' | '2022-01-06' | '2022-01-05' | '2021-12-22' | '2021-12-17' | '2021-12-16' | '2021-12-15' | '2021-12-14' | '2021-12-13' | '2021-12-11' | '2021-12-10' | '2021-12-04' | '2021-11-29' | '2021-11-27' | '2021-11-24' | '2021-11-22' | '2021-11-19' | '2021-11-18' | '2021-11-15' | '2021-11-12' | '2021-11-10' | '2021-11-01' | '2021-10-29' | '2021-10-27' | '2021-10-21' | '2021-10-19' | '2021-10-07' | '2021-10-03' | '2021-10-01' | '2021-09-15' | '2021-09-06' | '2021-08-06' | '2021-07-14' | '2021-07-05' | '2021-07-02' | '2021-06-23' | 'n/a';
|
|
228
228
|
export declare const CURRENT_VERSION: LambdaVersions;
|
|
229
229
|
export declare type PostRenderData = {
|
|
230
230
|
cost: {
|
|
@@ -284,6 +284,6 @@ export declare type RenderProgress = {
|
|
|
284
284
|
retriesInfo: ChunkRetry[];
|
|
285
285
|
mostExpensiveFrameRanges: ExpensiveChunk[] | null;
|
|
286
286
|
};
|
|
287
|
-
export declare type Privacy = 'public' | 'private';
|
|
287
|
+
export declare type Privacy = 'public' | 'private' | 'no-acl';
|
|
288
288
|
export declare const LAMBDA_CONCURRENCY_LIMIT_QUOTA = "L-B99A9384";
|
|
289
289
|
export declare const LAMBDA_BURST_LIMIT_QUOTA = "L-548AE339";
|
package/dist/shared/constants.js
CHANGED
|
@@ -15,7 +15,7 @@ exports.COMMAND_NOT_FOUND = 'Command not found';
|
|
|
15
15
|
exports.DEFAULT_REGION = 'us-east-1';
|
|
16
16
|
exports.DEFAULT_MAX_RETRIES = 1;
|
|
17
17
|
exports.MAX_FUNCTIONS_PER_RENDER = 200;
|
|
18
|
-
exports.DEFAULT_EPHEMERAL_STORAGE_IN_MB =
|
|
18
|
+
exports.DEFAULT_EPHEMERAL_STORAGE_IN_MB = 2048;
|
|
19
19
|
exports.MIN_EPHEMERAL_STORAGE_IN_MB = 512;
|
|
20
20
|
exports.MAX_EPHEMERAL_STORAGE_IN_MB = 10240;
|
|
21
21
|
exports.DEFAULT_OUTPUT_PRIVACY = 'public';
|
|
@@ -84,6 +84,6 @@ var LambdaRoutines;
|
|
|
84
84
|
LambdaRoutines["renderer"] = "renderer";
|
|
85
85
|
LambdaRoutines["still"] = "still";
|
|
86
86
|
})(LambdaRoutines = exports.LambdaRoutines || (exports.LambdaRoutines = {}));
|
|
87
|
-
exports.CURRENT_VERSION = '2022-
|
|
87
|
+
exports.CURRENT_VERSION = '2022-08-04';
|
|
88
88
|
exports.LAMBDA_CONCURRENCY_LIMIT_QUOTA = 'L-B99A9384';
|
|
89
89
|
exports.LAMBDA_BURST_LIMIT_QUOTA = 'L-548AE339';
|
|
@@ -7,141 +7,141 @@ exports.hostedLayers = {
|
|
|
7
7
|
'ap-northeast-1': [
|
|
8
8
|
{
|
|
9
9
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
10
|
-
version:
|
|
10
|
+
version: 2,
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
14
|
-
version:
|
|
14
|
+
version: 6,
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
18
|
-
version:
|
|
18
|
+
version: 6,
|
|
19
19
|
},
|
|
20
20
|
],
|
|
21
21
|
'ap-south-1': [
|
|
22
22
|
{
|
|
23
23
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
24
|
-
version:
|
|
24
|
+
version: 2,
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
28
|
-
version:
|
|
28
|
+
version: 6,
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
32
|
-
version:
|
|
32
|
+
version: 6,
|
|
33
33
|
},
|
|
34
34
|
],
|
|
35
35
|
'ap-southeast-1': [
|
|
36
36
|
{
|
|
37
37
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
38
|
-
version:
|
|
38
|
+
version: 2,
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
42
|
-
version:
|
|
42
|
+
version: 6,
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
46
|
-
version:
|
|
46
|
+
version: 6,
|
|
47
47
|
},
|
|
48
48
|
],
|
|
49
49
|
'ap-southeast-2': [
|
|
50
50
|
{
|
|
51
51
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
52
|
-
version:
|
|
52
|
+
version: 2,
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
56
|
-
version:
|
|
56
|
+
version: 6,
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
60
|
-
version:
|
|
60
|
+
version: 6,
|
|
61
61
|
},
|
|
62
62
|
],
|
|
63
63
|
'eu-central-1': [
|
|
64
64
|
{
|
|
65
65
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
66
|
-
version:
|
|
66
|
+
version: 2,
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
70
|
-
version:
|
|
70
|
+
version: 6,
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
74
|
-
version:
|
|
74
|
+
version: 6,
|
|
75
75
|
},
|
|
76
76
|
],
|
|
77
77
|
'eu-west-1': [
|
|
78
78
|
{
|
|
79
79
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
80
|
-
version:
|
|
80
|
+
version: 2,
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
84
|
-
version:
|
|
84
|
+
version: 6,
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
88
|
-
version:
|
|
88
|
+
version: 6,
|
|
89
89
|
},
|
|
90
90
|
],
|
|
91
91
|
'eu-west-2': [
|
|
92
92
|
{
|
|
93
93
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
94
|
-
version:
|
|
94
|
+
version: 2,
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
98
|
-
version:
|
|
98
|
+
version: 6,
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
102
|
-
version:
|
|
102
|
+
version: 6,
|
|
103
103
|
},
|
|
104
104
|
],
|
|
105
105
|
'us-east-1': [
|
|
106
106
|
{
|
|
107
107
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
108
|
-
version:
|
|
108
|
+
version: 2,
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
112
|
-
version:
|
|
112
|
+
version: 10,
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
116
|
-
version:
|
|
116
|
+
version: 10,
|
|
117
117
|
},
|
|
118
118
|
],
|
|
119
119
|
'us-east-2': [
|
|
120
120
|
{
|
|
121
121
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
122
|
-
version:
|
|
122
|
+
version: 2,
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
126
|
-
version:
|
|
126
|
+
version: 6,
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
130
|
-
version:
|
|
130
|
+
version: 6,
|
|
131
131
|
},
|
|
132
132
|
],
|
|
133
133
|
'us-west-2': [
|
|
134
134
|
{
|
|
135
135
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
136
|
-
version:
|
|
136
|
+
version: 2,
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
140
|
-
version:
|
|
140
|
+
version: 6,
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
144
|
-
version:
|
|
144
|
+
version: 6,
|
|
145
145
|
},
|
|
146
146
|
],
|
|
147
147
|
},
|
|
@@ -149,141 +149,141 @@ exports.hostedLayers = {
|
|
|
149
149
|
'ap-northeast-1': [
|
|
150
150
|
{
|
|
151
151
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
152
|
-
version:
|
|
152
|
+
version: 2,
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
156
|
-
version:
|
|
156
|
+
version: 6,
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
160
|
-
version:
|
|
160
|
+
version: 6,
|
|
161
161
|
},
|
|
162
162
|
],
|
|
163
163
|
'ap-south-1': [
|
|
164
164
|
{
|
|
165
165
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
166
|
-
version:
|
|
166
|
+
version: 2,
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
170
|
-
version:
|
|
170
|
+
version: 6,
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
174
|
-
version:
|
|
174
|
+
version: 6,
|
|
175
175
|
},
|
|
176
176
|
],
|
|
177
177
|
'ap-southeast-1': [
|
|
178
178
|
{
|
|
179
179
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
180
|
-
version:
|
|
180
|
+
version: 2,
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
184
|
-
version:
|
|
184
|
+
version: 6,
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
188
|
-
version:
|
|
188
|
+
version: 6,
|
|
189
189
|
},
|
|
190
190
|
],
|
|
191
191
|
'ap-southeast-2': [
|
|
192
192
|
{
|
|
193
193
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
194
|
-
version:
|
|
194
|
+
version: 2,
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
198
|
-
version:
|
|
198
|
+
version: 6,
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
202
|
-
version:
|
|
202
|
+
version: 6,
|
|
203
203
|
},
|
|
204
204
|
],
|
|
205
205
|
'eu-central-1': [
|
|
206
206
|
{
|
|
207
207
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
208
|
-
version:
|
|
208
|
+
version: 2,
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
212
|
-
version:
|
|
212
|
+
version: 6,
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
216
|
-
version:
|
|
216
|
+
version: 6,
|
|
217
217
|
},
|
|
218
218
|
],
|
|
219
219
|
'eu-west-1': [
|
|
220
220
|
{
|
|
221
221
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
222
|
-
version:
|
|
222
|
+
version: 2,
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
226
|
-
version:
|
|
226
|
+
version: 6,
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
230
|
-
version:
|
|
230
|
+
version: 6,
|
|
231
231
|
},
|
|
232
232
|
],
|
|
233
233
|
'eu-west-2': [
|
|
234
234
|
{
|
|
235
235
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
236
|
-
version:
|
|
236
|
+
version: 2,
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
240
|
-
version:
|
|
240
|
+
version: 6,
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
244
|
-
version:
|
|
244
|
+
version: 6,
|
|
245
245
|
},
|
|
246
246
|
],
|
|
247
247
|
'us-east-1': [
|
|
248
248
|
{
|
|
249
249
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
250
|
-
version:
|
|
250
|
+
version: 2,
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
254
|
-
version:
|
|
254
|
+
version: 10,
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
258
|
-
version:
|
|
258
|
+
version: 10,
|
|
259
259
|
},
|
|
260
260
|
],
|
|
261
261
|
'us-east-2': [
|
|
262
262
|
{
|
|
263
263
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
264
|
-
version:
|
|
264
|
+
version: 2,
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
268
|
-
version:
|
|
268
|
+
version: 6,
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
272
|
-
version:
|
|
272
|
+
version: 6,
|
|
273
273
|
},
|
|
274
274
|
],
|
|
275
275
|
'us-west-2': [
|
|
276
276
|
{
|
|
277
277
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
278
|
-
version:
|
|
278
|
+
version: 2,
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
282
|
-
version:
|
|
282
|
+
version: 6,
|
|
283
283
|
},
|
|
284
284
|
{
|
|
285
285
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
286
|
-
version:
|
|
286
|
+
version: 6,
|
|
287
287
|
},
|
|
288
288
|
],
|
|
289
289
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const lambdaCodecs: readonly ["h264-mkv", "h264", "vp8", "mp3", "aac", "wav", "gif"];
|
|
1
|
+
declare const lambdaCodecs: readonly ["h264-mkv", "h264", "vp8", "mp3", "aac", "wav", "gif", "prores"];
|
|
2
2
|
export declare type LambdaCodec = typeof lambdaCodecs[number];
|
|
3
3
|
export declare const validateLambdaCodec: (codec: unknown) => LambdaCodec;
|
|
4
4
|
export {};
|
|
@@ -5,8 +5,8 @@ function validatePrivacy(privacy) {
|
|
|
5
5
|
if (typeof privacy !== 'string') {
|
|
6
6
|
throw new TypeError('Privacy must be a string');
|
|
7
7
|
}
|
|
8
|
-
if (privacy !== 'private' && privacy !== 'public') {
|
|
9
|
-
throw new TypeError('Privacy must be either "private"
|
|
8
|
+
if (privacy !== 'private' && privacy !== 'public' && privacy !== 'no-acl') {
|
|
9
|
+
throw new TypeError('Privacy must be either "private", "public-read" 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.1.
|
|
3
|
+
"version": "3.1.11",
|
|
4
4
|
"description": "Distributed renderer for Remotion based on AWS Lambda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/client-service-quotas": "3.58.0",
|
|
33
33
|
"@aws-sdk/lib-storage": "3.58.0",
|
|
34
34
|
"@aws-sdk/s3-request-presigner": "3.58.0",
|
|
35
|
-
"@remotion/bundler": "3.1.
|
|
36
|
-
"@remotion/cli": "3.1.
|
|
37
|
-
"@remotion/renderer": "3.1.
|
|
35
|
+
"@remotion/bundler": "3.1.11",
|
|
36
|
+
"@remotion/cli": "3.1.11",
|
|
37
|
+
"@remotion/renderer": "3.1.11",
|
|
38
38
|
"aws-policies": "^1.0.1",
|
|
39
39
|
"mime-types": "2.1.34",
|
|
40
|
-
"remotion": "3.1.
|
|
40
|
+
"remotion": "3.1.11"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=16.8.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "bc4184c9faf944a3bac2fd56bdf990cc74e3ec94"
|
|
66
66
|
}
|
package/remotionlambda.zip
CHANGED
|
Binary file
|