@hyperframes/inspector 0.9.63 → 0.9.64
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { HfColorGradingTarget } from "../colorGrading.js";
|
|
2
|
+
import type { PreviewTarget } from "../studioPreviewMark.js";
|
|
2
3
|
import type { RuntimeAnalyticsEvent } from "./analytics.js";
|
|
3
4
|
import type { AudioFades } from "../audioFade.js";
|
|
4
5
|
import type { RateSpec } from "../speedRamp.js";
|
|
@@ -9,7 +10,7 @@ export type RuntimeJson = string | number | boolean | null | RuntimeJson[] | {
|
|
|
9
10
|
import type { HyperframeControlAction } from "../inline-scripts/runtimeContract.js";
|
|
10
11
|
import type { HyperframePickerElementInfo } from "../inline-scripts/pickerApi.js";
|
|
11
12
|
import type { RuntimeProtocolV1 } from "./protocol.js";
|
|
12
|
-
type RuntimeBridgeControlActionBase = HyperframeControlAction | "tick" | "set-volume" | "set-media-output-muted" | "set-native-media-sync-disabled" | "set-web-audio-media-disabled" | "set-idle-heartbeat" | "set-display-scale" | "set-preview-quality" | "set-copies-ahead" | "retry-preview-copies" | "request-preview-facts" | "set-root-duration" | "set-play-range" | "stop-media" | "flash-elements";
|
|
13
|
+
type RuntimeBridgeControlActionBase = HyperframeControlAction | "tick" | "set-volume" | "set-media-output-muted" | "set-native-media-sync-disabled" | "set-web-audio-media-disabled" | "set-idle-heartbeat" | "set-display-scale" | "set-preview-quality" | "set-copies-ahead" | "retry-preview-copies" | "request-preview-facts" | "set-root-duration" | "set-play-range" | "stop-media" | "flash-elements" | "scrub-audio";
|
|
13
14
|
type RuntimeBridgeControlMessageBase = {
|
|
14
15
|
source: "hf-parent";
|
|
15
16
|
type: "control";
|
|
@@ -27,7 +28,8 @@ type RuntimeBridgeControlMessageBase = {
|
|
|
27
28
|
level?: number;
|
|
28
29
|
on?: boolean;
|
|
29
30
|
playbackRate?: number;
|
|
30
|
-
target?: HfColorGradingTarget | string | null;
|
|
31
|
+
target?: HfColorGradingTarget | PreviewTarget | string | null;
|
|
32
|
+
time?: number | null;
|
|
31
33
|
grading?: RuntimeJson;
|
|
32
34
|
compare?: RuntimeJson;
|
|
33
35
|
seekMode?: "drag" | "commit";
|
|
@@ -32,3 +32,11 @@ export declare function serviceWorkerScriptFetch(headers: {
|
|
|
32
32
|
serviceWorker?: string | string[];
|
|
33
33
|
fetchDest?: string | string[];
|
|
34
34
|
}): boolean;
|
|
35
|
+
export interface PreviewTarget {
|
|
36
|
+
hfId?: string;
|
|
37
|
+
domId?: string;
|
|
38
|
+
id: string;
|
|
39
|
+
sourceFile?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare function previewElementSourceFile(el: Element): string | undefined;
|
|
42
|
+
export declare function previewElementFinder(doc: Document, selector?: string): (target: PreviewTarget) => Element | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/inspector",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.64",
|
|
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.9.
|
|
47
|
-
"@hyperframes/parsers": "0.9.
|
|
46
|
+
"@hyperframes/core": "0.9.64",
|
|
47
|
+
"@hyperframes/parsers": "0.9.64"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.0.10",
|