@remotion/lambda 4.0.35 → 4.0.36

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.
@@ -19,9 +19,9 @@ type LambdaCommandLineOptions = {
19
19
  ['disable-chunk-optimization']: boolean;
20
20
  ['save-browser-logs']: boolean;
21
21
  ['disable-cloudwatch']: boolean;
22
- ['max-retries']: number;
23
- ['frames-per-lambda']: number;
24
- ['concurrency-per-lambda']: number;
22
+ ['max-retries']?: number;
23
+ ['frames-per-lambda']?: number;
24
+ ['concurrency-per-lambda']?: number;
25
25
  ['out-name']: string | undefined;
26
26
  ['custom-role-arn']: string | undefined;
27
27
  privacy: Privacy;
@@ -23,7 +23,7 @@ const log_1 = require("../../log");
23
23
  const progress_1 = require("./progress");
24
24
  exports.RENDER_COMMAND = 'render';
25
25
  const renderCommand = async (args, remotionRoot) => {
26
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
26
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
27
27
  const serveUrl = args[0];
28
28
  if (!serveUrl) {
29
29
  log_1.Log.error('No serve URL passed.');
@@ -113,7 +113,7 @@ const renderCommand = async (args, remotionRoot) => {
113
113
  region,
114
114
  maxRetries,
115
115
  composition,
116
- framesPerLambda,
116
+ framesPerLambda: framesPerLambda !== null && framesPerLambda !== void 0 ? framesPerLambda : null,
117
117
  privacy,
118
118
  logLevel,
119
119
  frameRange: frameRange !== null && frameRange !== void 0 ? frameRange : null,
@@ -123,7 +123,7 @@ const renderCommand = async (args, remotionRoot) => {
123
123
  scale,
124
124
  numberOfGifLoops,
125
125
  everyNthFrame,
126
- concurrencyPerLambda: args_1.parsedLambdaCli['concurrency-per-lambda'],
126
+ concurrencyPerLambda: (_g = args_1.parsedLambdaCli['concurrency-per-lambda']) !== null && _g !== void 0 ? _g : 1,
127
127
  muted,
128
128
  overwrite,
129
129
  audioBitrate,
@@ -133,12 +133,12 @@ const renderCommand = async (args, remotionRoot) => {
133
133
  webhook: args_1.parsedLambdaCli.webhook
134
134
  ? {
135
135
  url: args_1.parsedLambdaCli.webhook,
136
- secret: (_g = args_1.parsedLambdaCli['webhook-secret']) !== null && _g !== void 0 ? _g : null,
136
+ secret: (_h = args_1.parsedLambdaCli['webhook-secret']) !== null && _h !== void 0 ? _h : null,
137
137
  customData: webhookCustomData,
138
138
  }
139
139
  : null,
140
- rendererFunctionName: (_h = args_1.parsedLambdaCli['renderer-function-name']) !== null && _h !== void 0 ? _h : null,
141
- forceBucketName: (_j = args_1.parsedLambdaCli['force-bucket-name']) !== null && _j !== void 0 ? _j : null,
140
+ rendererFunctionName: (_j = args_1.parsedLambdaCli['renderer-function-name']) !== null && _j !== void 0 ? _j : null,
141
+ forceBucketName: (_k = args_1.parsedLambdaCli['force-bucket-name']) !== null && _k !== void 0 ? _k : null,
142
142
  audioCodec: cli_1.CliInternals.parsedCli['audio-codec'],
143
143
  deleteAfter: deleteAfter !== null && deleteAfter !== void 0 ? deleteAfter : null,
144
144
  colorSpace,
@@ -3,8 +3,5 @@ export declare const planFrameRanges: ({ framesPerLambda, frameRange, everyNthFr
3
3
  frameRange: [number, number];
4
4
  everyNthFrame: number;
5
5
  }) => {
6
- chunks: [
7
- number,
8
- number
9
- ][];
6
+ chunks: [number, number][];
10
7
  };
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
1
3
  import https from 'https';
2
4
  import http from 'node:http';
3
5
  import type { EnhancedErrorInfo } from '../functions/helpers/write-lambda-error';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "4.0.35",
3
+ "version": "4.0.36",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -26,10 +26,10 @@
26
26
  "aws-policies": "^1.0.1",
27
27
  "mime-types": "2.1.34",
28
28
  "zod": "3.21.4",
29
- "@remotion/bundler": "4.0.35",
30
- "@remotion/renderer": "4.0.35",
31
- "remotion": "4.0.35",
32
- "@remotion/cli": "4.0.35"
29
+ "@remotion/cli": "4.0.36",
30
+ "@remotion/renderer": "4.0.36",
31
+ "@remotion/bundler": "4.0.36",
32
+ "remotion": "4.0.36"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@jonny/eslint-config": "3.0.266",
@@ -43,11 +43,11 @@
43
43
  "ts-node": "^10.8.0",
44
44
  "vitest": "0.31.1",
45
45
  "zip-lib": "^0.7.2",
46
- "@remotion/bundler": "4.0.35",
47
- "@remotion/compositor-linux-arm64-gnu": "4.0.35"
46
+ "@remotion/bundler": "4.0.36",
47
+ "@remotion/compositor-linux-arm64-gnu": "4.0.36"
48
48
  },
49
49
  "peerDependencies": {
50
- "@remotion/bundler": "4.0.35"
50
+ "@remotion/bundler": "4.0.36"
51
51
  },
52
52
  "publishConfig": {
53
53
  "access": "public"
Binary file