@nsshunt/stsoauth2plugin 1.0.158 → 1.0.160
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/dist/stsoauth2plugin.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { inject } from "vue";
|
|
2
2
|
import * as wt from "node:worker_threads";
|
|
3
|
-
import { OAuth2ParameterType, Sleep,
|
|
3
|
+
import { OAuth2ParameterType, Sleep, createAgentManager, STSAxiosConfig } from "@nsshunt/stsutils";
|
|
4
4
|
import { ClientStorageFactory, ClientStorageType } from "@nsshunt/stsvueutils";
|
|
5
5
|
import { defineStore } from "pinia";
|
|
6
6
|
import axios from "axios";
|
|
@@ -6182,7 +6182,7 @@ class STSOAuth2Worker {
|
|
|
6182
6182
|
this.#oauthWorkerPort = workerPort;
|
|
6183
6183
|
this.#LogDebugMessage(`STSOAuth2Worker:constructor:#oauthWorkerPort: [${JSON.stringify(this.#oauthWorkerPort)}]`);
|
|
6184
6184
|
if (isNode && this.#options.agentOptions) {
|
|
6185
|
-
this.#agentManager =
|
|
6185
|
+
this.#agentManager = createAgentManager({
|
|
6186
6186
|
agentOptions: this.#options.agentOptions,
|
|
6187
6187
|
httpAgentFactory(options2) {
|
|
6188
6188
|
return new http.Agent(options2);
|