Skip to content

6.4.16

Compare
Choose a tag to compare
@jyu115 jyu115 released this 13 Nov 22:04
· 465 commits to master since this release

Added

  • sendRequestWithRetries function added as part of the NetworkHelperclass
  • For an API request that results in a 500-level error response, the SDK now executes up to five retries. Before each of the final three attempts, there is a two-second delay.

Changed

  • updates sendRequest in RequestProcessorUtil to retry the API request that resulted in a 401 response upon receipt of a new JWT
  • updates NetworkHelper class logic to use sendRequestWithRetriesmethod which wraps the original networkSession.makeRequest
  • When an API request fails with a 401 because of an invalid JWT token, the SDK now immediately requests a new JWT token for the signed-in user.