@remotion/lambda 4.0.352 → 4.0.354

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/cli/index.js CHANGED
@@ -116,7 +116,7 @@ const matchCommand = ({ args, remotionRoot, logLevel, providerSpecifics, fullCli
116
116
  (0, quit_1.quit)(1);
117
117
  };
118
118
  const executeCommand = async (args, remotionRoot, logLevel, _providerSpecifics, fullClientSpecifics) => {
119
- var _a, _b, _c, _d, _e;
119
+ var _a, _b, _c, _d, _e, _f;
120
120
  try {
121
121
  const providerSpecifics = _providerSpecifics !== null && _providerSpecifics !== void 0 ? _providerSpecifics : lambda_client_1.LambdaClientInternals.awsImplementation;
122
122
  await matchCommand({
@@ -157,7 +157,12 @@ AWS returned an "AccessDenied" error message meaning a permission is missing. Re
157
157
  AWS returned an "TooManyRequestsException" error message which could mean you reached the concurrency limit of AWS Lambda. You can increase the limit - read this troubleshooting page: ${serverless_1.DOCS_URL}/docs/lambda/troubleshooting/rate-limit. The original error message is:
158
158
  `.trim());
159
159
  }
160
- if ((_c = error.stack) === null || _c === void 0 ? void 0 : _c.includes('The security token included in the request is invalid')) {
160
+ if ((_c = error.stack) === null || _c === void 0 ? void 0 : _c.includes('ConcurrentInvocationLimitExceeded')) {
161
+ log_1.Log.error({ indent: false, logLevel }, `
162
+ AWS returned an "ConcurrentInvocationLimitExceeded" error message which could mean you reached the concurrency limit of AWS Lambda. You can increase the limit - read this troubleshooting page: ${serverless_1.DOCS_URL}/docs/lambda/troubleshooting/rate-limit. The original error message is:
163
+ `.trim());
164
+ }
165
+ if ((_d = error.stack) === null || _d === void 0 ? void 0 : _d.includes('The security token included in the request is invalid')) {
161
166
  const keyButDoesntStartWithAki = lambda_client_1.LambdaClientInternals.getEnvVariable('REMOTION_AWS_ACCESS_KEY_ID') &&
162
167
  !lambda_client_1.LambdaClientInternals.getEnvVariable('REMOTION_AWS_ACCESS_KEY_ID').startsWith('AKI');
163
168
  const pureKeyButDoesntStartWithAki = lambda_client_1.LambdaClientInternals.getEnvVariable('AWS_ACCESS_KEY_ID') &&
@@ -177,7 +182,7 @@ AWS returned an error message "The security token included in the request is inv
177
182
  await cli_1.CliInternals.printError(error, logLevel);
178
183
  }
179
184
  else {
180
- const frames = renderer_1.RenderInternals.parseStack((_e = (_d = error.stack) === null || _d === void 0 ? void 0 : _d.split('\n')) !== null && _e !== void 0 ? _e : []);
185
+ const frames = renderer_1.RenderInternals.parseStack((_f = (_e = error.stack) === null || _e === void 0 ? void 0 : _e.split('\n')) !== null && _f !== void 0 ? _f : []);
181
186
  const errorWithStackFrame = new renderer_1.RenderInternals.SymbolicateableError({
182
187
  message: error.message,
183
188
  frame: null,
@@ -8604,7 +8604,7 @@ var require_package = __commonJS((exports, module) => {
8604
8604
  url: "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
8605
8605
  },
8606
8606
  name: "@remotion/lambda",
8607
- version: "4.0.352",
8607
+ version: "4.0.354",
8608
8608
  description: "Render Remotion videos on AWS Lambda",
8609
8609
  main: "dist/index.js",
8610
8610
  sideEffects: false,
@@ -12856,6 +12856,11 @@ AWS returned an "AccessDenied" error message meaning a permission is missing. Re
12856
12856
  if (error.stack?.includes("TooManyRequestsException")) {
12857
12857
  Log.error({ indent: false, logLevel }, `
12858
12858
  AWS returned an "TooManyRequestsException" error message which could mean you reached the concurrency limit of AWS Lambda. You can increase the limit - read this troubleshooting page: ${DOCS_URL}/docs/lambda/troubleshooting/rate-limit. The original error message is:
12859
+ `.trim());
12860
+ }
12861
+ if (error.stack?.includes("ConcurrentInvocationLimitExceeded")) {
12862
+ Log.error({ indent: false, logLevel }, `
12863
+ AWS returned an "ConcurrentInvocationLimitExceeded" error message which could mean you reached the concurrency limit of AWS Lambda. You can increase the limit - read this troubleshooting page: ${DOCS_URL}/docs/lambda/troubleshooting/rate-limit. The original error message is:
12859
12864
  `.trim());
12860
12865
  }
12861
12866
  if (error.stack?.includes("The security token included in the request is invalid")) {
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.352",
6
+ "version": "4.0.354",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -21,13 +21,13 @@
21
21
  "@aws-sdk/lib-storage": "3.787.0",
22
22
  "@smithy/abort-controller": "4.0.1",
23
23
  "zod": "3.22.3",
24
- "@remotion/bundler": "4.0.352",
25
- "@remotion/streaming": "4.0.352",
26
- "@remotion/lambda-client": "4.0.352",
27
- "remotion": "4.0.352",
28
- "@remotion/cli": "4.0.352",
29
- "@remotion/renderer": "4.0.352",
30
- "@remotion/serverless": "4.0.352"
24
+ "@remotion/bundler": "4.0.354",
25
+ "@remotion/cli": "4.0.354",
26
+ "@remotion/lambda-client": "4.0.354",
27
+ "@remotion/renderer": "4.0.354",
28
+ "@remotion/serverless": "4.0.354",
29
+ "remotion": "4.0.354",
30
+ "@remotion/streaming": "4.0.354"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/express": "^5.0.0",
@@ -40,12 +40,12 @@
40
40
  "next": "15.4.7",
41
41
  "pureimage": "0.4.13",
42
42
  "zip-lib": "^0.7.2",
43
- "@remotion/eslint-config-internal": "4.0.352",
44
- "@remotion/compositor-linux-arm64-gnu": "4.0.352",
45
- "@remotion/bundler": "4.0.352"
43
+ "@remotion/bundler": "4.0.354",
44
+ "@remotion/compositor-linux-arm64-gnu": "4.0.354",
45
+ "@remotion/eslint-config-internal": "4.0.354"
46
46
  },
47
47
  "peerDependencies": {
48
- "@remotion/bundler": "4.0.352"
48
+ "@remotion/bundler": "4.0.354"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"
Binary file