@supabase/postgrest-js 3.0.0-next.24 → 3.0.0-next.25

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.cjs CHANGED
@@ -273,7 +273,7 @@ var PostgrestBuilder = class {
273
273
  signal: _this.signal
274
274
  });
275
275
  } catch (fetchError) {
276
- if (fetchError instanceof Error && (fetchError.name === "AbortError" || "code" in fetchError && fetchError.code === "ABORT_ERR")) throw fetchError;
276
+ if ((fetchError === null || fetchError === void 0 ? void 0 : fetchError.name) === "AbortError" || (fetchError === null || fetchError === void 0 ? void 0 : fetchError.code) === "ABORT_ERR") throw fetchError;
277
277
  if (!RETRYABLE_METHODS.includes(_this.method)) throw fetchError;
278
278
  if (_this.retryEnabled && attemptCount < DEFAULT_MAX_RETRIES) {
279
279
  const delay = getRetryDelay(attemptCount);