auth0 3.7.0 → 3.7.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v3.7.1](https://github.com/auth0/node-auth0/tree/v3.7.1) (2023-09-11)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.7.0...v3.7.1)
|
|
6
|
+
|
|
7
|
+
**Fixed**
|
|
8
|
+
|
|
9
|
+
- fix: ManagementTokenProvider should also respect the keepAlive config option [\#927](https://github.com/auth0/node-auth0/pull/927) ([alaczi](https://github.com/alaczi))
|
|
10
|
+
|
|
3
11
|
## [v3.7.0](https://github.com/auth0/node-auth0/tree/v3.7.0) (2023-08-29)
|
|
4
12
|
|
|
5
13
|
[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.6.0...v3.7.0)
|
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ class ManagementTokenProvider {
|
|
|
20
20
|
* @param {number} [options.cacheTTLInSeconds] By default the `expires_in` value will be used to determine the cached time of the token, this can be overridden.
|
|
21
21
|
* @param {object} [options.headers] Additional headers that will be added to the outgoing requests.
|
|
22
22
|
* @param {string} [options.proxy] Add the `superagent-proxy` dependency and specify a proxy url eg 'https://myproxy.com:1234'
|
|
23
|
+
* @param {boolean} [options.keepAlive] Keep the http connections alive.
|
|
23
24
|
*/
|
|
24
25
|
constructor(options) {
|
|
25
26
|
if (!options || typeof options !== 'object') {
|
|
@@ -76,6 +77,7 @@ class ManagementTokenProvider {
|
|
|
76
77
|
clientInfo: this.options.clientInfo,
|
|
77
78
|
headers: this.options.headers,
|
|
78
79
|
proxy: this.options.proxy,
|
|
80
|
+
keepAlive: this.options.keepAlive,
|
|
79
81
|
};
|
|
80
82
|
this.authenticationClient = new AuthenticationClient(authenticationClientOptions);
|
|
81
83
|
|