@remotion/lambda 4.0.167 → 4.0.168
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.d.ts +3 -3
- package/dist/api/render-still-on-lambda.js +1 -1
- package/dist/functions/helpers/get-current-region.d.ts +1 -1
- package/dist/functions/helpers/streamify-response.d.ts +14 -7
- package/dist/functions/helpers/streamify-response.js +41 -29
- package/dist/functions/index.d.ts +4 -0
- package/dist/functions/index.js +3 -2
- package/dist/internals.d.ts +5 -5
- package/dist/shared/aws-clients.js +13 -8
- package/dist/shared/call-lambda.js +28 -3
- package/package.json +9 -9
- package/remotionlambda-arm64.zip +0 -0
- package/dist/functions/helpers/check-if-render-exists.d.ts +0 -3
- package/dist/functions/helpers/check-if-render-exists.js +0 -15
- package/dist/functions/helpers/delete-chunks.d.ts +0 -9
- package/dist/functions/helpers/delete-chunks.js +0 -25
- package/dist/functions/helpers/get-cleanup-progress.d.ts +0 -10
- package/dist/functions/helpers/get-cleanup-progress.js +0 -35
- package/dist/functions/helpers/get-encoding-metadata.d.ts +0 -7
- package/dist/functions/helpers/get-encoding-metadata.js +0 -15
- package/dist/functions/helpers/get-encoding-progress-step-size.d.ts +0 -1
- package/dist/functions/helpers/get-encoding-progress-step-size.js +0 -4
- package/dist/functions/helpers/get-files-to-delete.d.ts +0 -10
- package/dist/functions/helpers/get-files-to-delete.js +0 -52
- package/dist/functions/helpers/get-final-encoding-status.d.ts +0 -6
- package/dist/functions/helpers/get-final-encoding-status.js +0 -18
- package/dist/functions/helpers/get-folder-size.d.ts +0 -1
- package/dist/functions/helpers/get-folder-size.js +0 -8
- package/dist/functions/helpers/get-lambdas-invoked-stats.d.ts +0 -3
- package/dist/functions/helpers/get-lambdas-invoked-stats.js +0 -1
- package/dist/functions/helpers/get-post-render-data.d.ts +0 -8
- package/dist/functions/helpers/get-post-render-data.js +0 -22
- package/dist/functions/helpers/get-render-metadata.d.ts +0 -8
- package/dist/functions/helpers/get-render-metadata.js +0 -17
- package/dist/functions/helpers/get-rendered-frames-progress.d.ts +0 -8
- package/dist/functions/helpers/get-rendered-frames-progress.js +0 -37
- package/dist/functions/helpers/get-time-to-finish.d.ts +0 -5
- package/dist/functions/helpers/get-time-to-finish.js +0 -13
- package/dist/functions/helpers/streaming-payloads.d.ts +0 -19
- package/dist/functions/helpers/streaming-payloads.js +0 -25
- package/dist/functions/helpers/write-post-render-data.d.ts +0 -9
- package/dist/functions/helpers/write-post-render-data.js +0 -18
- package/dist/functions/merge.d.ts +0 -9
- package/dist/functions/merge.js +0 -61
- package/dist/shared/chunk-progress.d.ts +0 -9
- package/dist/shared/chunk-progress.js +0 -2034
- package/dist/shared/parse-chunk-key.d.ts +0 -5
- package/dist/shared/parse-chunk-key.js +0 -15
- package/dist/shared/parse-lambda-initialized-key.d.ts +0 -5
- package/dist/shared/parse-lambda-initialized-key.js +0 -15
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseLambdaChunkKey = void 0;
|
|
4
|
-
const parseLambdaChunkKey = (key) => {
|
|
5
|
-
const match = key.match(/^renders\/(.*)\/chunks\/chunk:([0-9]+):(video|audio)$/);
|
|
6
|
-
if (!match) {
|
|
7
|
-
throw new Error(`Cannot parse filename ${key} into timing information. Malformed data.`);
|
|
8
|
-
}
|
|
9
|
-
return {
|
|
10
|
-
renderId: match[1],
|
|
11
|
-
chunk: Number(match[2]),
|
|
12
|
-
type: match[3],
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
exports.parseLambdaChunkKey = parseLambdaChunkKey;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseLambdaInitializedKey = void 0;
|
|
4
|
-
const parseLambdaInitializedKey = (key) => {
|
|
5
|
-
const match = key.match(/^renders\/(.*)\/lambda-initialized-chunk:([0-9]+)-attempt:([0-9]+).txt$/);
|
|
6
|
-
if (!match) {
|
|
7
|
-
throw new Error(`Cannot parse filename ${key} into timing information. Malformed data.`);
|
|
8
|
-
}
|
|
9
|
-
return {
|
|
10
|
-
renderId: match[1],
|
|
11
|
-
chunk: Number(match[2]),
|
|
12
|
-
attempt: Number(match[3]),
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
exports.parseLambdaInitializedKey = parseLambdaInitializedKey;
|