@remotion/lambda 4.0.0-alpha.179 → 4.0.0-alpha.217

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.
@@ -11,6 +11,7 @@ export declare type GetCompositionsOnLambdaInput = {
11
11
  logLevel?: LogLevel;
12
12
  timeoutInMilliseconds?: number;
13
13
  forceBucketName?: string;
14
+ dumpBrowserLogs?: boolean;
14
15
  };
15
16
  export declare type GetCompositionsOnLambdaOutput = AnyCompMetadata[];
16
17
  /**
@@ -24,6 +25,7 @@ export declare type GetCompositionsOnLambdaOutput = AnyCompMetadata[];
24
25
  * @param params.logLevel The log level of the Lambda function
25
26
  * @param params.timeoutInMilliseconds The timeout of the Lambda function
26
27
  * @param params.chromiumOptions The options to pass to Chromium
28
+ * @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
27
29
  * @returns The compositions
28
30
  */
29
- export declare const getCompositionsOnLambda: ({ chromiumOptions, serveUrl, region, inputProps, functionName, envVariables, logLevel, timeoutInMilliseconds, forceBucketName: bucketName, }: GetCompositionsOnLambdaInput) => Promise<GetCompositionsOnLambdaOutput>;
31
+ export declare const getCompositionsOnLambda: ({ chromiumOptions, serveUrl, region, inputProps, functionName, envVariables, logLevel, timeoutInMilliseconds, forceBucketName: bucketName, dumpBrowserLogs, }: GetCompositionsOnLambdaInput) => Promise<GetCompositionsOnLambdaOutput>;
@@ -16,9 +16,10 @@ const serialize_input_props_1 = require("../shared/serialize-input-props");
16
16
  * @param params.logLevel The log level of the Lambda function
17
17
  * @param params.timeoutInMilliseconds The timeout of the Lambda function
18
18
  * @param params.chromiumOptions The options to pass to Chromium
19
+ * @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
19
20
  * @returns The compositions
20
21
  */
