fix: refresh @buape/carbon patch
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
--- a/dist/src/classes/RequestClient.js
|
--- a/dist/src/classes/RequestClient.js
|
||||||
+++ b/dist/src/classes/RequestClient.js
|
+++ b/dist/src/classes/RequestClient.js
|
||||||
@@ -118,6 +118,9 @@
|
@@ -86,6 +86,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.abortController = new AbortController();
|
this.abortController = new AbortController();
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
let body;
|
let body;
|
||||||
if (data?.body &&
|
if (data?.body &&
|
||||||
typeof data.body === "object" &&
|
typeof data.body === "object" &&
|
||||||
@@ -178,12 +181,26 @@
|
@@ -146,12 +149,26 @@
|
||||||
body = JSON.stringify(data.body);
|
body = JSON.stringify(data.body);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -40,14 +40,6 @@
|
|||||||
+ clearTimeout(timeoutId);
|
+ clearTimeout(timeoutId);
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
let rawBody = "";
|
if (response.status === 429) {
|
||||||
let parsedBody;
|
const responseBody = await response.json();
|
||||||
try {
|
const rateLimitError = new RateLimitError(response, responseBody);
|
||||||
@@ -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
|
|
||||||
|
|
||||||
|
|||||||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@@ -8,6 +8,9 @@ overrides:
|
|||||||
'@sinclair/typebox': 0.34.47
|
'@sinclair/typebox': 0.34.47
|
||||||
|
|
||||||
patchedDependencies:
|
patchedDependencies:
|
||||||
|
'@buape/carbon':
|
||||||
|
hash: 85885a1d47a37ae00bcd21f2efbeb025284ea98981c300f095fb94c0604ff9ac
|
||||||
|
path: patches/@buape__carbon.patch
|
||||||
'@mariozechner/pi-agent-core':
|
'@mariozechner/pi-agent-core':
|
||||||
hash: 01312ceb1f6be7e42822c24c9a7a4f7db56b24ae114a364855bd3819779d1cf4
|
hash: 01312ceb1f6be7e42822c24c9a7a4f7db56b24ae114a364855bd3819779d1cf4
|
||||||
path: patches/@mariozechner__pi-agent-core.patch
|
path: patches/@mariozechner__pi-agent-core.patch
|
||||||
|
|||||||
Reference in New Issue
Block a user