@remotion/lambda 3.0.0-lambda.327 → 3.0.0-lambda.337
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 +65 -48
- package/dist/admin/make-layer-public.js.map +1 -1
- package/dist/api/create-function.d.ts +3 -1
- package/dist/api/create-function.d.ts.map +1 -1
- package/dist/api/create-function.js +3 -3
- package/dist/api/create-function.js.map +1 -1
- package/dist/api/deploy-function.d.ts +3 -0
- package/dist/api/deploy-function.d.ts.map +1 -1
- package/dist/api/deploy-function.js +4 -0
- package/dist/api/deploy-function.js.map +1 -1
- package/dist/api/render-media-on-lambda.d.ts +1 -1
- package/dist/api/render-media-on-lambda.d.ts.map +1 -1
- package/dist/api/render-media-on-lambda.js +2 -2
- package/dist/api/render-media-on-lambda.js.map +1 -1
- package/dist/api/render-still-on-lambda.d.ts +1 -1
- package/dist/api/render-still-on-lambda.d.ts.map +1 -1
- package/dist/api/render-still-on-lambda.js +0 -2
- package/dist/api/render-still-on-lambda.js.map +1 -1
- package/dist/cli/args.d.ts +2 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/commands/functions/deploy.d.ts.map +1 -1
- package/dist/cli/commands/functions/deploy.js +7 -2
- package/dist/cli/commands/functions/deploy.js.map +1 -1
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts +4 -1
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/optimize-profile.d.ts +8 -2
- package/dist/functions/chunk-optimization/optimize-profile.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +4 -1
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts +4 -1
- package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts.map +1 -1
- package/dist/functions/helpers/get-browser-instance.d.ts +1 -2
- package/dist/functions/helpers/get-browser-instance.d.ts.map +1 -1
- package/dist/functions/helpers/get-browser-instance.js.map +1 -1
- package/dist/functions/renderer.d.ts.map +1 -1
- package/dist/functions/renderer.js +2 -8
- package/dist/functions/renderer.js.map +1 -1
- package/dist/functions/still.d.ts.map +1 -1
- package/dist/functions/still.js +2 -6
- package/dist/functions/still.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/shared/constants.d.ts +4 -2
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +3 -2
- package/dist/shared/constants.js.map +1 -1
- package/dist/shared/hosted-layers.d.ts +9 -5
- package/dist/shared/hosted-layers.d.ts.map +1 -1
- package/dist/shared/hosted-layers.js +284 -140
- package/dist/shared/hosted-layers.js.map +1 -1
- package/dist/shared/validate-architecture.d.ts +5 -0
- package/dist/shared/validate-architecture.d.ts.map +1 -0
- package/dist/shared/validate-architecture.js +15 -0
- package/dist/shared/validate-architecture.js.map +1 -0
- package/dist/shared/validate-serveurl.d.ts +2 -0
- package/dist/shared/validate-serveurl.d.ts.map +1 -0
- package/dist/shared/validate-serveurl.js +10 -0
- package/dist/shared/validate-serveurl.js.map +1 -0
- package/package.json +6 -6
- package/remotionlambda.zip +0 -0
- package/dist/functions/helpers/presign-url.d.ts +0 -2
- package/dist/functions/helpers/presign-url.d.ts.map +0 -1
- package/dist/functions/helpers/presign-url.js +0 -9
- package/dist/functions/helpers/presign-url.js.map +0 -1
|
@@ -3,145 +3,289 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
6
|
+
arm64: {
|
|
7
|
+
'ap-northeast-1': [
|
|
8
|
+
{
|
|
9
|
+
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
10
|
+
version: 1,
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
14
|
+
version: 1,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
18
|
+
version: 1,
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
'ap-south-1': [
|
|
22
|
+
{
|
|
23
|
+
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
24
|
+
version: 1,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
28
|
+
version: 1,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
32
|
+
version: 1,
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
'ap-southeast-1': [
|
|
36
|
+
{
|
|
37
|
+
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
38
|
+
version: 1,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
42
|
+
version: 1,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
46
|
+
version: 1,
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
'ap-southeast-2': [
|
|
50
|
+
{
|
|
51
|
+
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
52
|
+
version: 1,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
56
|
+
version: 1,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
60
|
+
version: 1,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
'eu-central-1': [
|
|
64
|
+
{
|
|
65
|
+
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
66
|
+
version: 1,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
70
|
+
version: 1,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
74
|
+
version: 1,
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
'eu-west-1': [
|
|
78
|
+
{
|
|
79
|
+
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
80
|
+
version: 1,
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
84
|
+
version: 1,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
88
|
+
version: 1,
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
'eu-west-2': [
|
|
92
|
+
{
|
|
93
|
+
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
94
|
+
version: 1,
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
98
|
+
version: 1,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
102
|
+
version: 1,
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
'us-east-1': [
|
|
106
|
+
{
|
|
107
|
+
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
108
|
+
version: 5,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
112
|
+
version: 5,
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
116
|
+
version: 5,
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
'us-east-2': [
|
|
120
|
+
{
|
|
121
|
+
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
122
|
+
version: 1,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
126
|
+
version: 1,
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
130
|
+
version: 1,
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
'us-west-2': [
|
|
134
|
+
{
|
|
135
|
+
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-remotion-arm64',
|
|
136
|
+
version: 1,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
140
|
+
version: 1,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
144
|
+
version: 1,
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
},
|
|
148
|
+
x86_64: {
|
|
149
|
+
'ap-northeast-1': [
|
|
150
|
+
{
|
|
151
|
+
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
152
|
+
version: 1,
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
156
|
+
version: 1,
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
160
|
+
version: 1,
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
'ap-south-1': [
|
|
164
|
+
{
|
|
165
|
+
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
166
|
+
version: 1,
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
170
|
+
version: 1,
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
174
|
+
version: 1,
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
'ap-southeast-1': [
|
|
178
|
+
{
|
|
179
|
+
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
180
|
+
version: 1,
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
184
|
+
version: 1,
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
188
|
+
version: 1,
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
'ap-southeast-2': [
|
|
192
|
+
{
|
|
193
|
+
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
194
|
+
version: 1,
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
198
|
+
version: 1,
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
202
|
+
version: 1,
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
'eu-central-1': [
|
|
206
|
+
{
|
|
207
|
+
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
208
|
+
version: 1,
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
212
|
+
version: 1,
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
216
|
+
version: 1,
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
'eu-west-1': [
|
|
220
|
+
{
|
|
221
|
+
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
222
|
+
version: 1,
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
226
|
+
version: 1,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
230
|
+
version: 1,
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
'eu-west-2': [
|
|
234
|
+
{
|
|
235
|
+
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
236
|
+
version: 1,
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
240
|
+
version: 1,
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
244
|
+
version: 1,
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
'us-east-1': [
|
|
248
|
+
{
|
|
249
|
+
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
250
|
+
version: 5,
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
254
|
+
version: 5,
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
258
|
+
version: 5,
|
|
259
|
+
},
|
|
260
|
+
],
|
|
261
|
+
'us-east-2': [
|
|
262
|
+
{
|
|
263
|
+
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
264
|
+
version: 1,
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
268
|
+
version: 1,
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
272
|
+
version: 1,
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
'us-west-2': [
|
|
276
|
+
{
|
|
277
|
+
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-remotion-x86_64',
|
|
278
|
+
version: 1,
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
282
|
+
version: 1,
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
286
|
+
version: 1,
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
},
|
|
146
290
|
};
|
|
147
291
|
//# sourceMappingURL=hosted-layers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosted-layers.js","sourceRoot":"","sources":["../../src/shared/hosted-layers.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"hosted-layers.js","sourceRoot":"","sources":["../../src/shared/hosted-layers.ts"],"names":[],"mappings":";;;AAGa,QAAA,yBAAyB,GAAG,yDAAyD,CAAC;AAQtF,QAAA,YAAY,GAAiB;IACzC,KAAK,EAAE;QACN,gBAAgB,EAAE;YACjB;gBACC,QAAQ,EACP,mFAAmF;gBACpF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,iFAAiF;gBAClF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,mFAAmF;gBACpF,OAAO,EAAE,CAAC;aACV;SACD;QACD,YAAY,EAAE;YACb;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,6EAA6E;gBAC9E,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;SACD;QACD,gBAAgB,EAAE;YACjB;gBACC,QAAQ,EACP,mFAAmF;gBACpF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,iFAAiF;gBAClF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,mFAAmF;gBACpF,OAAO,EAAE,CAAC;aACV;SACD;QACD,gBAAgB,EAAE;YACjB;gBACC,QAAQ,EACP,mFAAmF;gBACpF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,iFAAiF;gBAClF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,mFAAmF;gBACpF,OAAO,EAAE,CAAC;aACV;SACD;QACD,cAAc,EAAE;YACf;gBACC,QAAQ,EACP,iFAAiF;gBAClF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,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EACP,6EAA6E;gBAC9E,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;SACD;QACD,WAAW,EAAE;YACZ;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,6EAA6E;gBAC9E,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;SACD;QACD,WAAW,EAAE;YACZ;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,6EAA6E;gBAC9E,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;SACD;QACD,WAAW,EAAE;YACZ;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,6EAA6E;gBAC9E,OAAO,EAAE,CAAC;aACV;YACD;gBACC,QAAQ,EACP,+EAA+E;gBAChF,OAAO,EAAE,CAAC;aACV;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const validArchitectures: readonly ["arm64", "x86_64"];
|
|
2
|
+
export declare type LambdaArchitecture = typeof validArchitectures[number];
|
|
3
|
+
export declare const validateArchitecture: (architecture: unknown) => void;
|
|
4
|
+
export {};
|
|
5
|
+
//# sourceMappingURL=validate-architecture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-architecture.d.ts","sourceRoot":"","sources":["../../src/shared/validate-architecture.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,kBAAkB,8BAA+B,CAAC;AAExD,oBAAY,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAEnE,eAAO,MAAM,oBAAoB,iBAAkB,OAAO,SAazD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateArchitecture = void 0;
|
|
4
|
+
const validArchitectures = ['arm64', 'x86_64'];
|
|
5
|
+
const validateArchitecture = (architecture) => {
|
|
6
|
+
if (typeof architecture !== 'string') {
|
|
7
|
+
throw new TypeError('You must pass an architecture when deploying: One of ' +
|
|
8
|
+
validArchitectures.join(', '));
|
|
9
|
+
}
|
|
10
|
+
if (!validArchitectures.find((a) => a === architecture)) {
|
|
11
|
+
throw new TypeError(`You must pass an "architecture" when deploying a function: either "arm64" or "x86_64"`);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
exports.validateArchitecture = validateArchitecture;
|
|
15
|
+
//# sourceMappingURL=validate-architecture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-architecture.js","sourceRoot":"","sources":["../../src/shared/validate-architecture.ts"],"names":[],"mappings":";;;AAAA,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU,CAAC;AAIjD,MAAM,oBAAoB,GAAG,CAAC,YAAqB,EAAE,EAAE;IAC7D,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE;QACrC,MAAM,IAAI,SAAS,CAClB,uDAAuD;YACtD,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAC9B,CAAC;KACF;IAED,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,YAAY,CAAC,EAAE;QACxD,MAAM,IAAI,SAAS,CAClB,uFAAuF,CACvF,CAAC;KACF;AACF,CAAC,CAAC;AAbW,QAAA,oBAAoB,wBAa/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-serveurl.d.ts","sourceRoot":"","sources":["../../src/shared/validate-serveurl.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,aAAc,OAAO,SAQjD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateServeUrl = void 0;
|
|
4
|
+
const validateServeUrl = (serveUrl) => {
|
|
5
|
+
if (typeof serveUrl !== 'string') {
|
|
6
|
+
throw new TypeError(`"serveURL" parameter must be a string, but is ${JSON.stringify(serveUrl)}`);
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
exports.validateServeUrl = validateServeUrl;
|
|
10
|
+
//# sourceMappingURL=validate-serveurl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-serveurl.js","sourceRoot":"","sources":["../../src/shared/validate-serveurl.ts"],"names":[],"mappings":";;;AAAO,MAAM,gBAAgB,GAAG,CAAC,QAAiB,EAAE,EAAE;IACrD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QACjC,MAAM,IAAI,SAAS,CAClB,iDAAiD,IAAI,CAAC,SAAS,CAC9D,QAAQ,CACR,EAAE,CACH,CAAC;KACF;AACF,CAAC,CAAC;AARW,QAAA,gBAAgB,oBAQ3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "3.0.0-lambda.
|
|
3
|
+
"version": "3.0.0-lambda.337+bde12456c",
|
|
4
4
|
"description": "Utility functions for audio and video",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"@aws-sdk/client-s3": "3.42.0",
|
|
30
30
|
"@aws-sdk/lib-storage": "3.42.0",
|
|
31
31
|
"@aws-sdk/s3-request-presigner": "3.42.0",
|
|
32
|
-
"@remotion/bundler": "3.0.0-lambda.
|
|
33
|
-
"@remotion/cli": "3.0.0-lambda.
|
|
34
|
-
"@remotion/renderer": "3.0.0-lambda.
|
|
32
|
+
"@remotion/bundler": "3.0.0-lambda.337+bde12456c",
|
|
33
|
+
"@remotion/cli": "3.0.0-lambda.337+bde12456c",
|
|
34
|
+
"@remotion/renderer": "3.0.0-lambda.337+bde12456c",
|
|
35
35
|
"aws-policies": "^1.0.1",
|
|
36
36
|
"dotenv": "^10.0.0",
|
|
37
37
|
"minimist": "^1.2.5",
|
|
38
38
|
"p-limit": "^3.1.0",
|
|
39
|
-
"remotion": "3.0.0-lambda.
|
|
39
|
+
"remotion": "3.0.0-lambda.337+bde12456c"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"react": "^17.0.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "bde12456c36dc1ab7995edb612cd1aeb7d8fd485"
|
|
64
64
|
}
|
package/remotionlambda.zip
CHANGED
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"presign-url.d.ts","sourceRoot":"","sources":["../../../src/functions/helpers/presign-url.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,YAGtB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.presignUrl = void 0;
|
|
4
|
-
const presignUrl = () => {
|
|
5
|
-
import { GetObjectCommand } from '@aws-sdk/client-s3';
|
|
6
|
-
import { getSignedUrl } from '@aws-sdk/s3-request-presigner';
|
|
7
|
-
};
|
|
8
|
-
exports.presignUrl = presignUrl;
|
|
9
|
-
//# sourceMappingURL=presign-url.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"presign-url.js","sourceRoot":"","sources":["../../../src/functions/helpers/presign-url.ts"],"names":[],"mappings":";;;AAAO,MAAM,UAAU,GAAG,GAAG,EAAE;IAC9B,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;IACpD,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC5D,CAAC,CAAC;AAHW,QAAA,UAAU,cAGrB"}
|