@remotion/lambda 4.0.167 → 4.0.169

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.
Files changed (59) hide show
  1. package/dist/api/deploy-site.d.ts +3 -3
  2. package/dist/api/render-still-on-lambda.js +1 -1
  3. package/dist/functions/helpers/cleanup-props.d.ts +5 -0
  4. package/dist/functions/helpers/cleanup-props.js +20 -0
  5. package/dist/functions/helpers/merge-chunks.js +5 -14
  6. package/dist/functions/helpers/streamify-response.d.ts +14 -7
  7. package/dist/functions/helpers/streamify-response.js +41 -29
  8. package/dist/functions/index.d.ts +4 -0
  9. package/dist/functions/index.js +3 -2
  10. package/dist/functions/launch.js +20 -1
  11. package/dist/functions/still.js +0 -1
  12. package/dist/internals.d.ts +5 -5
  13. package/dist/shared/aws-clients.js +13 -8
  14. package/dist/shared/call-lambda.js +28 -3
  15. package/dist/shared/cleanup-serialized-input-props.d.ts +2 -4
  16. package/dist/shared/cleanup-serialized-input-props.js +4 -4
  17. package/dist/shared/compress-props.js +1 -0
  18. package/dist/shared/constants.d.ts +1 -1
  19. package/dist/shared/constants.js +1 -5
  20. package/package.json +9 -9
  21. package/remotionlambda-arm64.zip +0 -0
  22. package/dist/functions/helpers/check-if-render-exists.d.ts +0 -3
  23. package/dist/functions/helpers/check-if-render-exists.js +0 -15
  24. package/dist/functions/helpers/delete-chunks.d.ts +0 -9
  25. package/dist/functions/helpers/delete-chunks.js +0 -25
  26. package/dist/functions/helpers/get-cleanup-progress.d.ts +0 -10
  27. package/dist/functions/helpers/get-cleanup-progress.js +0 -35
  28. package/dist/functions/helpers/get-encoding-metadata.d.ts +0 -7
  29. package/dist/functions/helpers/get-encoding-metadata.js +0 -15
  30. package/dist/functions/helpers/get-encoding-progress-step-size.d.ts +0 -1
  31. package/dist/functions/helpers/get-encoding-progress-step-size.js +0 -4
  32. package/dist/functions/helpers/get-files-to-delete.d.ts +0 -10
  33. package/dist/functions/helpers/get-files-to-delete.js +0 -52
  34. package/dist/functions/helpers/get-final-encoding-status.d.ts +0 -6
  35. package/dist/functions/helpers/get-final-encoding-status.js +0 -18
  36. package/dist/functions/helpers/get-folder-size.d.ts +0 -1
  37. package/dist/functions/helpers/get-folder-size.js +0 -8
  38. package/dist/functions/helpers/get-lambdas-invoked-stats.d.ts +0 -3
  39. package/dist/functions/helpers/get-lambdas-invoked-stats.js +0 -1
  40. package/dist/functions/helpers/get-post-render-data.d.ts +0 -8
  41. package/dist/functions/helpers/get-post-render-data.js +0 -22
  42. package/dist/functions/helpers/get-render-metadata.d.ts +0 -8
  43. package/dist/functions/helpers/get-render-metadata.js +0 -17
  44. package/dist/functions/helpers/get-rendered-frames-progress.d.ts +0 -8
  45. package/dist/functions/helpers/get-rendered-frames-progress.js +0 -37
  46. package/dist/functions/helpers/get-time-to-finish.d.ts +0 -5
  47. package/dist/functions/helpers/get-time-to-finish.js +0 -13
  48. package/dist/functions/helpers/streaming-payloads.d.ts +0 -19
  49. package/dist/functions/helpers/streaming-payloads.js +0 -25
  50. package/dist/functions/helpers/write-post-render-data.d.ts +0 -9
  51. package/dist/functions/helpers/write-post-render-data.js +0 -18
  52. package/dist/functions/merge.d.ts +0 -9
  53. package/dist/functions/merge.js +0 -61
  54. package/dist/shared/chunk-progress.d.ts +0 -9
  55. package/dist/shared/chunk-progress.js +0 -2034
  56. package/dist/shared/parse-chunk-key.d.ts +0 -5
  57. package/dist/shared/parse-chunk-key.js +0 -15
  58. package/dist/shared/parse-lambda-initialized-key.d.ts +0 -5
  59. package/dist/shared/parse-lambda-initialized-key.js +0 -15
@@ -1,5 +0,0 @@
1
- export declare const parseLambdaChunkKey: (key: string) => {
2
- renderId: string;
3
- chunk: number;
4
- type: string;
5
- };
@@ -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,5 +0,0 @@
1
- export declare const parseLambdaInitializedKey: (key: string) => {
2
- renderId: string;
3
- chunk: number;
4
- attempt: number;
5
- };
@@ -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;