@remotion/serverless-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/esm/index.mjs +33 -2
- package/package.json +5 -5
package/dist/esm/index.mjs
CHANGED
|
@@ -144,6 +144,36 @@ var DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:";
|
|
|
144
144
|
var DELAY_RENDER_RETRIES_LEFT = "Retries left: ";
|
|
145
145
|
var DELAY_RENDER_RETRY_TOKEN = "- Rendering the frame will be retried.";
|
|
146
146
|
var DELAY_RENDER_CLEAR_TOKEN = "handle was cleared after";
|
|
147
|
+
var findPropsToDelete = ({
|
|
148
|
+
schema,
|
|
149
|
+
key,
|
|
150
|
+
value
|
|
151
|
+
}) => {
|
|
152
|
+
const fieldSchema = schema[key];
|
|
153
|
+
if (!fieldSchema) {
|
|
154
|
+
throw new Error("Key " + JSON.stringify(key) + " not found in schema");
|
|
155
|
+
}
|
|
156
|
+
if (typeof value !== "string") {
|
|
157
|
+
throw new Error("Value must be a string, but is " + JSON.stringify(value));
|
|
158
|
+
}
|
|
159
|
+
if (fieldSchema.type !== "enum") {
|
|
160
|
+
throw new Error("Key " + JSON.stringify(key) + " is not an enum");
|
|
161
|
+
}
|
|
162
|
+
const currentVariant = fieldSchema.variants[value];
|
|
163
|
+
if (!currentVariant) {
|
|
164
|
+
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));
|
|
165
|
+
}
|
|
166
|
+
const otherVariants = Object.keys(fieldSchema.variants).filter((v) => v !== value);
|
|
167
|
+
const otherKeys = new Set;
|
|
168
|
+
for (const variant of otherVariants) {
|
|
169
|
+
const otherVariant = fieldSchema.variants[variant];
|
|
170
|
+
const keys = Object.keys(otherVariant);
|
|
171
|
+
for (const k of keys) {
|
|
172
|
+
otherKeys.add(k);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
return [...otherKeys];
|
|
176
|
+
};
|
|
147
177
|
var DATE_TOKEN = "remotion-date:";
|
|
148
178
|
var FILE_TOKEN = "remotion-file:";
|
|
149
179
|
var serializeJSONWithSpecialTypes = ({
|
|
@@ -811,7 +841,8 @@ var NoReactInternals = {
|
|
|
811
841
|
DATE_TOKEN,
|
|
812
842
|
FILE_TOKEN,
|
|
813
843
|
validateCodec,
|
|
814
|
-
proResProfileOptions
|
|
844
|
+
proResProfileOptions,
|
|
845
|
+
findPropsToDelete
|
|
815
846
|
};
|
|
816
847
|
|
|
817
848
|
// src/constants.ts
|
|
@@ -1000,7 +1031,7 @@ var validateFramesPerFunction = ({
|
|
|
1000
1031
|
import * as tty from "tty";
|
|
1001
1032
|
|
|
1002
1033
|
// ../core/dist/esm/version.mjs
|
|
1003
|
-
var VERSION = "4.0.
|
|
1034
|
+
var VERSION = "4.0.461";
|
|
1004
1035
|
|
|
1005
1036
|
// ../renderer/dist/esm/error-handling.mjs
|
|
1006
1037
|
var isColorSupported = () => {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/serverless-client"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/serverless-client",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.461",
|
|
7
7
|
"main": "dist",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"remotion": "4.0.
|
|
28
|
-
"@remotion/streaming": "4.0.
|
|
29
|
-
"@remotion/renderer": "4.0.
|
|
30
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
27
|
+
"remotion": "4.0.461",
|
|
28
|
+
"@remotion/streaming": "4.0.461",
|
|
29
|
+
"@remotion/renderer": "4.0.461",
|
|
30
|
+
"@remotion/eslint-config-internal": "4.0.461",
|
|
31
31
|
"eslint": "9.19.0",
|
|
32
32
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
33
33
|
},
|