@nsshunt/stsrunnerframework 0.0.21 → 0.0.23

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.
@@ -1787,13 +1787,13 @@ var __privateWrapper = (obj, member, setter, getter) => ({
1787
1787
  }
1788
1788
  if (telemetry.authenticationErrorCount) {
1789
1789
  publishInstrumentController.UpdateInstrument(stsobservability.Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE, {
1790
- val: telemetry.authenticationCount
1790
+ val: telemetry.authenticationErrorCount
1791
1791
  });
1792
1792
  update = true;
1793
1793
  }
1794
1794
  if (telemetry.authenticationRetryCount) {
1795
1795
  publishInstrumentController.UpdateInstrument(stsobservability.Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE, {
1796
- val: telemetry.authenticationCount
1796
+ val: telemetry.authenticationRetryCount
1797
1797
  });
1798
1798
  update = true;
1799
1799
  }
@@ -1981,6 +1981,14 @@ var __privateWrapper = (obj, member, setter, getter) => ({
1981
1981
  runnerEx.instrumentData.message = [];
1982
1982
  }
1983
1983
  __privateGet(this, _telemetryProcessor).ProcessTelemetry(runnerEx.publishInstrumentController, runnerEx.instrumentData);
1984
+ if (workerEx.runnersEvents[runner.id]) {
1985
+ const runnersEvents = workerEx.runnersEvents[runner.id];
1986
+ runnersEvents.forEach((ev) => {
1987
+ if (ev.eventName.localeCompare("Telemetry") === 0) {
1988
+ ev.cb(runnerEx.instrumentData);
1989
+ }
1990
+ });
1991
+ }
1984
1992
  }
1985
1993
  });
1986
1994
  __privateAdd(this, _ProcessCompleted, (workerEx, payloadContents) => {
@@ -1989,7 +1997,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
1989
1997
  const runnersEvents = workerEx.runnersEvents[runner.id];
1990
1998
  runnersEvents.forEach((ev) => {
1991
1999
  if (ev.eventName.localeCompare("Completed") === 0) {
1992
- ev.cb();
2000
+ ev.cb(/* @__PURE__ */ new Date());
1993
2001
  }
1994
2002
  });
1995
2003
  }