Skip to content

v5.1.0

Compare
Choose a tag to compare
@vadimavdeev vadimavdeev released this 17 Oct 11:17
· 143 commits to master since this release

October 17, 2018

CachingJwtProvider

  • constructor now accepts optional second parameter for the initial value of the JWT as a string or an instance of Jwt class:
const jwtProvider = new CachingJwtProvider(getJwtCallback, "xxxx.yyyy.zzzz");

HTTP Error Handling

  • Body of 5xx HTTP responses won't be read, because it can be an html text, which causes errors when we expect json.