@remotion/lambda-client 4.0.421 → 4.0.423

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
@@ -70578,7 +70578,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
70578
70578
  }
70579
70579
  }
70580
70580
  };
70581
- var VERSION = "4.0.421";
70581
+ var VERSION = "4.0.423";
70582
70582
  var isColorSupported = () => {
70583
70583
  const env = process.env || {};
70584
70584
  const isForceDisabled = "NO_COLOR" in env;
@@ -72913,6 +72913,9 @@ var callLambdaSyncWithoutRetry = async ({
72913
72913
  if (res.FunctionError) {
72914
72914
  throw new Error(`Lambda function returned error: ${res.FunctionError} ${res.LogResult}`);
72915
72915
  }
72916
+ if (!res.Payload) {
72917
+ throw new Error(`Lambda function returned no payload (status ${res.StatusCode})`);
72918
+ }
72916
72919
  const decoded = new TextDecoder("utf-8").decode(res.Payload);
72917
72920
  try {
72918
72921
  return JSON.parse(decoded);
@@ -69921,7 +69921,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
69921
69921
  }
69922
69922
  }
69923
69923
  };
69924
- var VERSION = "4.0.421";
69924
+ var VERSION = "4.0.423";
69925
69925
  var isColorSupported = () => {
69926
69926
  const env = process.env || {};
69927
69927
  const isForceDisabled = "NO_COLOR" in env;
@@ -72256,6 +72256,9 @@ var callLambdaSyncWithoutRetry = async ({
72256
72256
  if (res.FunctionError) {
72257
72257
  throw new Error(`Lambda function returned error: ${res.FunctionError} ${res.LogResult}`);
72258
72258
  }
72259
+ if (!res.Payload) {
72260
+ throw new Error(`Lambda function returned no payload (status ${res.StatusCode})`);
72261
+ }
72259
72262
  const decoded = new TextDecoder("utf-8").decode(res.Payload);
72260
72263
  try {
72261
72264
  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.421",
6
+ "version": "4.0.423",
7
7
  "main": "dist/cjs/index.js",
8
8
  "sideEffects": false,
9
9
  "scripts": {
@@ -26,10 +26,10 @@
26
26
  "@aws-sdk/lib-storage": "3.986.0",
27
27
  "mime-types": "2.1.34",
28
28
  "@aws-sdk/credential-provider-ini": "3.972.5",
29
- "@remotion/serverless-client": "4.0.421",
29
+ "@remotion/serverless-client": "4.0.423",
30
30
  "@types/express": "^5.0.0",
31
31
  "express": "4.21.0",
32
- "@remotion/eslint-config-internal": "4.0.421",
32
+ "@remotion/eslint-config-internal": "4.0.423",
33
33
  "eslint": "9.19.0",
34
34
  "next": "16.1.5",
35
35
  "@types/mime-types": "2.1.1"