node-auth0 icon indicating copy to clipboard operation
node-auth0 copied to clipboard

Fix default retry limit description

Open bennycode opened this issue 8 months ago • 1 comments

Changes

The RetryConfiguration interface previously mentioned a default of 3 retries for failing requests, while the maxRetries property description stated a default of 5, creating a mismatch. To simplify maintenance, I removed the default value note from the interface so that the single source of truth is the maxRetries description.

I also corrected the maxRetries default value in its description to 3 (not 5), aligning it with the DEFAULT_NUMBER_RETRIES constant: https://github.com/auth0/node-auth0/blob/v4.26.0/src/lib/retry.ts#L3

bennycode avatar Jun 26 '25 11:06 bennycode

Hi @bennycode

Thank you for raising the PR. We kindly request you to update your PR with latest changes.

Thank you!!

tanya732 avatar Sep 19 '25 10:09 tanya732