@hyperframes/inspector 0.9.15 → 0.9.17
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.
|
@@ -45,6 +45,9 @@ export interface SvgIdScope {
|
|
|
45
45
|
*/
|
|
46
46
|
cssTexts?: readonly string[];
|
|
47
47
|
}
|
|
48
|
+
/** The outermost timed clips holding an `<svg>` outside every composition host. Each is its own id scope, as an
|
|
49
|
+
* inlined composition is, so two scenes drawn with the same ids each resolve their own `url(#id)` and `href`. */
|
|
50
|
+
export declare function sceneClipRoots(document: SvgIdQueryable, hosts: readonly Element[]): Element[];
|
|
48
51
|
/**
|
|
49
52
|
* Rename every colliding, natively-referenced SVG id across the inlined
|
|
50
53
|
* composition instances in `scopes` and rewrite each instance's attribute
|
|
@@ -2,4 +2,10 @@
|
|
|
2
2
|
export declare function recordStartupError(error: unknown): void;
|
|
3
3
|
/** Starts the warning for a scene callback that threw; the render log shows it once per render. */
|
|
4
4
|
export declare const SCENE_CALLBACK_ERROR_PREFIX = "[hyperframes] scene timeline callback threw:";
|
|
5
|
+
/**
|
|
6
|
+
* A rejected `window.__hf.buildReady[key]` is the composition saying its own setup failed, so
|
|
7
|
+
* readiness waits (render, snapshot, check) fail with the key and reason instead of capturing an
|
|
8
|
+
* unbuilt scene. Returns the recorded message so a teardown can clear exactly this error.
|
|
9
|
+
*/
|
|
10
|
+
export declare function recordBuildReadyRejection(key: string, error: unknown): string;
|
|
5
11
|
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.9.
|
|
3
|
+
"version": "0.9.17",
|
|
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/
|
|
47
|
-
"@hyperframes/
|
|
46
|
+
"@hyperframes/core": "0.9.17",
|
|
47
|
+
"@hyperframes/parsers": "0.9.17"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.0.10",
|