@hyperframes/producer 0.9.68 → 0.9.69
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/distributed.js
CHANGED
|
@@ -3468,7 +3468,10 @@ async function prepareHeifImageInputs(html, options) {
|
|
|
3468
3468
|
}
|
|
3469
3469
|
|
|
3470
3470
|
// src/services/htmlCompiler.ts
|
|
3471
|
-
import {
|
|
3471
|
+
import {
|
|
3472
|
+
createStudioPositionSeekReapplyScript,
|
|
3473
|
+
htmlHasStudioPositionEdits
|
|
3474
|
+
} from "@hyperframes/studio-server/manual-edits-render-script";
|
|
3472
3475
|
import { getPositionEditsRenderScript } from "@hyperframes/core/runtime/position-edits-render";
|
|
3473
3476
|
|
|
3474
3477
|
// src/services/assetMediaType.ts
|
|
@@ -5078,14 +5081,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
5078
5081
|
abortSignal: options.abortSignal
|
|
5079
5082
|
});
|
|
5080
5083
|
const assembledHtml = await inlineExternalScripts(coalescedHtml, budget);
|
|
5081
|
-
const
|
|
5082
|
-
'data-hf-studio-path-offset="true"',
|
|
5083
|
-
'data-hf-studio-box-size="true"',
|
|
5084
|
-
'data-hf-studio-rotation="true"',
|
|
5085
|
-
'data-hf-studio-motion="'
|
|
5086
|
-
];
|
|
5087
|
-
const hasPositionEdits = HF_POSITION_ATTRS.some((attr) => assembledHtml.includes(attr));
|
|
5088
|
-
const htmlWithPositionScript = hasPositionEdits ? insertBeforeCloseTag(
|
|
5084
|
+
const htmlWithPositionScript = htmlHasStudioPositionEdits(assembledHtml) ? insertBeforeCloseTag(
|
|
5089
5085
|
assembledHtml,
|
|
5090
5086
|
"body",
|
|
5091
5087
|
`<script>${createStudioPositionSeekReapplyScript()}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "0.1.0",
|
|
3
3
|
"buildId": "dev",
|
|
4
|
-
"sha256": "
|
|
4
|
+
"sha256": "b80e7f680f11ef0b2095d559d0709e1f1a606424fd7ea3efc0f778222f183615",
|
|
5
5
|
"artifacts": {
|
|
6
6
|
"iife": "hyperframe.runtime.iife.js",
|
|
7
7
|
"esm": "hyperframe.runtime.mjs"
|