humanish 0.75.0 → 0.77.0

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.
package/dist/run.d.ts CHANGED
@@ -286,6 +286,50 @@ export interface RunDesktopGeometry {
286
286
  deviceScaleFactor: number;
287
287
  source: "cdp";
288
288
  };
289
+ /**
290
+ * Mobile fidelity beyond viewport size (#221), present only when the lab asked for it. `requested`
291
+ * is what was applied through CDP; `resolved` is what the page reported about itself afterwards
292
+ * and is the proof, never copied from the request. A run without this block is a
293
+ * responsive-viewport study, whatever its preset is named.
294
+ */
295
+ fidelity?: {
296
+ tier: "mobile-emulated";
297
+ requested: {
298
+ width: number;
299
+ height: number;
300
+ deviceScaleFactor: number;
301
+ touch: boolean;
302
+ userAgent: string;
303
+ };
304
+ applied: string[];
305
+ resolved?: {
306
+ userAgent: string;
307
+ devicePixelRatio: number;
308
+ innerWidth: number;
309
+ innerHeight: number;
310
+ maxTouchPoints: number;
311
+ coarsePointer: boolean;
312
+ source: "cdp";
313
+ };
314
+ /**
315
+ * Page targets the participant drove AFTER the launch page (a link that opened in a new tab)
316
+ * whose own read-back reported the requested viewport width (#623). Absent when the
317
+ * participant never left the launch tab; a later tab that did NOT report the width is a lane
318
+ * warning instead.
319
+ */
320
+ laterTargets?: {
321
+ targetId: string;
322
+ innerWidth: number;
323
+ devicePixelRatio: number;
324
+ maxTouchPoints: number;
325
+ }[];
326
+ /**
327
+ * The emulation holder's log after its announce, one JSON line per later target it attached
328
+ * to (`attached`, `sent`) and per reply that came back as an error (`replyError`), at most 50
329
+ * lines. Absent when no later target appeared.
330
+ */
331
+ holderLog?: string[];
332
+ };
289
333
  /** Public-safe geometry measurement/fill warnings retained with the stream evidence. */
290
334
  warnings?: string[];
291
335
  }