@hyperframes/producer 0.9.85 → 0.9.87
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/compileWorker.js +3210 -0
- package/dist/distributed.js +388 -269
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/index.js +462 -342
- package/dist/public-server.js +274 -154
- package/dist/services/compileInWorker.d.ts +10 -0
- package/dist/services/compileWorker.d.ts +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type CompiledComposition, type CompileForRenderOptions } from "./htmlCompiler.js";
|
|
2
|
+
/**
|
|
3
|
+
* {@link compileForRender} on a worker thread. A compile that runs past its deadline ends with a
|
|
4
|
+
* {@link CompileTimeoutError}, and `options.abortSignal` ends it with the signal's reason. Either
|
|
5
|
+
* way the thread is stopped, even inside a synchronous pass, and this thread stays free meanwhile.
|
|
6
|
+
*/
|
|
7
|
+
export declare function compileForRenderInWorker(projectDir: string, htmlPath: string, downloadDir: string, options?: CompileForRenderOptions, worker?: {
|
|
8
|
+
entry?: string;
|
|
9
|
+
timeoutMs?: number;
|
|
10
|
+
}): Promise<CompiledComposition>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/producer",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.87",
|
|
4
4
|
"description": "HTML-to-video rendering engine using Chrome's BeginFrame API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"postcss": "^8.4.0",
|
|
36
36
|
"puppeteer": "~25.13.0",
|
|
37
37
|
"puppeteer-core": "^25.13.0",
|
|
38
|
-
"@hyperframes/engine": "0.9.
|
|
39
|
-
"@hyperframes/
|
|
40
|
-
"@hyperframes/
|
|
41
|
-
"@hyperframes/
|
|
42
|
-
"@hyperframes/
|
|
38
|
+
"@hyperframes/engine": "0.9.87",
|
|
39
|
+
"@hyperframes/core": "0.9.87",
|
|
40
|
+
"@hyperframes/lint": "0.9.87",
|
|
41
|
+
"@hyperframes/parsers": "0.9.87",
|
|
42
|
+
"@hyperframes/studio-server": "0.9.87"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^25.0.10",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"tsx": "^4.21.0",
|
|
49
49
|
"typescript": "^5.7.2",
|
|
50
50
|
"vitest": "^4.1.12",
|
|
51
|
-
"@hyperframes/aws-lambda": "0.9.
|
|
51
|
+
"@hyperframes/aws-lambda": "0.9.87"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=22"
|