@remotion/lambda 4.0.227 → 4.0.229

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.
@@ -2,4 +2,4 @@ import type { LogLevel } from '@remotion/renderer';
2
2
  import type { ProviderSpecifics } from '@remotion/serverless';
3
3
  import type { AwsProvider } from '../../../functions/aws-implementation';
4
4
  export declare const SITES_COMMAND = "sites";
5
- export declare const sitesCommand: (args: string[], remotionRoot: string, logLevel: LogLevel, implementation: ProviderSpecifics<AwsProvider>) => Promise<void> | undefined;
5
+ export declare const sitesCommand: (args: string[], remotionRoot: string, logLevel: LogLevel, implementation: ProviderSpecifics<AwsProvider>) => Promise<boolean | void> | undefined;
@@ -1,3 +1,3 @@
1
1
  import type { LogLevel } from '@remotion/renderer';
2
2
  export declare const SITES_LS_SUBCOMMAND = "ls";
3
- export declare const sitesLsSubcommand: (logLevel: LogLevel) => Promise<void>;
3
+ export declare const sitesLsSubcommand: (logLevel: LogLevel) => Promise<boolean | void>;
package/dist/cli/log.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  export declare const Log: {
2
2
  verbose: (options: import("@remotion/renderer").LogOptions & {
3
3
  tag?: string;
4
- }, ...args: Parameters<typeof console.log>) => void;
5
- info: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => void;
6
- warn: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => void;
4
+ }, ...args: Parameters<typeof console.log>) => boolean | void;
5
+ info: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => boolean | void;
6
+ warn: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => boolean | void;
7
7
  error: (options: import("@remotion/renderer").LogOptions & {
8
8
  tag?: string;
9
- }, ...args: Parameters<typeof console.log>) => void;
9
+ }, ...args: Parameters<typeof console.log>) => boolean | void;
10
10
  };
@@ -217,6 +217,7 @@ const renderHandler = async ({ params, options, logs, onStream, providerSpecific
217
217
  },
218
218
  onArtifact,
219
219
  metadata: params.metadata,
220
+ hardwareAcceleration: 'disable',
220
221
  })
221
222
  .then(({ slowestFrames }) => {
222
223
  renderer_1.RenderInternals.Log.verbose({ indent: false, logLevel: params.logLevel }, `Slowest frames:`);
@@ -29,12 +29,13 @@ exports.callLambda = callLambda;
29
29
  const callLambdaWithStreaming = async (options) => {
30
30
  // As of August 2023, Lambda streaming sometimes misses parts of the JSON response.
31
31
  // Handling this for now by applying a retry mechanism.
32
+ var _a;
32
33
  try {
33
34
  // Do not remove this await
34
35
  await callLambdaWithStreamingWithoutRetry(options);
35
36
  }
36
37
  catch (err) {
37
- if (err.message.includes('TooManyRequestsException')) {
38
+ if ((_a = err.stack) === null || _a === void 0 ? void 0 : _a.includes('TooManyRequestsException')) {
38
39
  throw new Error(`AWS Concurrency limit reached (Original Error: ${err.message}). See https://www.remotion.dev/docs/lambda/troubleshooting/rate-limit for tips to fix this.`);
39
40
  }
40
41
  if (!err.message.includes(INVALID_JSON_MESSAGE) &&
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.227",
6
+ "version": "4.0.229",
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.645.0",
23
23
  "mime-types": "2.1.34",
24
24
  "zod": "3.22.3",
25
- "@remotion/bundler": "4.0.227",
26
- "@remotion/renderer": "4.0.227",
27
- "@remotion/cli": "4.0.227",
28
- "@remotion/studio-server": "4.0.227",
29
- "@remotion/serverless": "4.0.227",
30
- "@remotion/streaming": "4.0.227",
31
- "remotion": "4.0.227"
25
+ "@remotion/bundler": "4.0.229",
26
+ "@remotion/serverless": "4.0.229",
27
+ "@remotion/cli": "4.0.229",
28
+ "@remotion/streaming": "4.0.229",
29
+ "remotion": "4.0.229",
30
+ "@remotion/renderer": "4.0.229",
31
+ "@remotion/studio-server": "4.0.229"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/mime-types": "2.1.1",
@@ -38,12 +38,12 @@
38
38
  "vitest": "0.31.1",
39
39
  "zip-lib": "^0.7.2",
40
40
  "eslint": "9.14.0",
41
- "@remotion/eslint-config-internal": "4.0.227",
42
- "@remotion/compositor-linux-arm64-gnu": "4.0.227",
43
- "@remotion/bundler": "4.0.227"
41
+ "@remotion/compositor-linux-arm64-gnu": "4.0.229",
42
+ "@remotion/eslint-config-internal": "4.0.229",
43
+ "@remotion/bundler": "4.0.229"
44
44
  },
45
45
  "peerDependencies": {
46
- "@remotion/bundler": "4.0.227"
46
+ "@remotion/bundler": "4.0.229"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
Binary file