21
- const getCompositionsOnLambda = async ({ chromiumOptions, serveUrl, region, inputProps, functionName, envVariables, logLevel, timeoutInMilliseconds, forceBucketName: bucketName, }) => {
22
+ const getCompositionsOnLambda = async ({ chromiumOptions, serveUrl, region, inputProps, functionName, envVariables, logLevel, timeoutInMilliseconds, forceBucketName: bucketName, dumpBrowserLogs, }) => {
22
23
  var _a;
23
24
  const serializedInputProps = await (0, serialize_input_props_1.serializeInputProps)({
24
25
  inputProps,
@@ -39,6 +40,7 @@ const getCompositionsOnLambda = async ({ chromiumOptions, serveUrl, region, inpu
39
40
  timeoutInMilliseconds: timeoutInMilliseconds !== null && timeoutInMilliseconds !== void 0 ? timeoutInMilliseconds : 30000,
40
41
  version: version_1.VERSION,
41
42
  bucketName: bucketName !== null && bucketName !== void 0 ? bucketName : null,
43
+ dumpBrowserLogs: dumpBrowserLogs !== null && dumpBrowserLogs !== void 0 ? dumpBrowserLogs : false,
42
44
  },
43
45
  region,
44
46
  });
@@ -46,6 +46,7 @@ export declare type RenderMediaOnLambdaInput = {
46
46
  rendererFunctionName?: string | null;
47
47
  forceBucketName?: string;
48
48
  audioCodec?: AudioCodec | null;
49
+ dumpBrowserLogs?: boolean;
49
50
  };
50
51
  export declare type RenderMediaOnLambdaOutput = {
51
52
  renderId: string;
@@ -70,10 +71,11 @@ export declare type RenderMediaOnLambdaOutput = {
70
71
  * @param params.maxRetries How often rendering a chunk may fail before the media render gets aborted. Default "1"
71
72
  * @param params.logLevel Level of logging that Lambda function should perform. Default "info".
72
73
  * @param params.webhook Configuration for webhook called upon completion or timeout of the render.
74
+ * @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
73
75
  * @returns {Promise<RenderMediaOnLambdaOutput>} See documentation for detailed structure
74
76
  */
75
- export declare const renderMediaOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, jpegQuality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
77
+ export declare const renderMediaOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, jpegQuality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, dumpBrowserLogs, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
76
78
  /**
77
79
  * @deprecated Renamed to renderMediaOnLambda()
78
80
  */
79
- export declare const renderVideoOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, jpegQuality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
81
+ export declare const renderVideoOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, jpegQuality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, dumpBrowserLogs, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
@@ -27,9 +27,10 @@ const validate_serveurl_1 = require("../shared/validate-serveurl");
27
27
  * @param params.maxRetries How often rendering a chunk may fail before the media render gets aborted. Default "1"
28
28
  * @param params.logLevel Level of logging that Lambda function should perform. Default "info".
29
29
  * @param params.webhook Configuration for webhook called upon completion or timeout of the render.
30
+ * @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
30
31
  * @returns {Promise<RenderMediaOnLambdaOutput>} See documentation for detailed structure
31
32
  */
32
- const renderMediaOnLambda = async ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, jpegQuality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, }) => {
33
+ const renderMediaOnLambda = async ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, jpegQuality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, dumpBrowserLogs, }) => {
33
34
  var _a;
34
35
  if (quality) {
35
36
  throw new Error(`"quality" has been renamed. Use "jpegQuality" instead.`);
@@ -86,6 +87,7 @@ const renderMediaOnLambda = async ({ functionName, serveUrl, inputProps, codec,
86
87
  forceWidth: forceWidth !== null && forceWidth !== void 0 ? forceWidth : null,
87
88
  bucketName: bucketName !== null && bucketName !== void 0 ? bucketName : null,
88
89
  audioCodec: audioCodec !== null && audioCodec !== void 0 ? audioCodec : null,
90
+ dumpBrowserLogs: dumpBrowserLogs !== null && dumpBrowserLogs !== void 0 ? dumpBrowserLogs : false,
89
91
  },
90
92
  region,
91
93
  });
@@ -27,6 +27,7 @@ export declare type RenderStillOnLambdaInput = {
27
27
  forceWidth?: number | null;
28
28
  forceHeight?: number | null;
29
29
  forceBucketName?: string;
30
+ dumpBrowserLogs?: boolean;
30
31
  };
31
32
  export declare type RenderStillOnLambdaOutput = {
32
33
  estimatedPrice: CostsInfo;
@@ -50,6 +51,7 @@ export declare type RenderStillOnLambdaOutput = {
50
51
  * @param params.maxRetries How often rendering a chunk may fail before the video render gets aborted.
51
52
  * @param params.frame Which frame should be used for the still image. Default 0.
52
53
  * @param params.privacy Whether the item in the S3 bucket should be public. Possible values: `"private"` and `"public"`
54
+ * @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch.
53
55
  * @returns {Promise<RenderStillOnLambdaOutput>} See documentation for exact response structure.
54
56
  */
55
- export declare const renderStillOnLambda: ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, }: RenderStillOnLambdaInput) => Promise<RenderStillOnLambdaOutput>;
57
+ export declare const renderStillOnLambda: ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, dumpBrowserLogs, }: RenderStillOnLambdaInput) => Promise<RenderStillOnLambdaOutput>;
@@ -20,9 +20,10 @@ const serialize_input_props_1 = require("../shared/serialize-input-props");
20
20
  * @param params.maxRetries How often rendering a chunk may fail before the video render gets aborted.
21
21
  * @param params.frame Which frame should be used for the still image. Default 0.
22
22
  * @param params.privacy Whether the item in the S3 bucket should be public. Possible values: `"private"` and `"public"`
23
+ * @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch.
23
24
  * @returns {Promise<RenderStillOnLambdaOutput>} See documentation for exact response structure.
24
25
  */
25
- const renderStillOnLambda = async ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, }) => {
26
+ const renderStillOnLambda = async ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, dumpBrowserLogs, }) => {
26
27
  var _a;
27
28
  if (quality) {
28
29
  throw new Error('The `quality` option is deprecated. Use `jpegQuality` instead.');
@@ -58,6 +59,7 @@ const renderStillOnLambda = async ({ functionName, serveUrl, inputProps, imageFo
58
59
  forceHeight: forceHeight !== null && forceHeight !== void 0 ? forceHeight : null,
59
60
  forceWidth: forceWidth !== null && forceWidth !== void 0 ? forceWidth : null,
60
61
  bucketName: forceBucketName !== null && forceBucketName !== void 0 ? forceBucketName : null,
62
+ dumpBrowserLogs: dumpBrowserLogs !== null && dumpBrowserLogs !== void 0 ? dumpBrowserLogs : false,
61
63
  },
62
64
  region,
63
65
  });
@@ -10,7 +10,7 @@ const deserialize_input_props_1 = require("../shared/deserialize-input-props");
10
10
  const get_browser_instance_1 = require("./helpers/get-browser-instance");
11
11
  const get_current_region_1 = require("./helpers/get-current-region");
12
12
  const compositionsHandler = async (lambdaParams, options) => {
13
- var _a, _b;
13
+ var _a, _b, _c;
14
14
  if (lambdaParams.type !== defaults_1.LambdaRoutines.compositions) {
15
15
  throw new TypeError('Expected info compositions');
16
16
  }
@@ -25,7 +25,7 @@ const compositionsHandler = async (lambdaParams, options) => {
25
25
  (_a = lambdaParams.bucketName) !== null && _a !== void 0 ? _a : (0, get_or_create_bucket_1.getOrCreateBucket)({
26
26
  region,
27
27
  }).then((b) => b.bucketName),
28
- (0, get_browser_instance_1.getBrowserInstance)(renderer_1.RenderInternals.isEqualOrBelowLogLevel(lambdaParams.logLevel, 'verbose'), (_b = lambdaParams.chromiumOptions) !== null && _b !== void 0 ? _b : {}),
28
+ (0, get_browser_instance_1.getBrowserInstance)((_b = lambdaParams.dumpBrowserLogs) !== null && _b !== void 0 ? _b : renderer_1.RenderInternals.isEqualOrBelowLogLevel(lambdaParams.logLevel, 'verbose'), (_c = lambdaParams.chromiumOptions) !== null && _c !== void 0 ? _c : {}),
29
29
  ]);
30
30
  const inputProps = await (0, deserialize_input_props_1.deserializeInputProps)({
31
31
  bucketName,
@@ -1 +1 @@
1
- export declare const getCurrentRegionInFunction: () => "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-south-1" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "af-south-1" | "ap-south-1" | "ap-east-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "me-south-1" | "sa-east-1";
1
+ export declare const getCurrentRegionInFunction: () => "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "sa-east-1" | "eu-south-1" | "af-south-1" | "ap-east-1" | "me-south-1";
@@ -2,17 +2,17 @@ import type { LambdaPayload } from '../shared/constants';
2
2
  export declare const handler: (params: LambdaPayload, context: {
3
3
  invokedFunctionArn: string;
4
4
  getRemainingTimeInMillis: () => number;
5
- }) => Promise<void> | Promise<Promise<{
5
+ }) => Promise<void> | Promise<{
6
+ compositions: import("remotion").AnyCompMetadata[];
7
+ }> | Promise<{
8
+ version: string;
9
+ }> | Promise<{
10
+ bucketName: string;
11
+ renderId: string;
12
+ }> | Promise<import("../shared/constants").RenderProgress> | Promise<Promise<{
6
13
  output: string;
7
14
  size: number;
8
15
  bucketName: string;
9
16
  estimatedPrice: import("../shared/constants").CostsInfo;
10
17
  renderId: string;
11
- }>> | Promise<{
12
- bucketName: string;
13
- renderId: string;
14
- }> | Promise<import("../shared/constants").RenderProgress> | Promise<{
15
- version: string;
16
- }> | Promise<{
17
- compositions: import("remotion").AnyCompMetadata[];
18
- }>;
18
+ }>>;
@@ -80,6 +80,7 @@ const callFunctionWithRetry = async ({ payload, retries, functionName, }) => {
80
80
  functionName,
81
81
  });
