fix: refresh @buape/carbon patch

This commit is contained in:
Peter Steinberger
2026-01-10 01:48:42 +01:00
parent cb10682d3e
commit a4ea47be37
2 changed files with 8 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
--- a/dist/src/classes/RequestClient.js
+++ b/dist/src/classes/RequestClient.js
@@ -118,6 +118,9 @@
@@ -86,6 +86,9 @@
}
}
this.abortController = new AbortController();
@@ -10,7 +10,7 @@
let body;
if (data?.body &&
typeof data.body === "object" &&
@@ -178,12 +181,26 @@
@@ -146,12 +149,26 @@
body = JSON.stringify(data.body);
}
}
@@ -40,14 +40,6 @@
+ clearTimeout(timeoutId);
+ }
+ }
let rawBody = "";
let parsedBody;
try {
@@ -405,4 +422,4 @@
}
}
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, Math.max(ms, 0)));
-//# sourceMappingURL=RequestClient.js.map
\ No newline at end of file
+//# sourceMappingURL=RequestClient.js.map
if (response.status === 429) {
const responseBody = await response.json();
const rateLimitError = new RateLimitError(response, responseBody);