@remotion/lambda 3.3.56 → 3.3.59

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.
@@ -41,7 +41,7 @@ const createFunction = async ({ createCloudWatchLogGroup, region, zipFile, funct
41
41
  Description: 'Renders a Remotion video.',
42
42
  MemorySize: memorySizeInMb,
43
43
  Timeout: timeoutInSeconds,
44
- Layers: hosted_layers_1.hostedLayers[architecture][region].map(({ layerArn, version }) => `${layerArn}:${version}`),
44
+ Layers: hosted_layers_1.__internal_doNotUsehostedLayers[architecture][region].map(({ layerArn, version }) => `${layerArn}:${version}`),
45
45
  Architectures: [architecture],
46
46
  EphemeralStorage: {
47
47
  Size: ephemerealStorageInMb,
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deploySite = void 0;
4
+ const fs_1 = require("fs");
4
5
  const io_1 = require("../functions/helpers/io");
5
6
  const bundle_site_1 = require("../shared/bundle-site");
6
7
  const constants_1 = require("../shared/constants");
@@ -82,6 +83,9 @@ const deploySite = async ({ bucketName, entryPoint, siteName, options, region, }
82
83
  });
83
84
  })),
84
85
  ]);
86
+ if (!process.env.VITEST) {
87
+ (0, fs_1.rmdirSync)(bundled, { recursive: true });
88
+ }
85
89
  return {
86
90
  serveUrl: (0, make_s3_url_1.makeS3ServeUrl)({ bucketName, subFolder, region }),
87
91
  siteName: siteId,
@@ -3,5 +3,8 @@ export declare const planFrameRanges: ({ framesPerLambda, frameRange, everyNthFr
3
3
  frameRange: [number, number];
4
4
  everyNthFrame: number;
5
5
  }) => {
6
- chunks: [number, number][];
6
+ chunks: [
7
+ number,
8
+ number
9
+ ][];
7
10
  };
@@ -50,6 +50,7 @@ const compositionsHandler = async (lambdaParams, options) => {
50
50
  port: null,
51
51
  downloadMap,
52
52
  });
53
+ renderer_1.RenderInternals.cleanDownloadMap(downloadMap);
53
54
  return Promise.resolve({
54
55
  compositions,
55
56
  });
@@ -471,6 +471,7 @@ const innerLaunchHandler = async (params, options) => {
471
471
  region: (0, get_current_region_1.getCurrentRegionInFunction)(),
472
472
  customCredentials: null,
473
473
  });
474
+ renderer_1.RenderInternals.cleanDownloadMap(downloadMap);
474
475
  await Promise.all([cleanupChunksProm, fs_1.default.promises.rm(outfile)]);
475
476
  clearTimeout(webhookDueToTimeout);
476
477
  if (params.webhook && !webhookInvoked) {
@@ -143,7 +143,9 @@ const renderHandler = async (params, options, logs) => {
143
143
  port: null,
144
144
  everyNthFrame: params.everyNthFrame,
145
145
  numberOfGifLoops: null,
146
- downloadMap,
146
+ internal: {
147
+ downloadMap,
148
+ },
147
149
  muted: params.muted,
148
150
  enforceAudioTrack: true,
149
151
  audioBitrate: params.audioBitrate,
@@ -201,6 +203,7 @@ const renderHandler = async (params, options, logs) => {
201
203
  downloadBehavior: null,
202
204
  customCredentials: null,
203
205
  }),
206
+ renderer_1.RenderInternals.cleanDownloadMap(downloadMap),
204
207
  ]);
205
208
  };
206
209
  const rendererHandler = async (params, options) => {
@@ -166,6 +166,7 @@ const innerStillHandler = async (lambdaParams, renderId, options) => {
166
166
  // overestimate the price, but will only have a miniscule effect (~0.2%)
167
167
  diskSizeInMb: constants_1.MAX_EPHEMERAL_STORAGE_IN_MB,
168
168
  });
169
+ renderer_1.RenderInternals.cleanDownloadMap(downloadMap);
169
170
  return {
170
171
  output: (0, get_output_url_from_metadata_1.getOutputUrlFromMetadata)(renderMetadata, bucketName, customCredentials),
171
172
  size,
@@ -9,4 +9,90 @@ export declare type HostedLayers = {
9
9
  }[];
10
10
  };
11
11
  };
