@remotion/lambda-client 4.0.410 → 4.0.411

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/cjs/index.js CHANGED
@@ -66556,7 +66556,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
66556
66556
  }
66557
66557
  }
66558
66558
  };
66559
- var VERSION = "4.0.410";
66559
+ var VERSION = "4.0.411";
66560
66560
  var isColorSupported = () => {
66561
66561
  const env = process.env || {};
66562
66562
  const isForceDisabled = "NO_COLOR" in env;
@@ -68873,6 +68873,9 @@ var callLambdaSyncWithoutRetry = async ({
68873
68873
  Payload,
68874
68874
  InvocationType: "RequestResponse"
68875
68875
  }));
68876
+ if (res.FunctionError) {
68877
+ throw new Error(`Lambda function returned error: ${res.FunctionError} ${res.LogResult}`);
68878
+ }
68876
68879
  const decoded = new TextDecoder("utf-8").decode(res.Payload);
68877
68880
  try {
68878
68881
  return JSON.parse(decoded);
@@ -65899,7 +65899,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
65899
65899
  }
65900
65900
  }
65901
65901
  };
65902
- var VERSION = "4.0.410";
65902
+ var VERSION = "4.0.411";
65903
65903
  var isColorSupported = () => {
65904
65904
  const env = process.env || {};
65905
65905
  const isForceDisabled = "NO_COLOR" in env;
@@ -68216,6 +68216,9 @@ var callLambdaSyncWithoutRetry = async ({
68216
68216
  Payload,
68217
68217
  InvocationType: "RequestResponse"
68218
68218
  }));
68219
+ if (res.FunctionError) {
68220
+ throw new Error(`Lambda function returned error: ${res.FunctionError} ${res.LogResult}`);
68221
+ }
68219
68222
  const decoded = new TextDecoder("utf-8").decode(res.Payload);
68220
68223
  try {
68221
68224
  return JSON.parse(decoded);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda-client"
4
4
  },
5
5
  "name": "@remotion/lambda-client",
6
- "version": "4.0.410",
6
+ "version": "4.0.411",
7
7
  "main": "dist/cjs/index.js",
8
8
  "sideEffects": false,
9
9
  "scripts": {
@@ -31,7 +31,7 @@
31
31
  "express": "4.21.0",
32
32
  "@remotion/eslint-config-internal": "4.0.410",
33
33
  "eslint": "9.19.0",
34
- "next": "16.0.10",
34
+ "next": "16.1.5",
35
35
  "@types/mime-types": "2.1.1"
36
36
  },
37
37
  "publishConfig": {