@flakiness/sdk 3.0.0 → 3.1.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/lib/browser.js CHANGED
@@ -46,6 +46,7 @@ function normalizeReport(report) {
46
46
  duration: attempt.duration === 0 ? void 0 : attempt.duration,
47
47
  stdout: attempt.stdout && attempt.stdout.length ? attempt.stdout : void 0,
48
48
  stderr: attempt.stderr && attempt.stderr.length ? attempt.stderr : void 0,
49
+ errors: attempt.errors && attempt.errors.length ? attempt.errors : void 0,
49
50
  stdio: attempt.stdio && attempt.stdio.length ? attempt.stdio.map((entry) => ({
50
51
  ...entry,
51
52
  stream: entry.stream === FlakinessReport.STREAM_STDOUT ? void 0 : entry.stream
package/lib/index.js CHANGED
@@ -713,6 +713,7 @@ function normalizeReport(report) {
713
713
  duration: attempt.duration === 0 ? void 0 : attempt.duration,
714
714
  stdout: attempt.stdout && attempt.stdout.length ? attempt.stdout : void 0,
715
715
  stderr: attempt.stderr && attempt.stderr.length ? attempt.stderr : void 0,
716
+ errors: attempt.errors && attempt.errors.length ? attempt.errors : void 0,
716
717
  stdio: attempt.stdio && attempt.stdio.length ? attempt.stdio.map((entry) => ({
717
718
  ...entry,
718
719
  stream: entry.stream === FlakinessReport.STREAM_STDOUT ? void 0 : entry.stream
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flakiness/sdk",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +1 @@
1
- {"version":3,"file":"normalizeReport.d.ts","sourceRoot":"","sources":["../../src/normalizeReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAyB9D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,eAAe,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAoDtF"}
1
+ {"version":3,"file":"normalizeReport.d.ts","sourceRoot":"","sources":["../../src/normalizeReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAyB9D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,eAAe,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAqDtF"}