humanish 0.75.0 → 0.76.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,32 @@ 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
+ };
289
315
  /** Public-safe geometry measurement/fill warnings retained with the stream evidence. */
290
316
  warnings?: string[];
291
317
  }