@remotion/lambda 3.3.58 → 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.
- package/dist/api/deploy-site.js +4 -0
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +4 -1
- package/dist/functions/compositions.js +1 -0
- package/dist/functions/launch.js +1 -0
- package/dist/functions/renderer.js +4 -1
- package/dist/functions/still.js +1 -0
- package/dist/shared/invoke-webhook.d.ts +0 -2
- package/package.json +10 -10
- package/remotionlambda-arm64.zip +0 -0
- package/remotionlambda-x64.zip +0 -0
package/dist/api/deploy-site.js
CHANGED
|
@@ -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,
|
package/dist/functions/launch.js
CHANGED
|
@@ -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
|
-
|
|
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) => {
|
package/dist/functions/still.js
CHANGED
|
@@ -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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "3.3.
|
|
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.
|
|
37
|
-
"@remotion/cli": "3.3.
|
|
38
|
-
"@remotion/renderer": "3.3.
|
|
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.
|
|
41
|
+
"remotion": "3.3.59"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@jonny/eslint-config": "3.0.266",
|
|
45
|
-
"@remotion/bundler": "3.3.
|
|
46
|
-
"@remotion/compositor-linux-arm64-musl": "3.3.
|
|
47
|
-
"@remotion/compositor-linux-x64-musl": "3.3.
|
|
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.
|
|
61
|
+
"@remotion/bundler": "3.3.58"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
]
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "4ee88b056704d7224838a8fbc32d2d3522c5afbe"
|
|
91
91
|
}
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|
package/remotionlambda-x64.zip
CHANGED
|
Binary file
|