Skip to content

v3.7.0

Choose a tag to compare

@github-actions github-actions released this 05 Aug 21:43
50e9f21

3.7.0 (2024-08-05)

Features

  • Authorization: updates SDK methods to automatically attempt to refresh tokens when 401 errors are encountered. (#251) (8d91cea)
    • AuthorizationManager no longer refreshes tokens on initialization. If you would like to continue to use this behavior, call manager.refreshTokens() directly from your application (after initialization).
    • Events can be bound to an AuthorizationManager on creation by passing an events property in the configuration. This ensures listeners can be bound before initial (constructor) events dispatch.
    • When a manager is provided to SDK methods, if a 401 is encountered the method will attempt to refresh the previous token used (when refresh tokens are enabled) and make the request again with a new token. This will only be attempted once, per method.