@hyperframes/producer 0.8.225 → 0.8.227

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.
@@ -0,0 +1,30 @@
1
+ import type { Fps } from "@hyperframes/core";
2
+ import type { Page } from "puppeteer-core";
3
+ import { type VideoElement, type VideoLayerInput } from "@hyperframes/engine";
4
+ export type VideoLayerPlan = {
5
+ videoId: string;
6
+ layer: VideoLayerInput;
7
+ } | {
8
+ videoId?: undefined;
9
+ reason: string;
10
+ };
11
+ type ProbePage = Pick<Page, "evaluate">;
12
+ /** Runs in the page; must stay self-contained. */
13
+ export declare function inspectVideoLayout(id: string, w: number, h: number, time: number): {
14
+ fit: "fill" | "cover";
15
+ } | {
16
+ reason: string;
17
+ };
18
+ export declare function planVideoLayerPassthrough(input: {
19
+ videos: readonly VideoElement[];
20
+ duration: number;
21
+ fps: Fps;
22
+ canvas: {
23
+ width: number;
24
+ height: number;
25
+ };
26
+ page: ProbePage;
27
+ projectDir: string;
28
+ compiledDir: string;
29
+ }): Promise<VideoLayerPlan>;
30
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/producer",
3
- "version": "0.8.225",
3
+ "version": "0.8.227",
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.11.0",
37
37
  "puppeteer-core": "^25.11.0",
38
- "@hyperframes/core": "0.8.225",
39
- "@hyperframes/engine": "0.8.225",
40
- "@hyperframes/studio-server": "0.8.225",
41
- "@hyperframes/lint": "0.8.225",
42
- "@hyperframes/parsers": "0.8.225"
38
+ "@hyperframes/core": "0.8.227",
39
+ "@hyperframes/engine": "0.8.227",
40
+ "@hyperframes/lint": "0.8.227",
41
+ "@hyperframes/studio-server": "0.8.227",
42
+ "@hyperframes/parsers": "0.8.227"
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.11",
51
- "@hyperframes/aws-lambda": "0.8.225"
51
+ "@hyperframes/aws-lambda": "0.8.227"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=22"