@hyperframes/inspector 0.8.185 → 0.8.186
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,8 @@
|
|
|
1
|
+
/** Chrome <=155 marks a capture canvas with `layoutsubtree`; 157+ with `content="drawable"` and `drawable` on each captured child. */
|
|
2
|
+
export type HtmlInCanvasForm = "layoutsubtree" | "drawable";
|
|
3
|
+
export declare const CAPTURE_CANVAS_SELECTOR = "canvas[layoutsubtree], canvas[content=\"drawable\"]";
|
|
4
|
+
/** The form this browser's html-in-canvas takes, or null when it has no usable one. */
|
|
5
|
+
export declare function htmlInCanvasForm(win?: Window): HtmlInCanvasForm | null;
|
|
6
|
+
export declare function markCaptureCanvas(canvas: HTMLCanvasElement, form: HtmlInCanvasForm): void;
|
|
7
|
+
export declare function markCaptured(el: Element, form: HtmlInCanvasForm): void;
|
|
8
|
+
export declare function unmarkCaptured(el: Element, form: HtmlInCanvasForm): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const PAGE_MOTION_BLUR_OFF_GLOBAL = "__HF_PAGE_MOTION_BLUR_OFF__";
|
|
2
|
+
export declare const PAGE_DEVICE_SCALE_GLOBAL = "__HF_DEVICE_SCALE_FACTOR__";
|
|
3
|
+
export declare function supportsCaptureMotionBlur(win?: Window): boolean;
|
|
4
|
+
/**
|
|
5
|
+
* Remember canvases html-in-canvas cannot capture: WebGL, WebGPU, or handed to an OffscreenCanvas.
|
|
6
|
+
* Self-contained: the engine and the preview run its source ahead of every author script.
|
|
7
|
+
*/
|
|
8
|
+
export declare function installAcceleratedCanvasTracker(): void;
|
|
9
|
+
export declare function isAcceleratedCanvas(canvas: HTMLCanvasElement): boolean;
|
|
10
|
+
/** The tracker as a script body, for `evaluateOnNewDocument` and inline `<script>` injection. */
|
|
11
|
+
export declare function acceleratedCanvasTrackerSource(): string;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The volume lane's gain for an element at a moment in its clip.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* lane feeds the same per-tick path the probed `volumeKeyframes` already use,
|
|
8
|
-
* and the render still bakes it into the samples.
|
|
4
|
+
* Read per tick for a clip that sounds through `el.volume`. A clip the Web Audio
|
|
5
|
+
* transport routes plays its lane scheduled on a gain of its own
|
|
6
|
+
* (`attachClipStages`), out of reach of the per-tick gain write.
|
|
9
7
|
*/
|
|
10
8
|
import { type HfAutomationLane } from "../audioAutomation.js";
|
|
11
9
|
/** The lane for `target` inside a `data-automation` value, or null when absent or unreadable. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/inspector",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.186",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"htmlparser2": "^10.1.0",
|
|
44
44
|
"postcss": "^8.5.8",
|
|
45
45
|
"puppeteer-core": "^25.8.0",
|
|
46
|
-
"@hyperframes/core": "0.8.
|
|
47
|
-
"@hyperframes/parsers": "0.8.
|
|
46
|
+
"@hyperframes/core": "0.8.186",
|
|
47
|
+
"@hyperframes/parsers": "0.8.186"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.0.10",
|