@reporters/web 1.4.1 → 1.5.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.5.1](https://github.com/MoLow/reporters/compare/web-v1.5.0...web-v1.5.1) (2026-07-06)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **web:** one consistent stat-chip tooltip format ([#244](https://github.com/MoLow/reporters/issues/244)) ([42d189a](https://github.com/MoLow/reporters/commit/42d189a53ca1f60f6925dec49d8c2f44108869d7))
9
+
10
+ ## [1.5.0](https://github.com/MoLow/reporters/compare/web-v1.4.1...web-v1.5.0) (2026-07-06)
11
+
12
+
13
+ ### Features
14
+
15
+ * carried-over (rerun) test annotation in the web viewer ([#242](https://github.com/MoLow/reporters/issues/242)) ([da83597](https://github.com/MoLow/reporters/commit/da83597a6c1b11c88bed808658863ff40064625a))
16
+ * **web:** mobile-friendly viewer layout and header polish ([#239](https://github.com/MoLow/reporters/issues/239)) ([61de320](https://github.com/MoLow/reporters/commit/61de320597de08f76290a840fc195bed9f5d08d5))
17
+ * **web:** shared body-level tooltip engine and full tooltip coverage ([#243](https://github.com/MoLow/reporters/issues/243)) ([1b63da1](https://github.com/MoLow/reporters/commit/1b63da13900352105274856babb5e1c474c43be5))
18
+
3
19
  ## [1.4.1](https://github.com/MoLow/reporters/compare/web-v1.4.0...web-v1.4.1) (2026-07-06)
4
20
 
5
21
 
package/dist/index.d.ts CHANGED
@@ -20,6 +20,8 @@ interface TestEventData {
20
20
  error?: unknown;
21
21
  type?: string;
22
22
  passed?: boolean;
23
+ attempt?: number;
24
+ passed_on_attempt?: number;
23
25
  };
24
26
  counts?: Record<string, number>;
25
27
  duration_ms?: number;
package/dist/index.js CHANGED
@@ -41,6 +41,8 @@ function toWireEvent(event) {
41
41
  passed: d.details.passed,
42
42
  error: flattenError(d.details.error)
43
43
  };
44
+ if (d.details.attempt != null) data.details.attempt = d.details.attempt;
45
+ if (d.details.passed_on_attempt != null) data.details.passed_on_attempt = d.details.passed_on_attempt;
44
46
  }
45
47
  return t != null ? { type: event.type, t, data } : { type: event.type, data };
46
48
  }