Skip to content

v3.2.1

Choose a tag to compare

@MattCCC MattCCC released this 06 May 02:41
· 260 commits to master since this release

Typings:

  • Preserve typings of the responses in shouldRetry function
  • shouldStopPolling and onError should properly infer response typings

Improvements:

  • Typings: shouldRetry allows for non-promise functions in TS
  • Retries can be triggered based on response data if shouldRetry function check is positive, not only when there are errors

Docs:

  • Documented resetTimeout for retries
  • Added explainer for retries based on response payloads