@nsshunt/ststestrunner 1.0.47 → 1.0.48

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.
@@ -18,7 +18,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
18
18
  }
19
19
  });
20
20
  var _runner, _workerInstance, _logMessageDataSet, _publishTelemetryTimeout, _publishTelemetryCount, _maxBufferSize, _publishTelemetryTimeoutVal, _color, _randomPastelColour, _TestCase01_instances, GetRandomHexColor_fn, _GetRandomPastelColor, _debug2, _GenLogMessage, _SetupTimeout, _PublishTelemetryData, _ForcePublishTelemetryData, _PublishTelemetry, _OutputLogMessage, _options4, _agentManager, _randomDataRecordset, _runner2, _workerInstance2, _fhirClient, _accesssToken, _clientId, _clientSecret, _publishTelemetryCount2, _maxBufferSize2, _publishTelemetryTimeout2, _publishTelemetryTimeoutVal2, _originRegex, _FHIR_SOCKET_CLIENT_USE, _FHIR_SOCKET_CLIENT_TIMEOUT, _FHIR_SOCKET_CLIENT_NAME, _FHIR_SOCKET_CLIENT_CUSTOM_PATH, _FHIR_SOCKET_CLIENT_FHIR_SERVER_ENDPOINT, _LogMessage, _PublishTelemetryData2, _ForcePublishTelemetryData2, _SetupTimeout2, _OutputLogMessage2, _debug3, _debug4, _error2, _GetPersonRecord, _runner3, _workerInstance3, _logMessageDataSet2, _publishTelemetryTimeout3, _publishTelemetryCount3, _maxBufferSize3, _publishTelemetryTimeoutVal3, _color2, _randomPastelColour2, _TestStartUp_instances, GetRandomHexColor_fn2, _GetRandomPastelColor2, _debug5, _GenLogMessage2, _SetupTimeout3, _PublishTelemetryData3, _ForcePublishTelemetryData3, _PublishTelemetry2, _OutputLogMessage3, _runner4, _workerInstance4, _logMessageDataSet3, _publishTelemetryTimeout4, _publishTelemetryCount4, _maxBufferSize4, _publishTelemetryTimeoutVal4, _color3, _randomPastelColour3, _TestShutDown_instances, GetRandomHexColor_fn3, _GetRandomPastelColor3, _debug6, _GenLogMessage3, _SetupTimeout4, _PublishTelemetryData4, _ForcePublishTelemetryData4, _PublishTelemetry3, _OutputLogMessage4, _options5, _id2, _clientName2, _wm, _socketUtils2, _debug7, _error3, _info2, _GetKeyPayloadData, _LogPayloadEventRetVal, _EmitStateChange, _SetupRunnerEventHandlers, _HandleAddRunner, _SetupWSSClient2, _OnSocketConnected2, _RegisterSocketEvents, _EmitEvent, _GetSocketEventHandlers;
21
- import { defaultLogger, Sleep, STSAxiosConfig, AgentManager } from "@nsshunt/stsutils";
21
+ import { defaultLogger, Sleep, STSAxiosConfig } from "@nsshunt/stsutils";
22
22
  import "@nsshunt/stsobservability";
23
23
  var __defProp$1 = Object.defineProperty;
24
24
  var __typeError$2 = (msg) => {
@@ -19589,7 +19589,6 @@ var IEventRequestCommand = /* @__PURE__ */ ((IEventRequestCommand2) => {
19589
19589
  IEventRequestCommand2["UpdateRunners"] = "UpdateRunners";
19590
19590
  return IEventRequestCommand2;
19591
19591
  })(IEventRequestCommand || {});
19592
- const https = {};
19593
19592
  var u8 = Uint8Array, u16 = Uint16Array, i32 = Int32Array;
19594
19593
  var fleb = new u8([
19595
19594
  0,
@@ -20581,17 +20580,8 @@ class ServiceInstance extends tinyEmitterExports.TinyEmitter {
20581
20580
  let socketUtilsoptions = {
20582
20581
  logger: defaultLogger
20583
20582
  };
20584
- if (__privateGet(this, _options5).agentOptions) {
20585
- const agentManager = new AgentManager({
20586
- agentOptions: __privateGet(this, _options5).agentOptions,
20587
- httpAgentFactory(options2) {
20588
- return new https.Agent(options2);
20589
- },
20590
- httpsAgentFactory(options2) {
20591
- return new https.Agent(options2);
20592
- }
20593
- });
20594
- socketUtilsoptions.agentManager = agentManager;
20583
+ if (__privateGet(this, _options5).agentManager) {
20584
+ socketUtilsoptions.agentManager = __privateGet(this, _options5).agentManager;
20595
20585
  }
20596
20586
  __privateSet(this, _socketUtils2, new SocketIoClientHelper2(socketUtilsoptions));
20597
20587
  __privateGet(this, _info2).call(this, chalk$1.yellow(`STS Test Runner Service Instance.`));