@hyperframes/inspector 0.9.102 → 0.9.103

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.
@@ -37,6 +37,7 @@
37
37
  * covered by this module or by the lint guard that keeps `src/runtime` clean
38
38
  * (`scripts/lint-runtime-preview-guards.ts`).
39
39
  */
40
+ export declare function isDomNode(value: unknown): value is Node;
40
41
  /** Any element node, from any realm (HTML, SVG, MathML). Mirrors `instanceof Element`. */
41
42
  export declare function isElementNode(value: unknown): value is Element;
42
43
  /**
@@ -271,6 +271,19 @@ export type PlaybackHeldBy = {
271
271
  networkState: number;
272
272
  fetchMs: number | FetchNotSeenToStart;
273
273
  };
274
+ export type PlaybackMotionBlurReport = {
275
+ attr: string | null;
276
+ shutter: string | null;
277
+ state: "on" | "off";
278
+ tier: "filter" | "capture" | null;
279
+ movers: number | null;
280
+ };
281
+ export type PreviewFrameShape = {
282
+ canvas: number;
283
+ svg: number;
284
+ filter: number;
285
+ tweens: number | null;
286
+ };
274
287
  /** How playback went over the last few seconds of play. */
275
288
  export type PlaybackHealthReport = {
276
289
  droppedShare: number;
@@ -285,6 +298,10 @@ export type PlaybackHealthReport = {
285
298
  gapP95Ms: number;
286
299
  clockSource: "audio" | "webaudio" | "monotonic";
287
300
  heldBy: PlaybackHeldBy | null;
301
+ mediaStepP90Ms?: number | null;
302
+ over16?: number;
303
+ over33?: number;
304
+ motionBlur?: PlaybackMotionBlurReport | null;
288
305
  mode: "play";
289
306
  };
290
307
  export type RuntimePreviewHealthMessage = {
@@ -310,6 +327,7 @@ export type RuntimePreviewFactsMessage = {
310
327
  /** The lower levels at which at least one video gets a lighter copy. */
311
328
  lighterAt: number[];
312
329
  copiesReady: boolean;
330
+ frameShape?: PreviewFrameShape;
313
331
  };
314
332
  };
315
333
  export type RuntimeOutboundMessage = RuntimeStateMessage | RuntimePreviewCopiesMessage | RuntimePreviewHealthMessage | RuntimePreviewFactsMessage | RuntimeTimelineMessage | RuntimeDiagnosticMessage | RuntimePickerHoveredMessage | RuntimePickerCandidatesMessage | RuntimePickerPickedMessage | RuntimePickerPickedManyMessage | RuntimePickerCancelledMessage | RuntimeStageSizeMessage | RuntimeStaticCompositionMessage | RuntimeMediaAutoplayBlockedMessage | RuntimeParentCopiesMessage | RuntimeReadyMessage | RuntimeAssetsReadyMessage | RuntimeDataErrorMessage | RuntimeDataAppliedMessage | RuntimeAnalyticsMessage | RuntimePerformanceMessage | RuntimeGroupLevelsMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/inspector",
3
- "version": "0.9.102",
3
+ "version": "0.9.103",
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.102",
47
- "@hyperframes/core": "0.9.102"
46
+ "@hyperframes/core": "0.9.103",
47
+ "@hyperframes/parsers": "0.9.103"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^25.0.10",