@nsshunt/stsoauth2plugin 1.0.157 → 1.0.159

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.
@@ -6201,7 +6201,7 @@ class STSOAuth2Worker {
6201
6201
  this.#oauthWorkerPort = workerPort;
6202
6202
  this.#LogDebugMessage(`STSOAuth2Worker:constructor:#oauthWorkerPort: [${JSON.stringify(this.#oauthWorkerPort)}]`);
6203
6203
  if (isNode && this.#options.agentOptions) {
6204
- this.#agentManager = new stsutils.AgentManager({
6204
+ this.#agentManager = stsutils.createAgentManager({
6205
6205
  agentOptions: this.#options.agentOptions,
6206
6206
  httpAgentFactory(options2) {
6207
6207
  return new http.Agent(options2);