@remotion/lambda-client 4.0.460 → 4.0.461

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
@@ -70002,6 +70002,36 @@ var DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:";
70002
70002
  var DELAY_RENDER_RETRIES_LEFT = "Retries left: ";
70003
70003
  var DELAY_RENDER_RETRY_TOKEN = "- Rendering the frame will be retried.";
70004
70004
  var DELAY_RENDER_CLEAR_TOKEN = "handle was cleared after";
70005
+ var findPropsToDelete = ({
70006
+ schema,
70007
+ key,
70008
+ value
70009
+ }) => {
70010
+ const fieldSchema = schema[key];
70011
+ if (!fieldSchema) {
70012
+ throw new Error("Key " + JSON.stringify(key) + " not found in schema");
70013
+ }
70014
+ if (typeof value !== "string") {
70015
+ throw new Error("Value must be a string, but is " + JSON.stringify(value));
70016
+ }
70017
+ if (fieldSchema.type !== "enum") {
70018
+ throw new Error("Key " + JSON.stringify(key) + " is not an enum");
70019
+ }
70020
+ const currentVariant = fieldSchema.variants[value];
70021
+ if (!currentVariant) {
70022
+ throw new Error("Value for " + JSON.stringify(key) + " must be one of " + Object.keys(fieldSchema.variants).map((v) => JSON.stringify(v)).join(", ") + ", got " + JSON.stringify(value));
70023
+ }
70024
+ const otherVariants = Object.keys(fieldSchema.variants).filter((v) => v !== value);
70025
+ const otherKeys = new Set;
70026
+ for (const variant of otherVariants) {
70027
+ const otherVariant = fieldSchema.variants[variant];
70028
+ const keys = Object.keys(otherVariant);
70029
+ for (const k of keys) {
70030
+ otherKeys.add(k);
70031
+ }
70032
+ }
70033
+ return [...otherKeys];
70034
+ };
70005
70035
  var DATE_TOKEN = "remotion-date:";
70006
70036
  var FILE_TOKEN = "remotion-file:";
70007
70037
  var serializeJSONWithSpecialTypes = ({
@@ -70669,7 +70699,8 @@ var NoReactInternals = {
70669
70699
  DATE_TOKEN,
70670
70700
  FILE_TOKEN,
70671
70701
  validateCodec,
70672
- proResProfileOptions
70702
+ proResProfileOptions,
70703
+ findPropsToDelete
70673
70704
  };
70674
70705
  var COMMAND_NOT_FOUND = "Command not found";
70675
70706
  var expiryDays = {
@@ -70735,7 +70766,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
70735
70766
  }
70736
70767
  }
70737
70768
  };
70738
- var VERSION = "4.0.460";
70769
+ var VERSION = "4.0.461";
70739
70770
  var isColorSupported = () => {
70740
70771
  const env = process.env || {};
70741
70772
  const isForceDisabled = "NO_COLOR" in env;
@@ -69345,6 +69345,36 @@ var DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:";
69345
69345
  var DELAY_RENDER_RETRIES_LEFT = "Retries left: ";
69346
69346
  var DELAY_RENDER_RETRY_TOKEN = "- Rendering the frame will be retried.";
69347
69347
  var DELAY_RENDER_CLEAR_TOKEN = "handle was cleared after";
69348
+ var findPropsToDelete = ({
69349
+ schema,
69350
+ key,
69351
+ value
69352
+ }) => {
69353
+ const fieldSchema = schema[key];
69354
+ if (!fieldSchema) {
69355
+ throw new Error("Key " + JSON.stringify(key) + " not found in schema");
69356
+ }
69357
+ if (typeof value !== "string") {
69358
+ throw new Error("Value must be a string, but is " + JSON.stringify(value));
69359
+ }
69360
+ if (fieldSchema.type !== "enum") {
69361
+ throw new Error("Key " + JSON.stringify(key) + " is not an enum");
69362
+ }
69363
+ const currentVariant = fieldSchema.variants[value];
69364
+ if (!currentVariant) {
69365
+ throw new Error("Value for " + JSON.stringify(key) + " must be one of " + Object.keys(fieldSchema.variants).map((v) => JSON.stringify(v)).join(", ") + ", got " + JSON.stringify(value));
69366
+ }
69367
+ const otherVariants = Object.keys(fieldSchema.variants).filter((v) => v !== value);
69368
+ const otherKeys = new Set;
69369
+ for (const variant of otherVariants) {
69370
+ const otherVariant = fieldSchema.variants[variant];
69371
+ const keys = Object.keys(otherVariant);
69372
+ for (const k of keys) {
69373
+ otherKeys.add(k);
69374
+ }
69375
+ }
69376
+ return [...otherKeys];
69377
+ };
69348
69378
  var DATE_TOKEN = "remotion-date:";
69349
69379
  var FILE_TOKEN = "remotion-file:";
69350
69380
  var serializeJSONWithSpecialTypes = ({
@@ -70012,7 +70042,8 @@ var NoReactInternals = {
70012
70042
  DATE_TOKEN,
70013
70043
  FILE_TOKEN,
70014
70044
  validateCodec,
70015
- proResProfileOptions
70045
+ proResProfileOptions,
70046
+ findPropsToDelete
70016
70047
  };
70017
70048
  var COMMAND_NOT_FOUND = "Command not found";
70018
70049
  var expiryDays = {
@@ -70078,7 +70109,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
70078
70109
  }
70079
70110
  }
70080
70111
  };
70081
- var VERSION = "4.0.460";
70112
+ var VERSION = "4.0.461";
70082
70113
  var isColorSupported = () => {
70083
70114
  const env = process.env || {};
70084
70115
  const isForceDisabled = "NO_COLOR" in env;
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.460",
6
+ "version": "4.0.461",
7
7
  "main": "dist/cjs/index.js",
8
8
  "sideEffects": false,
9
9
  "scripts": {
@@ -27,12 +27,12 @@
27
27
  "@aws-sdk/lib-storage": "3.986.0",
28
28
  "mime-types": "2.1.34",
29
29
  "@aws-sdk/credential-provider-ini": "3.972.5",
30
- "@remotion/serverless-client": "4.0.460",
31
- "@types/express": "^5.0.0",
30
+ "@remotion/serverless-client": "4.0.461",
31
+ "@types/express": "5.0.1",
32
32
  "express": "4.21.0",
33
- "@remotion/eslint-config-internal": "4.0.460",
33
+ "@remotion/eslint-config-internal": "4.0.461",
34
34
  "eslint": "9.19.0",
35
- "next": "16.2.3",
35
+ "next": "16.2.6",
36
36
  "@types/mime-types": "2.1.1",
37
37
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
38
38
  },