@hyperframes/inspector 0.9.98 → 0.9.100

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.
@@ -28,6 +28,13 @@ export declare function playRangeHoldTime(start: number, end: number, fps: numbe
28
28
  export declare function runtimeProtocolFpsToNumber(value: unknown): number | null;
29
29
  export declare function runtimeProtocolMetadata(fps: number): RuntimeProtocolV1;
30
30
  export declare function frameDisplayScale(frame: HTMLElement): number | null;
31
+ export declare const MAX_MESSAGE_LIST = 1000;
32
+ export type MessageListRefusal = {
33
+ reason: "length" | "hole";
34
+ length: number;
35
+ };
36
+ export declare function refuseMessageList(value: unknown[], max?: number): MessageListRefusal | null;
37
+ export declare function isMessageList(value: unknown, max?: number): value is unknown[];
31
38
  export declare function inspectRuntimeProtocol(value: unknown, legacyFps?: number): RuntimeProtocolInspection;
32
39
  declare const STAGES: readonly ["fetch", "decode", "element"];
33
40
  export type MediaLoadStage = (typeof STAGES)[number];
@@ -38,6 +38,7 @@ type RuntimeBridgeControlMessageBase = {
38
38
  clips?: string[];
39
39
  rate?: number;
40
40
  at?: number;
41
+ playSeq?: number;
41
42
  };
42
43
  export type RuntimeStateMessage = {
43
44
  source: "hf-preview";
@@ -49,6 +50,7 @@ export type RuntimeStateMessage = {
49
50
  buffering: boolean;
50
51
  muted: boolean;
51
52
  playbackRate: number;
53
+ playSeq?: number;
52
54
  };
53
55
  export type RuntimeTimelineClipIdentity = {
54
56
  id: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/inspector",
3
- "version": "0.9.98",
3
+ "version": "0.9.100",
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.98",
47
- "@hyperframes/core": "0.9.98"
46
+ "@hyperframes/core": "0.9.100",
47
+ "@hyperframes/parsers": "0.9.100"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^25.0.10",