@remotion/lambda 3.2.22 → 3.2.24

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 (54) hide show
  1. package/dist/api/bucket-exists.js +1 -1
  2. package/dist/api/clean-items.js +1 -1
  3. package/dist/api/create-bucket.js +1 -1
  4. package/dist/api/delete-render.d.ts +19 -0
  5. package/dist/api/delete-render.js +66 -0
  6. package/dist/api/delete-site.js +0 -5
  7. package/dist/api/download-media.d.ts +13 -0
  8. package/dist/api/download-media.js +15 -3
  9. package/dist/api/enable-s3-website.js +1 -1
  10. package/dist/api/get-aws-client.d.ts +4 -2
  11. package/dist/api/get-aws-client.js +7 -2
  12. package/dist/api/get-buckets.js +2 -2
  13. package/dist/api/get-render-progress.d.ts +4 -1
  14. package/dist/api/get-render-progress.js +3 -1
  15. package/dist/api/presign-url.js +1 -1
  16. package/dist/api/render-media-on-lambda.d.ts +3 -3
  17. package/dist/api/render-media-on-lambda.js +3 -3
  18. package/dist/api/upload-dir.js +1 -1
  19. package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +1 -4
  20. package/dist/functions/chunk-optimization/s3-optimization-file.js +1 -0
  21. package/dist/functions/helpers/expected-out-name.d.ts +4 -2
  22. package/dist/functions/helpers/expected-out-name.js +26 -5
  23. package/dist/functions/helpers/find-output-file-in-bucket.d.ts +3 -1
  24. package/dist/functions/helpers/find-output-file-in-bucket.js +9 -7
  25. package/dist/functions/helpers/get-custom-out-name.d.ts +6 -0
  26. package/dist/functions/helpers/get-custom-out-name.js +31 -0
  27. package/dist/functions/helpers/get-output-url-from-metadata.d.ts +2 -1
  28. package/dist/functions/helpers/get-output-url-from-metadata.js +2 -2
  29. package/dist/functions/helpers/get-progress.d.ts +4 -2
  30. package/dist/functions/helpers/get-progress.js +8 -6
  31. package/dist/functions/helpers/io.d.ts +5 -2
  32. package/dist/functions/helpers/io.js +7 -7
  33. package/dist/functions/helpers/read-with-progress.d.ts +3 -1
  34. package/dist/functions/helpers/read-with-progress.js +2 -2
  35. package/dist/functions/helpers/write-lambda-error.js +1 -0
  36. package/dist/functions/helpers/write-post-render-data.js +1 -0
  37. package/dist/functions/index.js +2 -2
  38. package/dist/functions/launch.js +11 -3
  39. package/dist/functions/progress.d.ts +1 -1
  40. package/dist/functions/progress.js +3 -1
  41. package/dist/functions/renderer.js +3 -0
  42. package/dist/functions/start.js +1 -0
  43. package/dist/functions/still.js +5 -2
  44. package/dist/index.d.ts +4 -2
  45. package/dist/index.js +3 -1
  46. package/dist/shared/aws-clients.d.ts +13 -2
  47. package/dist/shared/aws-clients.js +56 -26
  48. package/dist/shared/constants.d.ts +11 -1
  49. package/dist/shared/constants.js +7 -1
  50. package/dist/shared/validate-outname.d.ts +2 -2
  51. package/package.json +6 -6
  52. package/remotionlambda.zip +0 -0
  53. package/dist/cli/helpers/get-cloudwatch-stream-url.d.ts +0 -8
  54. package/dist/cli/helpers/get-cloudwatch-stream-url.js +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "3.2.22",
3
+ "version": "3.2.24",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/client-service-quotas": "3.58.0",
33
33
  "@aws-sdk/lib-storage": "3.58.0",
34
34
  "@aws-sdk/s3-request-presigner": "3.58.0",
35
- "@remotion/bundler": "3.2.22",
36
- "@remotion/cli": "3.2.22",
37
- "@remotion/renderer": "3.2.22",
35
+ "@remotion/bundler": "3.2.24",
36
+ "@remotion/cli": "3.2.24",
37
+ "@remotion/renderer": "3.2.24",
38
38
  "aws-policies": "^1.0.1",
39
39
  "mime-types": "2.1.34",
40
- "remotion": "3.2.22"
40
+ "remotion": "3.2.24"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=16.8.0",
@@ -62,5 +62,5 @@
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
- "gitHead": "1c35638566717760bb394e0748b088cea15faff4"
65
+ "gitHead": "1f11ef8d122eadb6d6f6aa0570ffc4936d43a886"
66
66
  }
Binary file
@@ -1,8 +0,0 @@
1
- import type { AwsRegion } from '../../client';
2
- import type { LambdaRoutines } from '../../shared/constants';
3
- export declare const getCloudwatchStreamUrl: ({ region, functionName, method, renderId, }: {
4
- region: AwsRegion;
5
- functionName: string;
6
- method: LambdaRoutines;
7
- renderId: string;
8
- }) => string;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCloudwatchStreamUrl = void 0;
4
- const getCloudwatchStreamUrl = ({ region, functionName, method, renderId, }) => {
5
- return `https://${region}.console.aws.amazon.com/cloudwatch/home?region=${region}#logsV2:log-groups/log-group/$252Faws$252Flambda$252F${functionName}/log-events$3FfilterPattern$3D$2522method$253D${method}$252CrenderId$253D${renderId}$2522`;
6
- };
7
- exports.getCloudwatchStreamUrl = getCloudwatchStreamUrl;