82
82
  }
83
+ throw err;
83
84
  }
84
85
  };
85
86
  const innerLaunchHandler = async (params, options) => {
@@ -225,6 +226,7 @@ const innerLaunchHandler = async (params, options) => {
225
226
  launchFunctionConfig: {
226
227
  version: version_1.VERSION,
227
228
  },
229
+ dumpBrowserLogs: params.dumpBrowserLogs,
228
230
  };
229
231
  return payload;
230
232
  });
@@ -59,7 +59,7 @@ const renderHandler = async (params, options, logs) => {
59
59
  const downloads = {};
60
60
  const inputProps = await inputPropsPromise;
61
61
  await new Promise((resolve, reject) => {
62
- var _a;
62
+ var _a, _b;
63
63
  (0, renderer_1.renderMedia)({
64
64
  composition: {
65
65
  id: params.composition,
@@ -105,14 +105,14 @@ const renderHandler = async (params, options, logs) => {
105
105
  serveUrl: params.serveUrl,
106
106
  jpegQuality: params.jpegQuality,
107
107
  envVariables: params.envVariables,
108
- dumpBrowserLogs: renderer_1.RenderInternals.isEqualOrBelowLogLevel(params.logLevel, 'verbose'),
108
+ dumpBrowserLogs: (_a = params.dumpBrowserLogs) !== null && _a !== void 0 ? _a : renderer_1.RenderInternals.isEqualOrBelowLogLevel(params.logLevel, 'verbose'),
109
109
  verbose: renderer_1.RenderInternals.isEqualOrBelowLogLevel(params.logLevel, 'verbose'),
110
110
  onBrowserLog: (log) => {
111
111
  logs.push(log);
112
112
  },
113
113
  outputLocation,
114
114
  codec: chunkCodec,
115
- crf: (_a = params.crf) !== null && _a !== void 0 ? _a : undefined,
115
+ crf: (_b = params.crf) !== null && _b !== void 0 ? _b : undefined,
116
116
  pixelFormat: params.pixelFormat,
117
117
  proResProfile: params.proResProfile,
118
118
  onDownload: (src) => {
@@ -77,6 +77,7 @@ const startHandler = async (params, options) => {
77
77
  forceWidth: params.forceWidth,
78
78
  rendererFunctionName: params.rendererFunctionName,
79
79
  audioCodec: params.audioCodec,
80
+ dumpBrowserLogs: params.dumpBrowserLogs,
80
81
  };
81
82
  await (0, aws_clients_1.getLambdaClient)((0, get_current_region_1.getCurrentRegionInFunction)()).send(new client_lambda_1.InvokeCommand({
82
83
  FunctionName: process.env.AWS_LAMBDA_FUNCTION_NAME,
@@ -31,7 +31,7 @@ const io_1 = require("./helpers/io");
31
31
  const validate_composition_1 = require("./helpers/validate-composition");
32
32
  const write_lambda_error_1 = require("./helpers/write-lambda-error");
33
33
  const innerStillHandler = async (lambdaParams, renderId, options) => {
34
- var _a, _b, _c;
34
+ var _a, _b, _c, _d;
35
35
  if (lambdaParams.type !== constants_1.LambdaRoutines.still) {
36
36
  throw new TypeError('Expected still type');
37
37
  }
@@ -116,7 +116,7 @@ const innerStillHandler = async (lambdaParams, renderId, options) => {
116
116
  composition,
117
117
  output: outputPath,
118
118
  serveUrl,
119
- dumpBrowserLogs: false,
119
+ dumpBrowserLogs: (_d = lambdaParams.dumpBrowserLogs) !== null && _d !== void 0 ? _d : renderer_1.RenderInternals.isEqualOrBelowLogLevel(lambdaParams.logLevel, 'verbose'),
120
120
  envVariables: lambdaParams.envVariables,
121
121
  frame: renderer_1.RenderInternals.convertToPositiveFrameIndex({
122
122
  frame: lambdaParams.frame,
package/dist/index.d.ts CHANGED
@@ -43,11 +43,11 @@ import type { WebhookPayload } from './shared/invoke-webhook';
43
43
  /**
44
44
  * @deprecated Import this from `@remotion/lambda/client` instead
45
45
  */
46
- declare const renderMediaOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, jpegQuality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
46
+ declare const renderMediaOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, jpegQuality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, dumpBrowserLogs, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
47
47
  /**
48
48
  * @deprecated Import this from `@remotion/lambda/client` instead
49
49
  */
50
- declare const renderStillOnLambda: ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, }: RenderStillOnLambdaInput) => Promise<RenderStillOnLambdaOutput>;
50
+ declare const renderStillOnLambda: ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, dumpBrowserLogs, }: RenderStillOnLambdaInput) => Promise<RenderStillOnLambdaOutput>;
51
51
  /**
52
52
  * @deprecated Import this from `@remotion/lambda/client` instead
53
53
  */
@@ -144,6 +144,7 @@ export declare type LambdaPayloads = {
144
144
  forceHeight: number | null;
145
145
  forceWidth: number | null;
146
146
  bucketName: string | null;
147
+ dumpBrowserLogs: boolean;
147
148
  };
148
149
  launch: {
149
150
  rendererFunctionName: string | null;
@@ -181,6 +182,7 @@ export declare type LambdaPayloads = {
181
182
  webhook: WebhookOption;
182
183
  forceHeight: number | null;
183
184
  forceWidth: number | null;
185
+ dumpBrowserLogs: boolean;
184
186
  };
185
187
  status: {
186
188
  type: LambdaRoutines.status;
@@ -224,6 +226,7 @@ export declare type LambdaPayloads = {
224
226
  launchFunctionConfig: {
225
227
  version: string;
226
228
  };
229
+ dumpBrowserLogs: boolean;
227
230
  };
228
231
  still: {
229
232
  type: LambdaRoutines.still;
@@ -247,6 +250,7 @@ export declare type LambdaPayloads = {
247
250
  forceHeight: number | null;
248
251
  forceWidth: number | null;
249
252
  bucketName: string | null;
253
+ dumpBrowserLogs: boolean;
250
254
  };
251
255
  compositions: {
252
256
  type: LambdaRoutines.compositions;
@@ -258,6 +262,7 @@ export declare type LambdaPayloads = {
258
262
  timeoutInMilliseconds: number;
259
263
  serveUrl: string;
260
264
  bucketName: string | null;
265
+ dumpBrowserLogs: boolean;
261
266
  };
262
267
  };
263
268
  export declare type LambdaPayload = LambdaPayloads[LambdaRoutines];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "4.0.0-alpha.179+67a31bc55",
3
+ "version": "4.0.0-alpha.217+27eff7599",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -33,17 +33,17 @@
33
33
  "@aws-sdk/credential-providers": "3.272.0",
34
34
  "@aws-sdk/lib-storage": "3.272.0",
35
35
  "@aws-sdk/s3-request-presigner": "3.272.0",
36
- "@remotion/bundler": "4.0.0-alpha.179+67a31bc55",
37
- "@remotion/cli": "4.0.0-alpha.179+67a31bc55",
38
- "@remotion/renderer": "4.0.0-alpha.179+67a31bc55",
36
+ "@remotion/bundler": "4.0.0-alpha.217+27eff7599",
37
+ "@remotion/cli": "4.0.0-alpha.217+27eff7599",
38
+ "@remotion/renderer": "4.0.0-alpha.217+27eff7599",
39
39
  "aws-policies": "^1.0.1",
40
40
  "mime-types": "2.1.34",
41
- "remotion": "4.0.0-alpha.179+67a31bc55"
41
+ "remotion": "4.0.0-alpha.217+27eff7599"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@jonny/eslint-config": "3.0.266",
45
45
  "@remotion/bundler": "workspace:*",
46
- "@remotion/compositor-linux-arm64-musl": "4.0.0-alpha.179+67a31bc55",
46
+ "@remotion/compositor-linux-arm64-musl": "4.0.0-alpha.217+27eff7599",
47
47
  "@types/mime-types": "2.1.1",
48
48
  "@types/minimist": "1.2.2",
49
49
  "@types/node": "^14.14.14",
@@ -87,5 +87,5 @@
87
87
  ]
88
88
  }
89
89
  },
90
- "gitHead": "67a31bc55b90f0de65d9538f120b23b6e5c604c5"
90
+ "gitHead": "27eff759935b19b666e29f4f46dd5bdd6214e188"
91
91
  }
Binary file
Binary file