@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 CHANGED
@@ -39165,9 +39165,9 @@ const getHeaders = async (service) => {
39165
39165
  return token ? { Authorization: `${prefix} ${token}` } : undefined;
39166
39166
  };
39167
39167
  /** Status codes that should not be retried for queryFn endpoints. */
39168
- const QUERYFN_NON_RETRYABLE_STATUSES = [401, 403];
39168
+ const QUERYFN_NON_RETRYABLE_STATUSES = [401, 403, 500];
39169
39169
  /** Default max retries for queryFn endpoints. */
39170
- const QUERYFN_MAX_RETRIES = 3;
39170
+ const QUERYFN_MAX_RETRIES = 10;
39171
39171
  /** Base delay in ms for exponential backoff. */
39172
39172
  const QUERYFN_BASE_DELAY_MS = 1000;
39173
39173
  /**