openid-client
Advanced tools
Comparing version 3.15.8 to 3.15.9
@@ -5,2 +5,11 @@ # Change Log | ||
## [3.15.9](https://github.com/panva/node-openid-client/compare/v3.15.8...v3.15.9) (2020-07-26) | ||
### Bug Fixes | ||
* **typescript:** max_age in AuthorizationParameters is a number ([5ce2a73](https://github.com/panva/node-openid-client/commit/5ce2a733890dba6ba2bc2f8f296a4235c0c5cdd6)), closes [#279](https://github.com/panva/node-openid-client/issues/279) | ||
## [3.15.8](https://github.com/panva/node-openid-client/compare/v3.15.7...v3.15.8) (2020-07-17) | ||
@@ -7,0 +16,0 @@ |
@@ -224,3 +224,5 @@ /* eslint-disable max-classes-per-file */ | ||
...body, | ||
[AAD_MULTITENANT]: AAD_MULTITENANT_DISCOVERY.find((discoveryURL) => uri.startsWith(discoveryURL)), | ||
[AAD_MULTITENANT]: !!AAD_MULTITENANT_DISCOVERY.find( | ||
(discoveryURL) => uri.startsWith(discoveryURL), | ||
), | ||
}); | ||
@@ -252,3 +254,5 @@ } | ||
...body, | ||
[AAD_MULTITENANT]: AAD_MULTITENANT_DISCOVERY.find((discoveryURL) => wellKnownUri.startsWith(discoveryURL)), | ||
[AAD_MULTITENANT]: !!AAD_MULTITENANT_DISCOVERY.find( | ||
(discoveryURL) => wellKnownUri.startsWith(discoveryURL), | ||
), | ||
}); | ||
@@ -255,0 +259,0 @@ })); |
{ | ||
"name": "openid-client", | ||
"version": "3.15.8", | ||
"version": "3.15.9", | ||
"description": "OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -264,4 +264,3 @@ # openid-client | ||
It is **only built for ^10.13.0 || >=12.0.0 Node.js** environment - including openid-client in | ||
transpiled browser-environment targeted projects is not supported and may result in unexpected | ||
results. | ||
browser-environment targeted projects is not supported and may result in unexpected results. | ||
@@ -268,0 +267,0 @@ #### What's new in 3.x? |
@@ -102,3 +102,3 @@ /// <reference types="node" /> | ||
login_hint?: string; | ||
max_age?: string; | ||
max_age?: number; | ||
nonce?: string; | ||
@@ -105,0 +105,0 @@ prompt?: string; |
165659
3206
314