@remotion/lambda 4.0.414 → 4.0.416
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 +3 -3
- package/dist/api/create-function.js +2 -2
- package/dist/esm/index.mjs +123 -123
- package/dist/shared/hosted-layers.js +120 -120
- package/package.json +12 -12
- package/remotionlambda-arm64.zip +0 -0
|
@@ -35,7 +35,7 @@ const getBucketName = (region) => {
|
|
|
35
35
|
return `remotionlambda-binaries-${region}`;
|
|
36
36
|
};
|
|
37
37
|
const makeLayerPublic = async () => {
|
|
38
|
-
const runtimes = ['
|
|
38
|
+
const runtimes = ['nodejs24.x'];
|
|
39
39
|
const layers = [
|
|
40
40
|
'fonts',
|
|
41
41
|
'chromium',
|
|
@@ -49,11 +49,11 @@ const makeLayerPublic = async () => {
|
|
|
49
49
|
const { Version, LayerArn } = await lambda_client_1.LambdaClientInternals.getLambdaClient(region, undefined, null).send(new client_lambda_1.PublishLayerVersionCommand({
|
|
50
50
|
Content: {
|
|
51
51
|
S3Bucket: getBucketName(region),
|
|
52
|
-
S3Key: `remotion-layer-${layer}-
|
|
52
|
+
S3Key: `remotion-layer-${layer}-v15-arm64.zip`,
|
|
53
53
|
},
|
|
54
54
|
LayerName: layerName,
|
|
55
55
|
LicenseInfo: layer === 'chromium'
|
|
56
|
-
? 'Chromium
|
|
56
|
+
? 'Chromium 144.0.7559.20, compiled from source. Read Chromium License: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/LICENSE'
|
|
57
57
|
: layer === 'emoji-apple'
|
|
58
58
|
? 'Apple Emojis (https://github.com/samuelngs/apple-emoji-linux). For educational purposes only - Apple is a trademark of Apple Inc., registered in the U.S. and other countries.'
|
|
59
59
|
: layer === 'emoji-google'
|
|
@@ -67,7 +67,7 @@ const createFunction = async ({ createCloudWatchLogGroup, region, zipFile, funct
|
|
|
67
67
|
FunctionName: functionName,
|
|
68
68
|
Handler: 'index.handler',
|
|
69
69
|
Role: customRoleArn !== null && customRoleArn !== void 0 ? customRoleArn : defaultRoleName,
|
|
70
|
-
Runtime: '
|
|
70
|
+
Runtime: 'nodejs24.x',
|
|
71
71
|
Description: 'Renders a Remotion video.',
|
|
72
72
|
MemorySize: memorySizeInMb,
|
|
73
73
|
Timeout: timeoutInSeconds,
|
|
@@ -121,7 +121,7 @@ const createFunction = async ({ createCloudWatchLogGroup, region, zipFile, funct
|
|
|
121
121
|
}
|
|
122
122
|
renderer_1.RenderInternals.Log.verbose({ indent: false, logLevel }, 'Function is now ready.');
|
|
123
123
|
renderer_1.RenderInternals.Log.verbose({ indent: false, logLevel }, 'Locking the runtime version of the function...');
|
|
124
|
-
const RuntimeVersionArn = `arn:aws:lambda:${region}::runtime:
|
|
124
|
+
const RuntimeVersionArn = `arn:aws:lambda:${region}::runtime:58a37e8413ed69058c4ac3b1df642118591f17d40def93d6101f867c72cd03c2`;
|
|
125
125
|
try {
|
|
126
126
|
await lambda_client_1.LambdaClientInternals.getLambdaClient(region, undefined, requestHandler).send(new client_lambda_1.PutRuntimeManagementConfigCommand({
|
|
127
127
|
FunctionName,
|