Changed
- [SDK-2173] Expand on behaviour of checkSession in docs #666 (stevehobbsdev)
- [SDK-2183] Add warning when requested scopes differ from retrieved scopes #665 (frederikprijck)
- [SDK-2170] Avoid the possibility to do simultaneous calls to the token endpoint #664 (frederikprijck)
- [SDK-2025] Internal module refactor #661 (stevehobbsdev)
- [SDK-2039] Change cache lookup mechanism #652 (frederikprijck)
Fixed
- [SDK-1739] Recover and logout when throwing invalid_grant on Refresh Token #668 (frederikprijck)
Remarks
This release updates the getUser
return type to be more correct. Instead of returning Promise<TUser>
, it now returns Promise<TUser | undefined>
, which might lead to an Object is possible 'undefined'
compiler error in situation where the return value is not checked for being undefined while having set the TypeScript's --strictNullChecks
compiler flag to true
.