12
- export declare const hostedLayers: HostedLayers;
12
+ export declare const hostedLayers: {
13
+ 'ap-northeast-1': {
14
+ layerArn: string;
15
+ version: number;
16
+ }[];
17
+ 'ap-south-1': {
18
+ layerArn: string;
19
+ version: number;
20
+ }[];
21
+ 'ap-southeast-1': {
22
+ layerArn: string;
23
+ version: number;
24
+ }[];
25
+ 'ap-southeast-2': {
26
+ layerArn: string;
27
+ version: number;
28
+ }[];
29
+ 'eu-central-1': {
30
+ layerArn: string;
31
+ version: number;
32
+ }[];
33
+ 'eu-west-1': {
34
+ layerArn: string;
35
+ version: number;
36
+ }[];
37
+ 'eu-west-2': {
38
+ layerArn: string;
39
+ version: number;
40
+ }[];
41
+ 'us-east-1': {
42
+ layerArn: string;
43
+ version: number;
44
+ }[];
45
+ 'us-east-2': {
46
+ layerArn: string;
47
+ version: number;
48
+ }[];
49
+ 'us-west-2': {
50
+ layerArn: string;
51
+ version: number;
52
+ }[];
53
+ 'af-south-1': {
54
+ layerArn: string;
55
+ version: number;
56
+ }[];
57
+ 'ap-east-1': {
58
+ layerArn: string;
59
+ version: number;
60
+ }[];
61
+ 'ap-northeast-2': {
62
+ layerArn: string;
63
+ version: number;
64
+ }[];
65
+ 'ap-northeast-3': {
66
+ layerArn: string;
67
+ version: number;
68
+ }[];
69
+ 'ca-central-1': {
70
+ layerArn: string;
71
+ version: number;
72
+ }[];
73
+ 'eu-north-1': {
74
+ layerArn: string;
75
+ version: number;
76
+ }[];
77
+ 'eu-south-1': {
78
+ layerArn: string;
79
+ version: number;
80
+ }[];
81
+ 'eu-west-3': {
82
+ layerArn: string;
83
+ version: number;
84
+ }[];
85
+ 'me-south-1': {
86
+ layerArn: string;
87
+ version: number;
88
+ }[];
89
+ 'sa-east-1': {
90
+ layerArn: string;
91
+ version: number;
92
+ }[];
93
+ 'us-west-1': {
94
+ layerArn: string;
95
+ version: number;
96
+ }[];
97
+ };
98
+ export declare const __internal_doNotUsehostedLayers: HostedLayers;
@@ -1,304 +1,305 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.hostedLayers = exports.REMOTION_HOSTED_LAYER_ARN = void 0;
3
+ exports.__internal_doNotUsehostedLayers = exports.hostedLayers = exports.REMOTION_HOSTED_LAYER_ARN = void 0;
4
4
  exports.REMOTION_HOSTED_LAYER_ARN = `arn:aws:lambda:*:678892195805:layer:remotion-binaries-*`;
