@supabase/postgrest-js 2.105.2 → 2.105.4-canary.0

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
@@ -267,7 +267,7 @@ var PostgrestBuilder = class {
267
267
  signal: _this.signal
268
268
  });
269
269
  } catch (fetchError) {
270
- if (fetchError instanceof Error && (fetchError.name === "AbortError" || "code" in fetchError && fetchError.code === "ABORT_ERR")) throw fetchError;
270
+ if ((fetchError === null || fetchError === void 0 ? void 0 : fetchError.name) === "AbortError" || (fetchError === null || fetchError === void 0 ? void 0 : fetchError.code) === "ABORT_ERR") throw fetchError;
271
271
  if (!RETRYABLE_METHODS.includes(_this.method)) throw fetchError;
272
272
  if (_this.retryEnabled && attemptCount < DEFAULT_MAX_RETRIES) {
273
273
  const delay = getRetryDelay(attemptCount);