@hyperframes/inspector 0.9.61 → 0.9.63

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,4 @@
1
+ export declare const MEDIA_ELEMENT_LEAD_SECONDS = 0.00001;
2
+ export declare function mediaElementTime(sourceSeconds: number): number;
3
+ export declare function startsSoundOnlyInsideATap(): boolean;
4
+ export declare function isWebKit(): boolean;
@@ -0,0 +1,34 @@
1
+ export declare const STUDIO_PREVIEW_MARK_META = "hyperframes-studio-preview";
2
+ export declare const PREVIEW_SEEK_HOLD_ATTR = "data-hf-preview-seek-hold";
3
+ export declare const PREVIEW_VIDEO_FRAME_ATTR = "data-hf-preview-video-frame";
4
+ export declare const PREVIEW_VIDEO_SOURCE_ATTR = "data-hf-preview-video-source";
5
+ export declare const PREVIEW_VIDEO_CANVAS_ATTR = "data-hf-preview-video-canvas";
6
+ export declare const STUDIO_PREVIEW_CAPTURE_MODE = "capture";
7
+ export declare const PREVIEW_FOR_ANOTHER_SITE_META = "hyperframes-preview-for-another-site";
8
+ export declare function servedToAnotherSite(doc: Document): boolean;
9
+ export declare function markedForStudio(doc: Document): boolean;
10
+ export declare function getLogicalOpacity(el: Element, computed: CSSStyleDeclaration): string;
11
+ export declare const PLAYER_FRAME_ATTR = "data-hf-player-frame";
12
+ export declare function inPlayerFrame(doc: Document): boolean;
13
+ export declare function defersMediaIn(doc: Document): boolean;
14
+ export declare function capturePageIn(doc: Document): boolean;
15
+ export declare const STUDIO_PREVIEW_UPCOMING_ATTR = "data-hf-upcoming";
16
+ export declare const STUDIO_PREVIEW_LAZY_ATTR = "data-hf-preview-lazy";
17
+ export declare const STUDIO_PREVIEW_ERRORS = "__hfPreviewErrors";
18
+ export declare const STUDIO_PREVIEW_ERROR_KINDS = "__hfPreviewErrorKinds";
19
+ export declare function previewConsoleErrorText(args: readonly unknown[]): string | null;
20
+ export declare const refusedPreviewMessage: (status: number) => string;
21
+ export declare function refusedPreviewStatus(message: string): number | null;
22
+ export declare const PREVIEW_RASTER_ATTR = "data-hf-preview-raster";
23
+ export declare const RUNTIME_STAMPED_ATTR = "data-hf-autostamped";
24
+ export declare const CLIP_HIDDEN_ATTR = "data-hf-clip-hidden";
25
+ export declare const STUDIO_PREVIEW_FAR_SCENE_ATTR = "data-hf-far-scene";
26
+ export declare const STUDIO_PREVIEW_PARKED_SCENE_ATTR = "data-hf-parked-scene";
27
+ export declare const PREVIEW_ONLY_ATTRS: readonly ["data-hf-preview-video-frame", "data-hf-preview-video-source", "data-hf-preview-video-canvas", "data-hf-upcoming", "data-hf-far-scene", "data-hf-parked-scene", "data-hf-preview-lazy", "data-hf-preview-raster", "data-hf-autostamped"];
28
+ export declare const isClipHiddenByRuntime: (el: HTMLElement) => boolean;
29
+ export declare function applyAuthoredTiming(el: Element, attrs: ReadonlyArray<readonly [name: string, value: string]>): void;
30
+ export declare function dropServiceWorkers(): Promise<void>;
31
+ export declare function serviceWorkerScriptFetch(headers: {
32
+ serviceWorker?: string | string[];
33
+ fetchDest?: string | string[];
34
+ }): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/inspector",
3
- "version": "0.9.61",
3
+ "version": "0.9.63",
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/parsers": "0.9.61",
47
- "@hyperframes/core": "0.9.61"
46
+ "@hyperframes/core": "0.9.63",
47
+ "@hyperframes/parsers": "0.9.63"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^25.0.10",