@stoatx/client 0.6.3 → 0.6.4
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 +0 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1417,13 +1417,6 @@ var RESTManager = class {
|
|
|
1417
1417
|
this.client.emit("debug", `Bucket [${method}:${endpoint}] exhausted. Waiting ${waitTime}ms proactively...`);
|
|
1418
1418
|
await sleep(waitTime);
|
|
1419
1419
|
}
|
|
1420
|
-
const headers = {
|
|
1421
|
-
"X-Bot-Token": this.token
|
|
1422
|
-
};
|
|
1423
|
-
if (body) {
|
|
1424
|
-
headers["Content-Type"] = "application/json";
|
|
1425
|
-
}
|
|
1426
|
-
console.log("FETCH", method.toUpperCase(), url, JSON.stringify(body));
|
|
1427
1420
|
const response = await fetch(url, {
|
|
1428
1421
|
method: method.toUpperCase(),
|
|
1429
1422
|
headers: {
|