@hyperframes/studio-server 0.8.186 → 0.8.188
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/index.js +6 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -4643,6 +4643,11 @@ function registerRenderRoutes(api, adapter) {
|
|
|
4643
4643
|
}
|
|
4644
4644
|
const encoder = parseEncoderOptions(body, format);
|
|
4645
4645
|
if (!encoder.ok) return c.json({ error: encoder.error }, 400);
|
|
4646
|
+
const requestedPageMotionBlur = body.pageMotionBlur;
|
|
4647
|
+
if (requestedPageMotionBlur !== void 0 && requestedPageMotionBlur !== "off") {
|
|
4648
|
+
return c.json({ error: "pageMotionBlur must be off when supplied" }, 400);
|
|
4649
|
+
}
|
|
4650
|
+
const pageMotionBlur = requestedPageMotionBlur === void 0 && body.previewMotionBlur === false ? "off" : requestedPageMotionBlur;
|
|
4646
4651
|
const now = /* @__PURE__ */ new Date();
|
|
4647
4652
|
const jobId = `${project.id}_${formatRenderOutputTimestamp(now)}`;
|
|
4648
4653
|
const rendersDir = adapter.rendersDir(project);
|
|
@@ -4663,7 +4668,7 @@ function registerRenderRoutes(api, adapter) {
|
|
|
4663
4668
|
useGpu: body.gpu === true && format === "mp4",
|
|
4664
4669
|
distinctId: typeof body.telemetryDistinctId === "string" ? body.telemetryDistinctId : void 0,
|
|
4665
4670
|
telemetryOptOut: body.telemetryOptOut === true,
|
|
4666
|
-
...
|
|
4671
|
+
...pageMotionBlur === void 0 ? {} : { pageMotionBlur }
|
|
4667
4672
|
});
|
|
4668
4673
|
jobState.createdAt = Date.now();
|
|
4669
4674
|
renderJobs.set(jobId, jobState);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/studio-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.188",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"linkedom": "^0.18.12",
|
|
85
85
|
"postcss": "^8.5.8",
|
|
86
86
|
"postcss-selector-parser": "^7.1.2",
|
|
87
|
-
"@hyperframes/
|
|
88
|
-
"@hyperframes/
|
|
87
|
+
"@hyperframes/parsers": "0.8.188",
|
|
88
|
+
"@hyperframes/core": "0.8.188"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@types/node": "^25.0.10",
|