@iblai/data-layer 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39167,9 +39167,9 @@ const getHeaders = async (service) => {
|
|
|
39167
39167
|
return token ? { Authorization: `${prefix} ${token}` } : undefined;
|
|
39168
39168
|
};
|
|
39169
39169
|
/** Status codes that should not be retried for queryFn endpoints. */
|
|
39170
|
-
const QUERYFN_NON_RETRYABLE_STATUSES = [401, 403];
|
|
39170
|
+
const QUERYFN_NON_RETRYABLE_STATUSES = [401, 403, 500];
|
|
39171
39171
|
/** Default max retries for queryFn endpoints. */
|
|
39172
|
-
const QUERYFN_MAX_RETRIES =
|
|
39172
|
+
const QUERYFN_MAX_RETRIES = 10;
|
|
39173
39173
|
/** Base delay in ms for exponential backoff. */
|
|
39174
39174
|
const QUERYFN_BASE_DELAY_MS = 1000;
|
|
39175
39175
|
/**
|