@supabase/postgrest-js 3.0.0-next.24 → 3.0.0-next.26
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/PostgrestBuilder.ts +6 -6
- package/src/version.ts +1 -1
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
|
|
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);
|