@hyperframes/inspector 0.8.198 → 0.8.200

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.
@@ -11,6 +11,7 @@ import { type CompositionStyle } from "./scriptRuns.js";
11
11
  * `data-composition-file`).
12
12
  */
13
13
  import { type AssetExists } from "./rewriteSubCompPaths.js";
14
+ export declare const isLibraryCopy: (script: string) => boolean;
14
15
  /** Marks each scene whose nodes a script outside it names by selector, id or class: a swap would strand it. */
15
16
  export declare function refuseSwapsReachedByRootScripts(document: Document, rootScripts: string[]): void;
16
17
  export interface InlineSubCompositionsOptions {
@@ -98,6 +99,7 @@ export interface InlineSubCompositionsOptions {
98
99
  onMissingComposition?: (srcPath: string, reason?: string) => void;
99
100
  /** Tag each top-level host with `data-hf-scene` and report every part's scene, for preview swaps. */
100
101
  tagScenes?: boolean;
102
+ readProjectScript?: (path: string) => string | null;
101
103
  }
102
104
  export interface ExternalLink {
103
105
  href: string;
@@ -1,3 +1,5 @@
1
1
  /** The named error readiness waits fail with once start-up or the render-ready publish throws; it stays set. */
2
2
  export declare function recordStartupError(error: unknown): void;
3
+ /** Starts the warning for a scene callback that threw; the render log shows it once per render. */
4
+ export declare const SCENE_CALLBACK_ERROR_PREFIX = "[hyperframes] scene timeline callback threw:";
3
5
  export declare function swallow(label: string, error?: unknown): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/inspector",
3
- "version": "0.8.198",
3
+ "version": "0.8.200",
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.198",
47
- "@hyperframes/parsers": "0.8.198"
46
+ "@hyperframes/core": "0.8.200",
47
+ "@hyperframes/parsers": "0.8.200"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^25.0.10",