@remotion/lambda 4.0.193 → 4.0.196

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.
@@ -392,6 +392,7 @@ const renderCommand = async (args, remotionRoot, logLevel, implementation) => {
392
392
  name: err.name,
393
393
  stack: err.stack,
394
394
  stackFrame: frames,
395
+ chunk: err.chunk,
395
396
  });
396
397
  await cli_1.CliInternals.printError(errorWithStackFrame, logLevel);
397
398
  }
package/dist/cli/index.js CHANGED
@@ -160,6 +160,7 @@ AWS returned an error message "The security token included in the request is inv
160
160
  name: error.name,
161
161
  stack: error.stack,
162
162
  stackFrame: frames,
163
+ chunk: null,
163
164
  });
164
165
  await cli_1.CliInternals.printError(errorWithStackFrame, logLevel);
165
166
  }
@@ -296,7 +296,7 @@ const rendererHandler = async ({ onStream, options, params, providerSpecifics, r
296
296
  const shouldNotRetry = err.name === 'CancelledError';
297
297
  const shouldRetry = isRetryableError && params.retriesLeft > 0 && !shouldNotRetry;
298
298
  renderer_1.RenderInternals.Log.error({ indent: false, logLevel: params.logLevel }, `Error occurred (will retry = ${String(shouldRetry)})`);
299
- renderer_1.RenderInternals.Log.error({ indent: false, logLevel: params.logLevel }, err);
299
+ renderer_1.RenderInternals.Log.error({ indent: false, logLevel: params.logLevel }, err.stack);
300
300
  onStream({
301
301
  type: 'error-occurred',
302
302
  payload: {
@@ -17,9 +17,9 @@ export declare const COMMAND_NOT_FOUND = "Command not found";
17
17
  export declare const DEFAULT_REGION: AwsRegion;
18
18
  export declare const DEFAULT_MAX_RETRIES = 1;
19
19
  export declare const MAX_FUNCTIONS_PER_RENDER = 200;
20
- export declare const DEFAULT_EPHEMERAL_STORAGE_IN_MB = 2048;
21
- export declare const MIN_EPHEMERAL_STORAGE_IN_MB = 512;
22
20
  export declare const MAX_EPHEMERAL_STORAGE_IN_MB = 10240;
21
+ export declare const DEFAULT_EPHEMERAL_STORAGE_IN_MB: number;
22
+ export declare const MIN_EPHEMERAL_STORAGE_IN_MB = 512;
23
23
  export declare const DEFAULT_OUTPUT_PRIVACY: Privacy;
24
24
  export declare const DEFAULT_CLOUDWATCH_RETENTION_PERIOD = 14;
25
25
  export declare const RENDER_FN_PREFIX = "remotion-render-";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LAMBDA_CONCURRENCY_LIMIT_QUOTA = exports.REMOTION_FILELIST_TOKEN = exports.REMOTION_CONCATED_TOKEN = exports.CONCAT_FOLDER_TOKEN = exports.RENDERER_PATH_TOKEN = exports.getSitesKey = exports.LAMBDA_INSIGHTS_PREFIX = exports.LOG_GROUP_PREFIX = exports.RENDER_FN_PREFIX = exports.DEFAULT_CLOUDWATCH_RETENTION_PERIOD = exports.DEFAULT_OUTPUT_PRIVACY = exports.MAX_EPHEMERAL_STORAGE_IN_MB = exports.MIN_EPHEMERAL_STORAGE_IN_MB = exports.DEFAULT_EPHEMERAL_STORAGE_IN_MB = exports.MAX_FUNCTIONS_PER_RENDER = exports.DEFAULT_MAX_RETRIES = exports.DEFAULT_REGION = exports.COMMAND_NOT_FOUND = exports.BINARY_NAME = exports.DEFAULT_FRAMES_PER_LAMBDA = exports.MINIMUM_FRAMES_PER_LAMBDA = exports.MAX_TIMEOUT = exports.MIN_TIMEOUT = exports.DEFAULT_TIMEOUT = exports.DEFAULT_MEMORY_SIZE = exports.MAX_MEMORY = exports.MIN_MEMORY = void 0;
3
+ exports.LAMBDA_CONCURRENCY_LIMIT_QUOTA = exports.REMOTION_FILELIST_TOKEN = exports.REMOTION_CONCATED_TOKEN = exports.CONCAT_FOLDER_TOKEN = exports.RENDERER_PATH_TOKEN = exports.getSitesKey = exports.LAMBDA_INSIGHTS_PREFIX = exports.LOG_GROUP_PREFIX = exports.RENDER_FN_PREFIX = exports.DEFAULT_CLOUDWATCH_RETENTION_PERIOD = exports.DEFAULT_OUTPUT_PRIVACY = exports.MIN_EPHEMERAL_STORAGE_IN_MB = exports.DEFAULT_EPHEMERAL_STORAGE_IN_MB = exports.MAX_EPHEMERAL_STORAGE_IN_MB = exports.MAX_FUNCTIONS_PER_RENDER = exports.DEFAULT_MAX_RETRIES = exports.DEFAULT_REGION = exports.COMMAND_NOT_FOUND = exports.BINARY_NAME = exports.DEFAULT_FRAMES_PER_LAMBDA = exports.MINIMUM_FRAMES_PER_LAMBDA = exports.MAX_TIMEOUT = exports.MIN_TIMEOUT = exports.DEFAULT_TIMEOUT = exports.DEFAULT_MEMORY_SIZE = exports.MAX_MEMORY = exports.MIN_MEMORY = void 0;
4
+ const no_react_1 = require("remotion/no-react");
4
5
  exports.MIN_MEMORY = 512;
5
6
  exports.MAX_MEMORY = 10240;
6
7
  exports.DEFAULT_MEMORY_SIZE = 2048;
@@ -14,9 +15,11 @@ exports.COMMAND_NOT_FOUND = 'Command not found';
14
15
  exports.DEFAULT_REGION = 'us-east-1';
15
16
  exports.DEFAULT_MAX_RETRIES = 1;
16
17
  exports.MAX_FUNCTIONS_PER_RENDER = 200;
17
- exports.DEFAULT_EPHEMERAL_STORAGE_IN_MB = 2048;
18
- exports.MIN_EPHEMERAL_STORAGE_IN_MB = 512;
19
18
  exports.MAX_EPHEMERAL_STORAGE_IN_MB = 10240;
19
+ exports.DEFAULT_EPHEMERAL_STORAGE_IN_MB = no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES
20
+ ? exports.MAX_EPHEMERAL_STORAGE_IN_MB
21
+ : 2048;
22
+ exports.MIN_EPHEMERAL_STORAGE_IN_MB = 512;
20
23
  exports.DEFAULT_OUTPUT_PRIVACY = 'public';
21
24
  exports.DEFAULT_CLOUDWATCH_RETENTION_PERIOD = 14;
22
25
  exports.RENDER_FN_PREFIX = 'remotion-render-';
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
4
4
  },
5
5
  "name": "@remotion/lambda",
6
- "version": "4.0.193",
6
+ "version": "4.0.196",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -22,13 +22,13 @@
22
22
  "@aws-sdk/s3-request-presigner": "3.583.0",
23
23
  "mime-types": "2.1.34",
24
24
  "zod": "3.22.3",
25
- "@remotion/bundler": "4.0.193",
26
- "@remotion/cli": "4.0.193",
27
- "@remotion/serverless": "4.0.193",
28
- "remotion": "4.0.193",
29
- "@remotion/streaming": "4.0.193",
30
- "@remotion/renderer": "4.0.193",
31
- "@remotion/studio-server": "4.0.193"
25
+ "@remotion/bundler": "4.0.196",
26
+ "@remotion/cli": "4.0.196",
27
+ "@remotion/streaming": "4.0.196",
28
+ "@remotion/studio-server": "4.0.196",
29
+ "@remotion/renderer": "4.0.196",
30
+ "remotion": "4.0.196",
31
+ "@remotion/serverless": "4.0.196"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/mime-types": "2.1.1",
@@ -37,11 +37,11 @@
37
37
  "pureimage": "0.4.13",
38
38
  "vitest": "0.31.1",
39
39
  "zip-lib": "^0.7.2",
40
- "@remotion/bundler": "4.0.193",
41
- "@remotion/compositor-linux-arm64-gnu": "4.0.193"
40
+ "@remotion/bundler": "4.0.196",
41
+ "@remotion/compositor-linux-arm64-gnu": "4.0.196"
42
42
  },
43
43
  "peerDependencies": {
44
- "@remotion/bundler": "4.0.193"
44
+ "@remotion/bundler": "4.0.196"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
Binary file