@remotion/lambda 4.0.0-offthread.31 → 4.0.0-offthread.42

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.
@@ -10,6 +10,7 @@ declare type ValidateCompositionOptions = {
10
10
  ffmpegExecutable: FfmpegExecutable;
11
11
  timeoutInMilliseconds: number;
12
12
  chromiumOptions: ChromiumOptions;
13
+ port: number | null;
13
14
  };
14
- export declare const validateComposition: ({ serveUrl, composition, browserInstance, inputProps, envVariables, timeoutInMilliseconds, ffmpegExecutable, chromiumOptions, }: ValidateCompositionOptions) => Promise<TCompMetadata>;
15
+ export declare const validateComposition: ({ serveUrl, composition, browserInstance, inputProps, envVariables, timeoutInMilliseconds, ffmpegExecutable, chromiumOptions, port, }: ValidateCompositionOptions) => Promise<TCompMetadata>;
15
16
  export {};
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.validateComposition = void 0;
4
4
  const renderer_1 = require("@remotion/renderer");
5
- const validateComposition = async ({ serveUrl, composition, browserInstance, inputProps, envVariables, timeoutInMilliseconds, ffmpegExecutable, chromiumOptions, }) => {
5
+ const validateComposition = async ({ serveUrl, composition, browserInstance, inputProps, envVariables, timeoutInMilliseconds, ffmpegExecutable, chromiumOptions, port, }) => {
6
6
  const compositions = await (0, renderer_1.getCompositions)(serveUrl, {
7
7
  puppeteerInstance: browserInstance,
8
8
  inputProps: inputProps,
@@ -10,6 +10,7 @@ const validateComposition = async ({ serveUrl, composition, browserInstance, inp
10
10
  ffmpegExecutable,
11
11
  timeoutInMilliseconds,
12
12
  chromiumOptions,
13
+ port,
13
14
  });
14
15
  const found = compositions.find((c) => c.id === composition);
15
16
  if (!found) {
@@ -64,6 +64,7 @@ const innerLaunchHandler = async (params, options) => {
64
64
  ffmpegExecutable: null,
65
65
  timeoutInMilliseconds: params.timeoutInMilliseconds,
66
66
  chromiumOptions: params.chromiumOptions,
67
+ port: null,
67
68
  });
68
69
  remotion_1.Internals.validateDurationInFrames(comp.durationInFrames, 'passed to <Component />');
69
70
  remotion_1.Internals.validateFps(comp.fps, 'passed to <Component />');
@@ -107,6 +107,7 @@ const renderHandler = async (params, options, logs) => {
107
107
  chromiumOptions: params.chromiumOptions,
108
108
  scale: params.scale,
109
109
  timeoutInMilliseconds: params.timeoutInMilliseconds,
110
+ port: null,
110
111
  });
111
112
  const endRendered = Date.now();
112
113
  console.log('Adding silent audio, chunk', params.chunk);
@@ -51,6 +51,7 @@ const innerStillHandler = async (lambdaParams, renderId, options) => {
51
51
  ffmpegExecutable: null,
52
52
  chromiumOptions: lambdaParams.chromiumOptions,
53
53
  timeoutInMilliseconds: lambdaParams.timeoutInMilliseconds,
54
+ port: null,
54
55
  });
55
56
  const renderMetadata = {
56
57
  startedDate: Date.now(),
@@ -210,7 +210,7 @@ export declare type RenderMetadata = {
210
210
  renderId: string;
211
211
  outName: OutNameInput | undefined;
212
212
  };
213
- export declare type LambdaVersions = '2022-05-27' | '2022-05-26' | '2022-05-19' | '2022-05-16' | '2022-05-11' | '2022-05-07' | '2022-05-06' | '2022-05-03' | '2022-04-20' | '2022-04-19' | '2022-04-18' | '2022-04-09' | '2022-04-08' | '2022-04-05' | '2022-04-02' | '2022-03-29' | '2022-03-17' | '2022-03-02' | '2022-03-01' | '2022-02-27' | '2022-02-14' | '2022-02-12' | '2022-02-09' | '2022-02-08' | '2022-02-07' | '2022-02-06' | '2022-02-05' | '2022-02-04' | '2022-02-03' | '2022-01-23' | '2022-01-19' | '2022-01-11' | '2022-01-10' | '2022-01-09' | '2022-01-06' | '2022-01-05' | '2021-12-22' | '2021-12-17' | '2021-12-16' | '2021-12-15' | '2021-12-14' | '2021-12-13' | '2021-12-11' | '2021-12-10' | '2021-12-04' | '2021-11-29' | '2021-11-27' | '2021-11-24' | '2021-11-22' | '2021-11-19' | '2021-11-18' | '2021-11-15' | '2021-11-12' | '2021-11-10' | '2021-11-01' | '2021-10-29' | '2021-10-27' | '2021-10-21' | '2021-10-19' | '2021-10-07' | '2021-10-03' | '2021-10-01' | '2021-09-15' | '2021-09-06' | '2021-08-06' | '2021-07-14' | '2021-07-05' | '2021-07-02' | '2021-06-23' | 'n/a';
213
+ export declare type LambdaVersions = '2022-05-27' | '2022-05-19' | '2022-05-16' | '2022-05-11' | '2022-05-07' | '2022-05-06' | '2022-05-03' | '2022-04-20' | '2022-04-19' | '2022-04-18' | '2022-04-09' | '2022-04-08' | '2022-04-05' | '2022-04-02' | '2022-03-29' | '2022-03-17' | '2022-03-02' | '2022-03-01' | '2022-02-27' | '2022-02-14' | '2022-02-12' | '2022-02-09' | '2022-02-08' | '2022-02-07' | '2022-02-06' | '2022-02-05' | '2022-02-04' | '2022-02-03' | '2022-01-23' | '2022-01-19' | '2022-01-11' | '2022-01-10' | '2022-01-09' | '2022-01-06' | '2022-01-05' | '2021-12-22' | '2021-12-17' | '2021-12-16' | '2021-12-15' | '2021-12-14' | '2021-12-13' | '2021-12-11' | '2021-12-10' | '2021-12-04' | '2021-11-29' | '2021-11-27' | '2021-11-24' | '2021-11-22' | '2021-11-19' | '2021-11-18' | '2021-11-15' | '2021-11-12' | '2021-11-10' | '2021-11-01' | '2021-10-29' | '2021-10-27' | '2021-10-21' | '2021-10-19' | '2021-10-07' | '2021-10-03' | '2021-10-01' | '2021-09-15' | '2021-09-06' | '2021-08-06' | '2021-07-14' | '2021-07-05' | '2021-07-02' | '2021-06-23' | 'n/a';
214
214
  export declare const CURRENT_VERSION: LambdaVersions;
215
215
  export declare type PostRenderData = {
216
216
  cost: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "4.0.0-offthread.31+665632cff",
3
+ "version": "4.0.0-offthread.42+5cdecb6d7",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -31,14 +31,14 @@
31
31
  "@aws-sdk/client-service-quotas": "3.58.0",
32
32
  "@aws-sdk/lib-storage": "3.58.0",
33
33
  "@aws-sdk/s3-request-presigner": "3.58.0",
34
- "@remotion/bundler": "4.0.0-offthread.31+665632cff",
35
- "@remotion/cli": "4.0.0-offthread.31+665632cff",
36
- "@remotion/renderer": "4.0.0-offthread.31+665632cff",
34
+ "@remotion/bundler": "4.0.0-offthread.42+5cdecb6d7",
35
+ "@remotion/cli": "4.0.0-offthread.42+5cdecb6d7",
36
+ "@remotion/renderer": "4.0.0-offthread.42+5cdecb6d7",
37
37
  "aws-policies": "^1.0.1",
38
38
  "dotenv": "^10.0.0",
39
39
  "mime-types": "2.1.34",
40
40
  "minimist": "1.2.6",
41
- "remotion": "4.0.0-offthread.31+665632cff"
41
+ "remotion": "4.0.0-offthread.42+5cdecb6d7"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": ">=16.8.0",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "665632cffd80aca6a61b44988b2d7f087e44196d"
67
+ "gitHead": "5cdecb6d7971afe3062521d319eb32aac96346f3"
68
68
  }
Binary file