@remotion/lambda 4.0.0-offthread.26 → 4.0.0-offthread.27

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/defaults.js CHANGED
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
@@ -1,4 +1,4 @@
1
- import { openBrowser } from '@remotion/renderer';
1
+ import { ChromiumOptions, openBrowser } from '@remotion/renderer';
2
2
  import { FfmpegExecutable, TCompMetadata } from 'remotion';
3
3
  import { Await } from '../../shared/await';
4
4
  declare type ValidateCompositionOptions = {
@@ -8,6 +8,8 @@ declare type ValidateCompositionOptions = {
8
8
  inputProps: unknown;
9
9
  envVariables: Record<string, string> | undefined;
10
10
  ffmpegExecutable: FfmpegExecutable;
11
+ timeoutInMilliseconds: number;
12
+ chromiumOptions: ChromiumOptions;
11
13
  };
12
- export declare const validateComposition: ({ serveUrl, composition, browserInstance, inputProps, envVariables, ffmpegExecutable, }: ValidateCompositionOptions) => Promise<TCompMetadata>;
14
+ export declare const validateComposition: ({ serveUrl, composition, browserInstance, inputProps, envVariables, timeoutInMilliseconds, ffmpegExecutable, chromiumOptions, }: ValidateCompositionOptions) => Promise<TCompMetadata>;
13
15
  export {};
@@ -2,12 +2,14 @@
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, ffmpegExecutable, }) => {
5
+ const validateComposition = async ({ serveUrl, composition, browserInstance, inputProps, envVariables, timeoutInMilliseconds, ffmpegExecutable, chromiumOptions, }) => {
6
6
  const compositions = await (0, renderer_1.getCompositions)(serveUrl, {
7
7
  puppeteerInstance: browserInstance,
8
8
  inputProps: inputProps,
9
9
  envVariables,
10
10
  ffmpegExecutable,
11
+ timeoutInMilliseconds,
12
+ chromiumOptions,
11
13
  });
12
14
  const found = compositions.find((c) => c.id === composition);
13
15
  if (!found) {
@@ -62,6 +62,8 @@ const innerLaunchHandler = async (params, options) => {
62
62
  inputProps: params.inputProps,
63
63
  envVariables: params.envVariables,
64
64
  ffmpegExecutable: null,
65
+ timeoutInMilliseconds: params.timeoutInMilliseconds,
66
+ chromiumOptions: params.chromiumOptions,
65
67
  });
66
68
  remotion_1.Internals.validateDurationInFrames(comp.durationInFrames, 'passed to <Component />');
67
69
  remotion_1.Internals.validateFps(comp.fps, 'passed to <Component />');
@@ -49,6 +49,8 @@ const innerStillHandler = async (lambdaParams, renderId, options) => {
49
49
  inputProps: lambdaParams.inputProps,
50
50
  envVariables: lambdaParams.envVariables,
51
51
  ffmpegExecutable: null,
52
+ chromiumOptions: lambdaParams.chromiumOptions,
53
+ timeoutInMilliseconds: lambdaParams.timeoutInMilliseconds,
52
54
  });
53
55
  const renderMetadata = {
54
56
  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-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-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';
214
214
  export declare const CURRENT_VERSION: LambdaVersions;
215
215
  export declare type PostRenderData = {
216
216
  cost: {
@@ -84,6 +84,6 @@ var LambdaRoutines;
84
84
  LambdaRoutines["renderer"] = "renderer";
85
85
  LambdaRoutines["still"] = "still";
86
86
  })(LambdaRoutines = exports.LambdaRoutines || (exports.LambdaRoutines = {}));
87
- exports.CURRENT_VERSION = '2022-05-19';
87
+ exports.CURRENT_VERSION = '2022-05-26';
88
88
  exports.LAMBDA_CONCURRENCY_LIMIT_QUOTA = 'L-B99A9384';
89
89
  exports.LAMBDA_BURST_LIMIT_QUOTA = 'L-548AE339';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "4.0.0-offthread.26+1bb981a5b",
3
+ "version": "4.0.0-offthread.27+32abe2e78",
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.26+1bb981a5b",
35
- "@remotion/cli": "4.0.0-offthread.26+1bb981a5b",
36
- "@remotion/renderer": "4.0.0-offthread.26+1bb981a5b",
34
+ "@remotion/bundler": "4.0.0-offthread.27+32abe2e78",
35
+ "@remotion/cli": "4.0.0-offthread.27+32abe2e78",
36
+ "@remotion/renderer": "4.0.0-offthread.27+32abe2e78",
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.26+1bb981a5b"
41
+ "remotion": "4.0.0-offthread.27+32abe2e78"
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": "1bb981a5b5898aead4ab30c0dbd4585dcd8657dd"
67
+ "gitHead": "32abe2e782eb088fe72b1093f0ee35b1dd16ac8e"
68
68
  }
Binary file