5
5
  exports.hostedLayers = {
6
- arm64: {
7
- 'ap-northeast-1': [
8
- {
9
- layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
10
- version: 4,
11
- },
12
- {
13
- layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
14
- version: 8,
15
- },
16
- {
17
- layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
18
- version: 8,
19
- },
20
- ],
21
- 'ap-south-1': [
22
- {
23
- layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
24
- version: 4,
25
- },
26
- {
27
- layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
28
- version: 8,
29
- },
30
- {
31
- layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
32
- version: 8,
33
- },
34
- ],
35
- 'ap-southeast-1': [
36
- {
37
- layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
38
- version: 4,
39
- },
40
- {
41
- layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
42
- version: 8,
43
- },
44
- {
45
- layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
46
- version: 8,
47
- },
48
- ],
49
- 'ap-southeast-2': [
50
- {
51
- layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-fonts-arm64',
52
- version: 4,
53
- },
54
- {
55
- layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
56
- version: 8,
57
- },
58
- {
59
- layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-arm64',
60
- version: 8,
61
- },
62
- ],
63
- 'eu-central-1': [
64
- {
65
- layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-fonts-arm64',
66
- version: 4,
67
- },
68
- {
69
- layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
70
- version: 8,
71
- },
72
- {
73
- layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-arm64',
74
- version: 8,
75
- },
76
- ],
77
- 'eu-west-1': [
78
- {
79
- layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-fonts-arm64',
80
- version: 4,
81
- },
82
- {
83
- layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
84
- version: 8,
85
- },
86
- {
87
- layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-arm64',
88
- version: 8,
89
- },
90
- ],
91
- 'eu-west-2': [
92
- {
93
- layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
94
- version: 4,
95
- },
96
- {
97
- layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
98
- version: 8,
99
- },
100
- {
101
- layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
102
- version: 8,
103
- },
104
- ],
105
- 'us-east-1': [
106
- {
107
- layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
108
- version: 9,
109
- },
110
- {
111
- layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
112
- version: 17,
113
- },
114
- {
115
- layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
116
- version: 17,
117
- },
118
- ],
119
- 'us-east-2': [
120
- {
121
- layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-fonts-arm64',
122
- version: 4,
123
- },
124
- {
125
- layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
126
- version: 8,
127
- },
128
- {
129
- layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-arm64',
130
- version: 8,
131
- },
132
- ],
133
- 'us-west-2': [
134
- {
135
- layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
136
- version: 4,
137
- },
138
- {
139
- layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
140
- version: 8,
141
- },
142
- {
143
- layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
144
- version: 8,
145
- },
146
- ],
147
- 'af-south-1': [
148
- {
149
- layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
150
- version: 1,
151
- },
152
- {
153
- layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
154
- version: 1,
155
- },
156
- {
157
- layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
158
- version: 1,
159
- },
160
- ],
161
- 'ap-east-1': [
162
- {
163
- layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
164
- version: 1,
165
- },
166
- {
167
- layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
168
- version: 1,
169
- },
170
- {
171
- layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
172
- version: 1,
173
- },
174
- ],
175
- 'ap-northeast-2': [
176
- {
177
- layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-fonts-arm64',
178
- version: 1,
179
- },
180
- {
181
- layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
182
- version: 1,
183
- },
184
- {
185
- layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-chromium-arm64',
186
- version: 1,
187
- },
188
- ],
189
- 'ap-northeast-3': [
190
- {
191
- layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-fonts-arm64',
192
- version: 1,
193
- },
194
- {
195
- layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-ffmpeg-arm64',
196
- version: 1,
197
- },
198
- {
199
- layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-chromium-arm64',
200
- version: 1,
201
- },
202
- ],
203
- 'ca-central-1': [
204
- {
205
- layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-fonts-arm64',
206
- version: 1,
207
- },
208
- {
209
- layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
210
- version: 1,
211
- },
212
- {
213
- layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-chromium-arm64',
214
- version: 1,
215
- },
216
- ],
217
- 'eu-north-1': [
218
- {
219
- layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-fonts-arm64',
220
- version: 1,
221
- },
222
- {
223
- layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
224
- version: 1,
225
- },
226
- {
227
- layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-chromium-arm64',
228
- version: 1,
229
- },
230
- ],
231
- 'eu-south-1': [
232
- {
233
- layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
234
- version: 1,
235
- },
236
- {
237
- layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
238
- version: 1,
239
- },
240
- {
241
- layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
242
- version: 1,
243
- },
244
- ],
245
- 'eu-west-3': [
246
- {
247
- layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-fonts-arm64',
248
- version: 1,
249
- },
250
- {
251
- layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-ffmpeg-arm64',
252
- version: 1,
253
- },
254
- {
255
- layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-chromium-arm64',
256
- version: 1,
257
- },
258
- ],
259
- 'me-south-1': [
260
- {
261
- layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
262
- version: 1,
263
- },
264
- {
265
- layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
266
- version: 1,
267
- },
268
- {
269
- layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
270
- version: 1,
271
- },
272
- ],
273
- 'sa-east-1': [
274
- {
275
- layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
276
- version: 1,
277
- },
278
- {
279
- layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
280
- version: 1,
281
- },
282
- {
283
- layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
284
- version: 1,
285
- },
286
- ],
287
- 'us-west-1': [
288
- {
289
- layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-fonts-arm64',
290
- version: 1,
291
- },
292
- {
293
- layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
294
- version: 1,
295
- },
296
- {
297
- layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-chromium-arm64',
298
- version: 1,
299
- },
300
- ],
301
- },
6
+ 'ap-northeast-1': [
7
+ {
8
+ layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
9
+ version: 4,
10
+ },
11
+ {
12
+ layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
13
+ version: 8,
14
+ },
15
+ {
16
+ layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
17
+ version: 8,
18
+ },
19
+ ],
20
+ 'ap-south-1': [
21
+ {
22
+ layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
23
+ version: 4,
24
+ },
25
+ {
26
+ layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
27
+ version: 8,
28
+ },
29
+ {
30
+ layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
31
+ version: 8,
32
+ },
33
+ ],
34
+ 'ap-southeast-1': [
35
+ {
36
+ layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
37
+ version: 4,
38
+ },
39
+ {
40
+ layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
41
+ version: 8,
42
+ },
43
+ {
44
+ layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
45
+ version: 8,
46
+ },
47
+ ],
48
+ 'ap-southeast-2': [
49
+ {
50
+ layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-fonts-arm64',
51
+ version: 4,
52
+ },
53
+ {
54
+ layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
55
+ version: 8,
56
+ },
57
+ {
58
+ layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-arm64',
59
+ version: 8,
60
+ },
61
+ ],
62
+ 'eu-central-1': [
63
+ {
64
+ layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-fonts-arm64',
65
+ version: 4,
66
+ },
67
+ {
68
+ layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
69
+ version: 8,
70
+ },
71
+ {
72
+ layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-arm64',
73
+ version: 8,
74
+ },
75
+ ],
76
+ 'eu-west-1': [
77
+ {
78
+ layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-fonts-arm64',
79
+ version: 4,
80
+ },
81
+ {
82
+ layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
83
+ version: 8,
84
+ },
85
+ {
86
+ layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-arm64',
87
+ version: 8,
88
+ },
89
+ ],
90
+ 'eu-west-2': [
91
+ {
92
+ layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
93
+ version: 4,
94
+ },
95
+ {
96
+ layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
97
+ version: 8,
98
+ },
99
+ {
100
+ layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
101
+ version: 8,
102
+ },
103
+ ],
104
+ 'us-east-1': [
105
+ {
106
+ layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
107
+ version: 9,
108
+ },
109
+ {
110
+ layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
111
+ version: 17,
112
+ },
113
+ {
114
+ layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
115
+ version: 17,
116
+ },
117
+ ],
118
+ 'us-east-2': [
119
+ {
120
+ layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-fonts-arm64',
121
+ version: 4,
122
+ },
123
+ {
124
+ layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
125
+ version: 8,
126
+ },
127
+ {
128
+ layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-arm64',
129
+ version: 8,
130
+ },
131
+ ],
132
+ 'us-west-2': [
133
+ {
134
+ layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
135
+ version: 4,
136
+ },
137
+ {
138
+ layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
139
+ version: 8,
140
+ },
141
+ {
142
+ layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
143
+ version: 8,
144
+ },
145
+ ],
146
+ 'af-south-1': [
147
+ {
148
+ layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
149
+ version: 1,
150
+ },
151
+ {
152
+ layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
153
+ version: 1,
154
+ },
155
+ {
156
+ layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
157
+ version: 1,
158
+ },
159
+ ],
160
+ 'ap-east-1': [
161
+ {
162
+ layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
163
+ version: 1,
164
+ },
165
+ {
166
+ layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
167
+ version: 1,
168
+ },
169
+ {
170
+ layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
171
+ version: 1,
172
+ },
173
+ ],
174
+ 'ap-northeast-2': [
175
+ {
176
+ layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-fonts-arm64',
177
+ version: 1,
178
+ },
179
+ {
180
+ layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
181
+ version: 1,
182
+ },
183
+ {
184
+ layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-chromium-arm64',
185
+ version: 1,
186
+ },
187
+ ],
188
+ 'ap-northeast-3': [
189
+ {
190
+ layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-fonts-arm64',
191
+ version: 1,
192
+ },
193
+ {
194
+ layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-ffmpeg-arm64',
195
+ version: 1,
196
+ },
197
+ {
198
+ layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-chromium-arm64',
199
+ version: 1,
200
+ },
201
+ ],
202
+ 'ca-central-1': [
203
+ {
204
+ layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-fonts-arm64',
205
+ version: 1,
206
+ },
207
+ {
208
+ layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
209
+ version: 1,
210
+ },
211
+ {
212
+ layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-chromium-arm64',
213
+ version: 1,
214
+ },
215
+ ],
216
+ 'eu-north-1': [
217
+ {
218
+ layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-fonts-arm64',
219
+ version: 1,
220
+ },
221
+ {
222
+ layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
223
+ version: 1,
224
+ },
225
+ {
226
+ layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-chromium-arm64',
227
+ version: 1,
228
+ },
229
+ ],
230
+ 'eu-south-1': [
231
+ {
232
+ layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
233
+ version: 1,
234
+ },
235
+ {
236
+ layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
237
+ version: 1,
238
+ },
239
+ {
240
+ layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
241
+ version: 1,
242
+ },
243
+ ],
244
+ 'eu-west-3': [
245
+ {
246
+ layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-fonts-arm64',
247
+ version: 1,
248
+ },
249
+ {
250
+ layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-ffmpeg-arm64',
251
+ version: 1,
252
+ },
253
+ {
254
+ layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-chromium-arm64',
255
+ version: 1,
256
+ },
257
+ ],
258
+ 'me-south-1': [
259
+ {
260
+ layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
261
+ version: 1,
262
+ },
263
+ {
264
+ layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
265
+ version: 1,
266
+ },
267
+ {
268
+ layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
269
+ version: 1,
270
+ },
271
+ ],
272
+ 'sa-east-1': [
273
+ {
274
+ layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
275
+ version: 1,
276
+ },
277
+ {
278
+ layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
279
+ version: 1,
280
+ },
281
+ {
282
+ layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
283
+ version: 1,
284
+ },
285
+ ],
286
+ 'us-west-1': [
287
+ {
288
+ layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-fonts-arm64',
289
+ version: 1,
290
+ },
291
+ {
292
+ layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
293
+ version: 1,
294
+ },
295
+ {
296
+ layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-chromium-arm64',
297
+ version: 1,
298
+ },
299
+ ],
300
+ };
301
+ exports.__internal_doNotUsehostedLayers = {
302
+ arm64: exports.hostedLayers,
302
303
  x86_64: {
303
304
  'ap-northeast-1': [
304
305
  {
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import http from 'http';
4
2
  import https from 'https';
5
3
  import type { EnhancedErrorInfo } from '../functions/helpers/write-lambda-error';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "3.3.56",
3
+ "version": "3.3.59",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -33,18 +33,18 @@
33
33
  "@aws-sdk/credential-providers": "3.272.0",
34
34
  "@aws-sdk/lib-storage": "3.272.0",
35
35
  "@aws-sdk/s3-request-presigner": "3.272.0",
36
- "@remotion/bundler": "3.3.56",
37
- "@remotion/cli": "3.3.56",
38
- "@remotion/renderer": "3.3.56",
36
+ "@remotion/bundler": "3.3.59",
37
+ "@remotion/cli": "3.3.59",
38
+ "@remotion/renderer": "3.3.59",
39
39
  "aws-policies": "^1.0.1",
40
40
  "mime-types": "2.1.34",
41
- "remotion": "3.3.56"
41
+ "remotion": "3.3.59"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@jonny/eslint-config": "3.0.266",
45
- "@remotion/bundler": "3.3.44",
46
- "@remotion/compositor-linux-arm64-musl": "3.3.56",
47
- "@remotion/compositor-linux-x64-musl": "3.3.56",
45
+ "@remotion/bundler": "3.3.58",
46
+ "@remotion/compositor-linux-arm64-musl": "3.3.59",
47
+ "@remotion/compositor-linux-x64-musl": "3.3.59",
48
48
  "@types/mime-types": "2.1.1",
49
49
  "@types/minimist": "1.2.2",
50
50
  "@types/node": "^14.14.14",
@@ -58,7 +58,7 @@
58
58
  "zip-lib": "^0.7.2"
59
59
  },
60
60
  "peerDependencies": {
61
- "@remotion/bundler": "3.3.44"
61
+ "@remotion/bundler": "3.3.58"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"
@@ -68,7 +68,8 @@
68
68
  "./defaults": "./dist/defaults.js",
69
69
  "./regions": "./dist/regions.js",
70
70
  "./policies": "./dist/api/iam-validation/suggested-policy.js",
71
- "./client": "./dist/client.js"
71
+ "./client": "./dist/client.js",
72
+ "./layers": "./dist/shared/hosted-layers.js"
72
73
  },
73
74
  "typesVersions": {
74
75
  ">=1.0": {
@@ -86,5 +87,5 @@
86
87
  ]
87
88
  }
88
89
  },
89
- "gitHead": "40e96323b08717213c20fffcce8a985f0310f6e5"
90
+ "gitHead": "4ee88b056704d7224838a8fbc32d2d3522c5afbe"
90
91
  }
Binary file
Binary file