snowtransfer 0.3.0 → 0.3.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/LICENSE.md +1 -1
- package/dist/RequestHandler.d.ts +0 -8
- package/dist/RequestHandler.js +14 -34
- package/dist/methods/Channels.d.ts +4 -2
- package/dist/methods/Channels.js +4 -8
- package/dist/methods/Guilds.d.ts +23 -0
- package/dist/methods/Guilds.js +22 -0
- package/dist/methods/Interactions.js +1 -1
- package/dist/methods/Webhooks.d.ts +7 -2
- package/dist/methods/Webhooks.js +10 -6
- package/dist/ratelimitBuckets/LocalBucket.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
package/LICENSE.md
CHANGED
package/dist/RequestHandler.d.ts
CHANGED
|
@@ -77,18 +77,10 @@ declare class RequestHandler extends EventEmitter {
|
|
|
77
77
|
* @returns Result of the request
|
|
78
78
|
*/
|
|
79
79
|
request(endpoint: string, method: HTTPMethod, dataType?: "json" | "multipart", data?: any | undefined, amount?: number): Promise<any>;
|
|
80
|
-
/**
|
|
81
|
-
* Calculate the time difference between the local server and discord
|
|
82
|
-
* @param dateHeader Date header value returned by discord
|
|
83
|
-
* @returns Offset in milliseconds
|
|
84
|
-
*/
|
|
85
|
-
private _getOffsetDateFromHeader;
|
|
86
80
|
/**
|
|
87
81
|
* Apply the received ratelimit headers to the ratelimit bucket
|
|
88
82
|
* @param bkt Ratelimit bucket to apply the headers to
|
|
89
83
|
* @param headers Http headers received from discord
|
|
90
|
-
* @param offsetDate Unix timestamp of the current date + offset to discord time
|
|
91
|
-
* @param reactions Whether to use reaction ratelimits (1/250ms)
|
|
92
84
|
*/
|
|
93
85
|
private _applyRatelimitHeaders;
|
|
94
86
|
/**
|
package/dist/RequestHandler.js
CHANGED
|
@@ -83,8 +83,8 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
83
83
|
const stack = new Error().stack;
|
|
84
84
|
return new Promise(async (res, rej) => {
|
|
85
85
|
this.ratelimiter.queue(async (bkt) => {
|
|
86
|
+
var _a;
|
|
86
87
|
const reqID = crypto_1.default.randomBytes(20).toString("hex");
|
|
87
|
-
const latency = Date.now();
|
|
88
88
|
try {
|
|
89
89
|
this.emit("request", reqID, { endpoint, method, dataType, data });
|
|
90
90
|
let request;
|
|
@@ -101,19 +101,15 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
101
101
|
}
|
|
102
102
|
// 429 and 502 are recoverable and will be re-tried automatically with 3 attempts max.
|
|
103
103
|
if (request.statusCode && !Constants_1.default.OK_STATUS_CODES.includes(request.statusCode) && ![429, 502].includes(request.statusCode)) {
|
|
104
|
-
const e = new DiscordAPIError(endpoint, request.headers["content-type"] === "application/json" ? await request.json() : request.body, method, request.statusCode);
|
|
104
|
+
const e = new DiscordAPIError(endpoint, ((_a = request.headers["content-type"]) === null || _a === void 0 ? void 0 : _a.startsWith("application/json")) ? await request.json() : request.body.toString(), method, request.statusCode);
|
|
105
105
|
e.stack = stack;
|
|
106
106
|
throw e;
|
|
107
107
|
}
|
|
108
|
-
if (request.headers["date"]) {
|
|
109
|
-
this.latency = Date.now() - latency;
|
|
110
|
-
const offsetDate = this._getOffsetDateFromHeader(request.headers["date"]);
|
|
111
|
-
const match = endpoint.match(/\/reactions\//);
|
|
112
|
-
this._applyRatelimitHeaders(bkt, request.headers, offsetDate, !!match);
|
|
113
|
-
}
|
|
114
108
|
if (request.statusCode && [429, 502].includes(request.statusCode)) {
|
|
115
|
-
if (request.statusCode === 429)
|
|
109
|
+
if (request.statusCode === 429) {
|
|
110
|
+
this._applyRatelimitHeaders(bkt, request.headers);
|
|
116
111
|
this.emit("rateLimit", { timeout: bkt.reset, limit: bkt.limit, method: method, path: endpoint, route: this.ratelimiter.routify(endpoint, method) });
|
|
112
|
+
}
|
|
117
113
|
return this.request(endpoint, method, dataType, data, amount++);
|
|
118
114
|
}
|
|
119
115
|
this.emit("done", reqID, request);
|
|
@@ -140,36 +136,15 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
140
136
|
}, endpoint, method);
|
|
141
137
|
});
|
|
142
138
|
}
|
|
143
|
-
/**
|
|
144
|
-
* Calculate the time difference between the local server and discord
|
|
145
|
-
* @param dateHeader Date header value returned by discord
|
|
146
|
-
* @returns Offset in milliseconds
|
|
147
|
-
*/
|
|
148
|
-
_getOffsetDateFromHeader(dateHeader) {
|
|
149
|
-
const discordDate = Date.parse(dateHeader);
|
|
150
|
-
const offset = Date.now() - discordDate;
|
|
151
|
-
return Date.now() + offset;
|
|
152
|
-
}
|
|
153
139
|
/**
|
|
154
140
|
* Apply the received ratelimit headers to the ratelimit bucket
|
|
155
141
|
* @param bkt Ratelimit bucket to apply the headers to
|
|
156
142
|
* @param headers Http headers received from discord
|
|
157
|
-
* @param offsetDate Unix timestamp of the current date + offset to discord time
|
|
158
|
-
* @param reactions Whether to use reaction ratelimits (1/250ms)
|
|
159
143
|
*/
|
|
160
|
-
_applyRatelimitHeaders(bkt, headers
|
|
144
|
+
_applyRatelimitHeaders(bkt, headers) {
|
|
161
145
|
if (headers["x-ratelimit-global"]) {
|
|
162
146
|
bkt.ratelimiter.global = true;
|
|
163
|
-
bkt.ratelimiter.globalResetAt = Date.now() + (parseFloat(headers["
|
|
164
|
-
}
|
|
165
|
-
if (headers["x-ratelimit-reset"]) {
|
|
166
|
-
const reset = (headers["x-ratelimit-reset"] * 1000) - offsetDate;
|
|
167
|
-
if (reactions) {
|
|
168
|
-
bkt.reset = Math.max(reset, 250);
|
|
169
|
-
}
|
|
170
|
-
else {
|
|
171
|
-
bkt.reset = reset;
|
|
172
|
-
}
|
|
147
|
+
bkt.ratelimiter.globalResetAt = Date.now() + (parseFloat(headers["retry-after"]) * 1000);
|
|
173
148
|
}
|
|
174
149
|
if (headers["x-ratelimit-remaining"]) {
|
|
175
150
|
bkt.remaining = parseInt(headers["x-ratelimit-remaining"]);
|
|
@@ -182,6 +157,9 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
182
157
|
if (headers["x-ratelimit-limit"]) {
|
|
183
158
|
bkt.limit = parseInt(headers["x-ratelimit-limit"]);
|
|
184
159
|
}
|
|
160
|
+
if (headers["retry-after"] && !headers["x-ratelimit-global"]) { // The ms precision is not strictly necessary. It always rounds up, which is safe.
|
|
161
|
+
bkt.resetAt = Date.now() + (parseInt(headers["retry-after"]) * 1000); // retry-after is in seconds.
|
|
162
|
+
}
|
|
185
163
|
}
|
|
186
164
|
/**
|
|
187
165
|
* Execute a normal json request
|
|
@@ -199,7 +177,7 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
199
177
|
headers["X-Audit-Log-Reason"] = encodeURIComponent(data.reason);
|
|
200
178
|
delete data.reason;
|
|
201
179
|
}
|
|
202
|
-
const req = (0, centra_1.default)(this.apiURL, method).path(endpoint).header(this.options.headers);
|
|
180
|
+
const req = (0, centra_1.default)(this.apiURL, method).path(endpoint).header({ ...this.options.headers, ...headers });
|
|
203
181
|
if (useParams) {
|
|
204
182
|
return req.query(data).send();
|
|
205
183
|
}
|
|
@@ -223,9 +201,11 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
223
201
|
throw new Error("Max amount of rety attempts reached");
|
|
224
202
|
const form = new form_data_1.default();
|
|
225
203
|
if (data.files && Array.isArray(data.files) && data.files.every(f => !!f.name && !!f.file)) {
|
|
204
|
+
let index = 0;
|
|
226
205
|
for (const file of data.files) {
|
|
227
|
-
form.append(
|
|
206
|
+
form.append(`files[${index}]`, file.file, { filename: file.name });
|
|
228
207
|
delete file.file;
|
|
208
|
+
index++;
|
|
229
209
|
}
|
|
230
210
|
}
|
|
231
211
|
form.append("payload_json", JSON.stringify(data));
|
|
@@ -679,6 +679,8 @@ interface CreateMessageData {
|
|
|
679
679
|
* [Buttons](https://discord.com/developers/docs/interactions/message-components#component-object) to add to the message
|
|
680
680
|
*/
|
|
681
681
|
components?: Array<import("discord-typings").MessageComponentData>;
|
|
682
|
+
sticker_ids?: Array<string>;
|
|
683
|
+
attachments?: Array<Exclude<import("discord-typings").AttachmentData, "ephemeral" | "proxy_url" | "url" | "size">>;
|
|
682
684
|
}
|
|
683
685
|
interface EditMessageData {
|
|
684
686
|
/**
|
|
@@ -716,9 +718,9 @@ interface EditMessageData {
|
|
|
716
718
|
replied_user?: boolean;
|
|
717
719
|
};
|
|
718
720
|
/**
|
|
719
|
-
* [Attached files](https://discord.com/developers/docs/resources/channel#attachment-object) to
|
|
721
|
+
* [Attached files](https://discord.com/developers/docs/resources/channel#attachment-object) to remove or edit descriptions for
|
|
720
722
|
*/
|
|
721
|
-
attachments?: Array<import("discord-typings").AttachmentData
|
|
723
|
+
attachments?: Array<Exclude<import("discord-typings").AttachmentData, "ephemeral" | "proxy_url" | "url" | "size">>;
|
|
722
724
|
/**
|
|
723
725
|
* [Buttons](https://discord.com/developers/docs/interactions/message-components#component-object) to add to the message
|
|
724
726
|
*/
|
package/dist/methods/Channels.js
CHANGED
|
@@ -188,12 +188,10 @@ class ChannelMethods {
|
|
|
188
188
|
if (data.content && (options.disableEveryone !== undefined ? options.disableEveryone : this.disableEveryone)) {
|
|
189
189
|
data.content = data.content.replace(/@([^<>@ ]*)/gsmu, replaceEveryone);
|
|
190
190
|
}
|
|
191
|
-
if (data.files)
|
|
191
|
+
if (data.files)
|
|
192
192
|
return this.requestHandler.request(Endpoints_1.default.CHANNEL_MESSAGES(channelId), "post", "multipart", data);
|
|
193
|
-
|
|
194
|
-
else {
|
|
193
|
+
else
|
|
195
194
|
return this.requestHandler.request(Endpoints_1.default.CHANNEL_MESSAGES(channelId), "post", "json", data);
|
|
196
|
-
}
|
|
197
195
|
}
|
|
198
196
|
/**
|
|
199
197
|
* Crosspost a message in a news channel to all following channels
|
|
@@ -241,12 +239,10 @@ class ChannelMethods {
|
|
|
241
239
|
if (data.content && (options.disableEveryone !== undefined ? options.disableEveryone : this.disableEveryone)) {
|
|
242
240
|
data.content = data.content.replace(/@([^<>@ ]*)/gsmu, replaceEveryone);
|
|
243
241
|
}
|
|
244
|
-
if (data.files)
|
|
242
|
+
if (data.files)
|
|
245
243
|
return this.requestHandler.request(Endpoints_1.default.CHANNEL_MESSAGE(channelId, messageId), "patch", "multipart", data);
|
|
246
|
-
|
|
247
|
-
else {
|
|
244
|
+
else
|
|
248
245
|
return this.requestHandler.request(Endpoints_1.default.CHANNEL_MESSAGE(channelId, messageId), "patch", "json", data);
|
|
249
|
-
}
|
|
250
246
|
}
|
|
251
247
|
/**
|
|
252
248
|
* Delete a message
|
package/dist/methods/Guilds.d.ts
CHANGED
|
@@ -294,6 +294,29 @@ declare class GuildMethods {
|
|
|
294
294
|
reason?: string;
|
|
295
295
|
delete_message_days?: number;
|
|
296
296
|
}): Promise<void>;
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @param guildId Id of the guild
|
|
300
|
+
* @param memberId Id of the guild member
|
|
301
|
+
* @param data object with a reason and a communication_disabled_until property
|
|
302
|
+
* @returns Resolves the Promise on successful execution
|
|
303
|
+
* | Permissions deeded | Condition |
|
|
304
|
+
* |--------------------|-----------|
|
|
305
|
+
* | MODERATE_MEMBERS | always |
|
|
306
|
+
*
|
|
307
|
+
* @example
|
|
308
|
+
* // Timeout a user with a reason and disable their communication for 1 week
|
|
309
|
+
* let client = new SnowTransfer('TOKEN')
|
|
310
|
+
* let timeoutData = {
|
|
311
|
+
* reason: 'Bad words',
|
|
312
|
+
* "communication_disabled_until": new Date(Date.now() + 604800000).toISOString()
|
|
313
|
+
* }
|
|
314
|
+
* client.guild.createGuildTimeout('guild Id', 'memberId', timeoutData)
|
|
315
|
+
*/
|
|
316
|
+
createGuildTimeout(guildId: string, memberId: string, data: {
|
|
317
|
+
reason?: string;
|
|
318
|
+
communication_disabled_until?: string;
|
|
319
|
+
}): Promise<void>;
|
|
297
320
|
/**
|
|
298
321
|
* Remove a ban of a user
|
|
299
322
|
* @param guildId Id of the guild
|
package/dist/methods/Guilds.js
CHANGED
|
@@ -316,6 +316,28 @@ class GuildMethods {
|
|
|
316
316
|
async createGuildBan(guildId, memberId, data) {
|
|
317
317
|
return this.requestHandler.request(Endpoints_1.default.GUILD_BAN(guildId, memberId), "put", "json", data);
|
|
318
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @param guildId Id of the guild
|
|
322
|
+
* @param memberId Id of the guild member
|
|
323
|
+
* @param data object with a reason and a communication_disabled_until property
|
|
324
|
+
* @returns Resolves the Promise on successful execution
|
|
325
|
+
* | Permissions deeded | Condition |
|
|
326
|
+
* |--------------------|-----------|
|
|
327
|
+
* | MODERATE_MEMBERS | always |
|
|
328
|
+
*
|
|
329
|
+
* @example
|
|
330
|
+
* // Timeout a user with a reason and disable their communication for 1 week
|
|
331
|
+
* let client = new SnowTransfer('TOKEN')
|
|
332
|
+
* let timeoutData = {
|
|
333
|
+
* reason: 'Bad words',
|
|
334
|
+
* "communication_disabled_until": new Date(Date.now() + 604800000).toISOString()
|
|
335
|
+
* }
|
|
336
|
+
* client.guild.createGuildTimeout('guild Id', 'memberId', timeoutData)
|
|
337
|
+
*/
|
|
338
|
+
async createGuildTimeout(guildId, memberId, data) {
|
|
339
|
+
return this.requestHandler.request(Endpoints_1.default.GUILD_MEMBER(guildId, memberId), 'patch', 'json', data);
|
|
340
|
+
}
|
|
319
341
|
/**
|
|
320
342
|
* Remove a ban of a user
|
|
321
343
|
* @param guildId Id of the guild
|
|
@@ -180,7 +180,7 @@ class InteractionMethods {
|
|
|
180
180
|
* @returns A [message](https://discord.com/developers/docs/resources/channel#message-object) object
|
|
181
181
|
*/
|
|
182
182
|
createFollowupMessage(appId, token, data) {
|
|
183
|
-
//
|
|
183
|
+
// wait is always true for interactions
|
|
184
184
|
return this.webhooks.executeWebhook(appId, token, data);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
@@ -131,12 +131,14 @@ declare class WebhookMethods {
|
|
|
131
131
|
* client.webhook.executeWebhook('webhook Id', 'webhook token', {content: 'Hi from my webhook'})
|
|
132
132
|
*/
|
|
133
133
|
executeWebhook(webhookId: string, token: string, data: WebhookCreateMessageData, options?: {
|
|
134
|
-
wait?:
|
|
134
|
+
wait?: false;
|
|
135
135
|
disableEveryone?: boolean;
|
|
136
|
+
thread_id?: string;
|
|
136
137
|
}): Promise<void>;
|
|
137
138
|
executeWebhook(webhookId: string, token: string, data: WebhookCreateMessageData, options: {
|
|
138
139
|
wait: true;
|
|
139
140
|
disableEveryone?: boolean;
|
|
141
|
+
thread_id?: string;
|
|
140
142
|
}): Promise<import("discord-typings").MessageData>;
|
|
141
143
|
/**
|
|
142
144
|
* Execute a slack style Webhook
|
|
@@ -149,6 +151,7 @@ declare class WebhookMethods {
|
|
|
149
151
|
executeWebhookSlack(webhookId: string, token: string, data: any, options?: {
|
|
150
152
|
wait?: boolean;
|
|
151
153
|
disableEveryone?: boolean;
|
|
154
|
+
thread_id?: string;
|
|
152
155
|
}): Promise<void>;
|
|
153
156
|
/**
|
|
154
157
|
* Executes a github style Webhook
|
|
@@ -160,6 +163,7 @@ declare class WebhookMethods {
|
|
|
160
163
|
*/
|
|
161
164
|
executeWebhookGitHub(webhookId: string, token: string, data: GitHubWebhookData, options?: {
|
|
162
165
|
wait?: boolean;
|
|
166
|
+
thread_id?: string;
|
|
163
167
|
}): Promise<void>;
|
|
164
168
|
/**
|
|
165
169
|
* Get a single message from a specific Webhook via Id
|
|
@@ -279,10 +283,11 @@ interface WebhookEditMessageData {
|
|
|
279
283
|
* [alowed mentions object](https://discord.com/developers/docs/resources/channel#allowed-mentions-object)
|
|
280
284
|
*/
|
|
281
285
|
allowed_mentions?: import("discord-typings").AllowedMentionsData | null;
|
|
282
|
-
attachments?: Array<import("discord-typings").AttachmentData
|
|
286
|
+
attachments?: Array<Exclude<import("discord-typings").AttachmentData, "ephemeral" | "proxy_url" | "url" | "size">>;
|
|
283
287
|
/**
|
|
284
288
|
* [Buttons](https://discord.com/developers/docs/interactions/message-components#component-object) to add to the message
|
|
285
289
|
*/
|
|
286
290
|
components?: Array<import("discord-typings").MessageComponentData>;
|
|
291
|
+
thread_id?: string;
|
|
287
292
|
}
|
|
288
293
|
export = WebhookMethods;
|
package/dist/methods/Webhooks.js
CHANGED
|
@@ -146,9 +146,9 @@ class WebhookMethods {
|
|
|
146
146
|
data.content = data.content.replace(/@([^<>@ ]*)/gsmu, replaceEveryone);
|
|
147
147
|
}
|
|
148
148
|
if (data.files)
|
|
149
|
-
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN(webhookId, token) + (options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "", "post", "multipart", data);
|
|
149
|
+
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN(webhookId, token) + ((options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "") + ((options === null || options === void 0 ? void 0 : options.thread_id) ? `${(options === null || options === void 0 ? void 0 : options.wait) ? "&" : "?"}thread_id=${options.thread_id}` : ""), "post", "multipart", data);
|
|
150
150
|
else
|
|
151
|
-
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN(webhookId, token) + (options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "", "post", "json", data);
|
|
151
|
+
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN(webhookId, token) + ((options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "") + ((options === null || options === void 0 ? void 0 : options.thread_id) ? `${(options === null || options === void 0 ? void 0 : options.wait) ? "&" : "?"}thread_id=${options.thread_id}` : ""), "post", "json", data);
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
154
154
|
* Execute a slack style Webhook
|
|
@@ -163,7 +163,7 @@ class WebhookMethods {
|
|
|
163
163
|
if (data.text && ((options === null || options === void 0 ? void 0 : options.disableEveryone) !== undefined ? options.disableEveryone : this.disableEveryone)) {
|
|
164
164
|
data.text = data.text.replace(/@([^<>@ ]*)/gsmu, replaceEveryone);
|
|
165
165
|
}
|
|
166
|
-
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_SLACK(webhookId, token) + (options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "", "post", "json", data);
|
|
166
|
+
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_SLACK(webhookId, token) + ((options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "") + ((options === null || options === void 0 ? void 0 : options.thread_id) ? `${(options === null || options === void 0 ? void 0 : options.wait) ? "&" : "?"}thread_id=${options.thread_id}` : ""), "post", "json", data);
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
169
|
* Executes a github style Webhook
|
|
@@ -174,7 +174,7 @@ class WebhookMethods {
|
|
|
174
174
|
* @returns Resolves the Promise on successful execution
|
|
175
175
|
*/
|
|
176
176
|
async executeWebhookGitHub(webhookId, token, data, options = { wait: false }) {
|
|
177
|
-
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_GITHUB(webhookId, token) + (options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "", "post", "json", data);
|
|
177
|
+
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_GITHUB(webhookId, token) + ((options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "") + ((options === null || options === void 0 ? void 0 : options.thread_id) ? `${(options === null || options === void 0 ? void 0 : options.wait) ? "&" : "?"}thread_id=${options.thread_id}` : ""), "post", "json", data);
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
180
|
* Get a single message from a specific Webhook via Id
|
|
@@ -195,10 +195,14 @@ class WebhookMethods {
|
|
|
195
195
|
* @returns [discord message](https://discord.com/developers/docs/resources/channel#message-object) object
|
|
196
196
|
*/
|
|
197
197
|
async editWebhookMessage(webhookId, token, messageId, data) {
|
|
198
|
+
let threadID = undefined;
|
|
199
|
+
if (data.thread_id)
|
|
200
|
+
threadID = data.thread_id;
|
|
201
|
+
delete data.thread_id;
|
|
198
202
|
if (data.files)
|
|
199
|
-
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_MESSAGE(webhookId, token, messageId), "patch", "multipart", data);
|
|
203
|
+
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_MESSAGE(webhookId, token, messageId) + threadID ? `?thread_id=${threadID}` : "", "patch", "multipart", data);
|
|
200
204
|
else
|
|
201
|
-
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_MESSAGE(webhookId, token, messageId), "patch", "json", data);
|
|
205
|
+
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_MESSAGE(webhookId, token, messageId) + threadID ? `?thread_id=${threadID}` : "", "patch", "json", data);
|
|
202
206
|
}
|
|
203
207
|
/**
|
|
204
208
|
* Delete a message sent by a Webhook
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es5.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.dom.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/constants.ts","../src/endpoints.ts","../src/ratelimitbuckets/localbucket.ts","../src/ratelimiter.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/centra/index.d.ts","../node_modules/form-data/index.d.ts","../src/requesthandler.ts","../node_modules/discord-typings/index.d.ts","../src/methods/channels.ts","../src/methods/users.ts","../src/methods/guildassets.ts","../src/methods/webhooks.ts","../src/methods/guilds.ts","../src/methods/guildtemplate.ts","../src/methods/interactions.ts","../src/methods/invites.ts","../src/methods/voices.ts","../src/methods/bots.ts","../src/methods/auditlog.ts","../src/methods/stageinstance.ts","../src/snowtransfer.ts","../src/index.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"105bd33cf7f1feaa8a950b3a8731bb55cb364887aaf1fc1c0c282098259f97db","b81b9cc121e0cde9e08672e5a7a4be8995c0391b7662e8edb0ac3464172b2c7c","17d02341b834b42f17db930b9e59732b3e17b1062c04542025432090e5f6175d","218e5423c8345f154ff01c4a61f0c9637863668e8658576421d064c1c818afad","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true},"43978f18d1165eea81040bc9bfac1a551717f5cc9bd0f13b31bf490c5fcdc75f","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","57a558a99ab24fdff45a2c2db0c34285de2dcbc66149d9a3d83fcde844426e37","260aad3a6bd3fc510b7f97cfb05859bfc045ce185f8c2b4d73ddb9c43b0eb3c0","cb428529763c6c8e38e42db2a39f333ffcc6d3aab396b24ac84b22da752c1de0","ad4b60488fb1e562bf375dac9299815f7028bf667d9b5887b2d01d501b7d1ddd","246341c3a7a2638cf830d690e69de1e6085a102c6a30596435b050e6ac86c11a","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"fd5d2f531376b1e84df315df0fe724445353a0ae2e2c4de7bae01e24c6c2047a","84214d474bed6e36b7608ba8a39d463ff90061b8af47cbd1a8f7ecb775e21fac","944660c079e97f62f513c33ec64cebc44154374053d3a9adb04bf02f67ee1066","b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","62a00c9cc0c78d9f282dcd7b0a7776aefe220106c3bc327e259e5f6484c6f556",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"f3e8bcce378a26bc672fce0ec05affabbbbfa18493b76f24c39136dea87100d0","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939","94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99",{"version":"e51bee3200733b1f58818b5a9ea90fcd61c5b8afa3a0378391991f3696826a65","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","e70339a3d63f806c43f24250c42aa0000093923457b0ed7dfc10e0ac910ebca9","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a279435e7813d1f061c0cab6ab77b1b9377e8d96851e5ed4a76a1ce6eb6e628f","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","b810390059fc34122556c644f586e7a2b4598ded8afe5ba70bb82fc2e50577b1","ba9de5c5823e06ee3314f959c138cdaf4477d3a1a0769f0d24e62911020e8088","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"893f4b8552c248f6542174b53d1519f739b20428c970dda89cd90485dab059d0","3e5883cbd1b75ae02ec22e0a74b35c1c069eecf6a34814292024f431d3a38cb3","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","93a6a7ae10e3de560817662804c39643e67e8c6bb52ef6ef466f856706429a65","feb77ecbf930284f2e2482916f94278606e621b682857c14bd6267f60f1e951d","7510ccf4cb5818eb1ba440f68a1e333df0ea5802c1f15e1bba9b8836cf03ca52","36df4eae7cf2f90072a40648df229ba1527d979d7e71cb53055cd3d2713fe9e3","39ba0d0fecf2ea712bc242c82796ac373ef535db77be5cbd8809266cb9a5b468","1cd6e65347656a13485139cc0ef19c7da01930c957608dbd71604c8c01afae0f","f5203321851e3ffc3631d216955858e6adfa4433598d605880ba20a4ac2af59c","f1572b56de7f571fe08c002fe2d051cedb85eddc18078ded4140e32a193b2c6d","affc8fc915a88b0b496c7aad4e37a5d707730e1def186f0c869b949f7c5dd189","88d599750584880737ce67184ad2602614edcd27d7621c19fefc6d075c7694e2","4b684c884a80ddd13442408591c4b5daac488b98dbe23bbb1b74c8cbf3abf003","7ba8fa98d56e3d4ba01558c0f3b1d75d0aa48b108bca720b03740dc15f59d3df","6377205b7c9d7c5442d3ba02110490cd0d905c0aa8c825183873495549c1d328","5b3eebdeebf4da1f8243cdc869844f08608a1f9f332e205f388dc7ee5a900ae6","b358ac8db4fc19bbb024cb57b6380921e45e6a12e1ce35f3e087f9f53fd5bdf6","9171ad14f0a74623d555141efe5a6340db7d0ea1248f1c161b84ca6c4b6b893e"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noUnusedLocals":false,"outDir":"./","removeComments":false,"sourceMap":false,"strictNullChecks":true,"target":6},"fileIdsList":[[92],[67,91,92,99],[49,92],[52,92],[53,58,92],[54,64,65,72,81,91,92],[54,55,64,72,92],[56,92],[57,58,65,73,92],[58,81,88,92],[59,61,64,72,92],[60,92],[61,62,92],[63,64,92],[64,92],[64,65,66,81,91,92],[64,65,66,81,92],[67,72,81,91,92],[64,65,67,68,72,81,88,91,92],[67,69,81,88,91,92],[49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],[64,70,92],[71,91,92],[61,64,72,81,92],[73,92],[74,92],[52,75,92],[76,90,92,96],[77,92],[78,92],[64,79,92],[79,80,92,94],[64,81,82,83,92],[81,83,92],[81,82,92],[84,92],[85,92],[64,86,87,92],[86,87,92],[58,72,88,92],[89,92],[72,90,92],[53,67,78,91,92],[58,92],[81,92,93],[92,94],[92,95],[53,58,64,66,75,81,91,92,94,96],[81,92,97],[67,81,92,99],[45,92],[45,46,92,116],[46,92,102,103],[46,92,102],[45,46,92,102,103],[46,92,102,103,107],[48,92],[47,92],[45,46,47,48,58,64,92,100,101],[46,48,92,102,104,105,106,107,108,109,110,111,112,113,114,115]],"referencedMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[41,1],[42,1],[43,1],[1,1],[9,1],[44,1],[100,2],[49,3],[50,3],[52,4],[53,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[62,13],[63,14],[64,15],[65,16],[66,17],[51,1],[98,1],[67,18],[68,19],[69,20],[99,21],[70,22],[71,23],[72,24],[73,25],[74,26],[75,27],[76,28],[77,29],[78,30],[79,31],[80,32],[81,33],[83,34],[82,35],[84,36],[85,37],[86,38],[87,39],[88,40],[89,41],[90,42],[91,43],[92,44],[93,45],[94,46],[95,47],[96,48],[97,49],[103,1],[101,50],[45,1],[46,51],[117,52],[114,53],[113,54],[104,55],[106,53],[108,53],[109,53],[110,56],[111,53],[115,53],[105,53],[112,53],[107,53],[47,57],[48,58],[102,59],[116,60]],"exportedModulesMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[41,1],[42,1],[43,1],[1,1],[9,1],[44,1],[100,2],[49,3],[50,3],[52,4],[53,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[62,13],[63,14],[64,15],[65,16],[66,17],[51,1],[98,1],[67,18],[68,19],[69,20],[99,21],[70,22],[71,23],[72,24],[73,25],[74,26],[75,27],[76,28],[77,29],[78,30],[79,31],[80,32],[81,33],[83,34],[82,35],[84,36],[85,37],[86,38],[87,39],[88,40],[89,41],[90,42],[91,43],[92,44],[93,45],[94,46],[95,47],[96,48],[97,49],[103,1],[101,50],[45,1],[46,51],[117,52],[114,53],[113,54],[104,55],[106,53],[108,53],[109,53],[110,56],[111,53],[115,53],[105,53],[112,53],[107,53],[47,57],[48,58],[102,59],[116,60]],"semanticDiagnosticsPerFile":[10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,41,42,43,1,9,44,100,49,50,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,51,98,67,68,69,99,70,71,72,73,74,75,76,77,78,79,80,81,83,82,84,85,86,87,88,89,90,91,92,93,94,95,96,97,103,101,45,46,117,114,113,104,106,108,109,110,111,115,105,112,107,47,48,102,116]},"version":"4.4.3"}
|
|
1
|
+
{"program":{"fileNames":["../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es5.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.dom.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/constants.ts","../src/endpoints.ts","../src/ratelimitbuckets/localbucket.ts","../src/ratelimiter.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/centra/index.d.ts","../node_modules/form-data/index.d.ts","../src/requesthandler.ts","../node_modules/discord-typings/index.d.ts","../src/methods/channels.ts","../src/methods/users.ts","../src/methods/guildassets.ts","../src/methods/webhooks.ts","../src/methods/guilds.ts","../src/methods/guildtemplate.ts","../src/methods/interactions.ts","../src/methods/invites.ts","../src/methods/voices.ts","../src/methods/bots.ts","../src/methods/auditlog.ts","../src/methods/stageinstance.ts","../src/snowtransfer.ts","../src/index.ts"],"fileInfos":[{"version":"6adbf5efd0e374ff5f427a4f26a5a413e9734eee5067a0e86da69aea41910b52","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"105bd33cf7f1feaa8a950b3a8731bb55cb364887aaf1fc1c0c282098259f97db","b81b9cc121e0cde9e08672e5a7a4be8995c0391b7662e8edb0ac3464172b2c7c","49b133ab2f906501242d9b2afa1cf5f7aff41d91affdfd832897dcfbe5eed422","d2af8e2790a78356f1ca286a81e916dbe9b948ded3be2a6577c65c8c3e13c34c","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","ad4b60488fb1e562bf375dac9299815f7028bf667d9b5887b2d01d501b7d1ddd","246341c3a7a2638cf830d690e69de1e6085a102c6a30596435b050e6ac86c11a","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"aa8fe22e10f78a67b2ffbcc614b45fe258ff9e71d53ddb56e75fa7883c530270","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","a361a26932d73497a174a6d48c53cfedb55f735f20e8638fdf7b25cdeaac9ca4","b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"902cd98bf46e95caf4118a0733fb801e9e90eec3edaed6abdad77124afec9ca2","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939","94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99",{"version":"e51bee3200733b1f58818b5a9ea90fcd61c5b8afa3a0378391991f3696826a65","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a279435e7813d1f061c0cab6ab77b1b9377e8d96851e5ed4a76a1ce6eb6e628f","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21","badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"e6ef68f677c1b63967d87568043b8af9d2dfd71d5873acd1de3abeb1db606741","3e5883cbd1b75ae02ec22e0a74b35c1c069eecf6a34814292024f431d3a38cb3","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50",{"version":"4d8e22565e803054f2819b21dc091872efcd6edec88b190d1f588b3190f0e5cc","signature":"8cff5283063cc4534f4c3b32dd339bf25920d53c7daaca2761317e2c2dea742f"},"49e2d5d624680b27842fa42eba76d3d30cd6a76424319703c7d1b6a68563c9af",{"version":"74e37bb421541ceaa56214dfbb01a5282f83461b391400fbca534c6c93759c51","signature":"cfa9aa3f15c41a3a5cfaa564bfdf6158042d1af144262c9eca98f8886a3b652c"},{"version":"36df4eae7cf2f90072a40648df229ba1527d979d7e71cb53055cd3d2713fe9e3","signature":"ee797eee7429aea469926cca4ac8c7df816aed88d912230d1b3f78aa5a133347"},{"version":"4a64635283353d074a5027ff44ad9582324859df8e4c7577369f8c0bf2a7048c","signature":"b1bd6c1c34565b061fad01a3660008c8655c6f66583b79b9171dcded7430e417"},{"version":"8e7d13219c69162d037b50fd5ee378053673a3a640cba0ce775a3615bac468c9","signature":"1909b42a51089297e80e0416d3bb7468cd67a37017edc50c9205e384f69398f3"},{"version":"5aab313c8fd84084041edc9dea57fcf812adbc59d4631a89cba54f3b1cee75cf","signature":"48cb8e884392070b2284fd8eac62d081d2487c7930b40b015f78a9922b67c970"},{"version":"f287c35a59c16a7b576a37a11e7ba6567b13d3bfacf754bdb8125eb9cbfe6bd2","signature":"90d36e6755eb2023c385e7d716b75d53ae441c53cc3bc5c07f34933f922c0bf8"},{"version":"4e02d710ec58362974e5133fbd381cefe2c36ed5939a4e9b73ea8565beb2e268","signature":"1104070bb32b9f359099ccaff51679fb3c0c860bf47811e2778218b13ef69b14"},{"version":"88d599750584880737ce67184ad2602614edcd27d7621c19fefc6d075c7694e2","signature":"e44645b5940c3bdbf6a28d52fe295a50c18eb20dc90dc67dc5a2b3d146f83e33"},{"version":"4b684c884a80ddd13442408591c4b5daac488b98dbe23bbb1b74c8cbf3abf003","signature":"8dd99f0bb76772acbe947cfc815f1671cf4b9841cb84b386475823d1a811aba4"},{"version":"7ba8fa98d56e3d4ba01558c0f3b1d75d0aa48b108bca720b03740dc15f59d3df","signature":"6b5b1e01bf4461bdab8c0badbafe4d77eedb536b9702fb721723d163c8e5b759"},{"version":"6377205b7c9d7c5442d3ba02110490cd0d905c0aa8c825183873495549c1d328","signature":"e18577e83ad116e121479af082739f60fb72cac2028be609d40d6abf390d51db"},{"version":"5b3eebdeebf4da1f8243cdc869844f08608a1f9f332e205f388dc7ee5a900ae6","signature":"5354bace1e36ea121e21431cd63a9d72534faffeb0242f66eb396b18160da8f8"},{"version":"1985c73834571104d44c44055ea41939a0f07979f47997fc1247e379407ef9a0","signature":"c8ab22f29054eeb8cb0db889345a2fbbdba5ec83f0066d1a8e5923669e6217f2"},{"version":"9171ad14f0a74623d555141efe5a6340db7d0ea1248f1c161b84ca6c4b6b893e","signature":"7fed7ecc1c740cc737643da5966801ff99b4643b7ac8dbf44bbf84c0be5a6d7d"}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noUnusedLocals":false,"outDir":"./","removeComments":false,"sourceMap":false,"strictNullChecks":true,"target":6},"fileIdsList":[[93],[68,92,93,100],[50,93],[53,93],[54,59,93],[55,65,66,73,82,92,93],[55,56,65,73,93],[57,93],[58,59,66,74,93],[59,82,89,93],[60,62,65,73,93],[61,93],[62,63,93],[64,65,93],[65,93],[65,66,67,82,92,93],[65,66,67,82,93],[68,73,82,92,93],[65,66,68,69,73,82,89,92,93],[68,70,82,89,92,93],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],[65,71,93],[72,92,93],[62,65,73,82,93],[74,93],[75,93],[53,76,93],[77,91,93,97],[78,93],[79,93],[65,80,93],[80,81,93,95],[65,82,83,84,93],[82,84,93],[82,83,93],[85,93],[86,93],[65,87,88,93],[87,88,93],[59,73,89,93],[90,93],[73,91,93],[54,68,79,92,93],[59,93],[82,93,94],[93,95],[93,96],[54,59,65,67,76,82,92,93,95,97],[82,93,98],[68,82,93,100],[46,93],[46,47,93,117],[47,93,103,104],[47,93,103],[46,47,93,103,104],[47,93,103,104,108],[49,93],[48,93],[46,47,48,49,59,65,93,101,102],[47,49,93,103,105,106,107,108,109,110,111,112,113,114,115,116],[46,47,117],[103,104],[103],[103,104,108],[49,65,101],[49,103,105,106,107,108,109,110,111,112,113,114,115,116]],"referencedMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[1,1],[9,1],[45,1],[101,2],[50,3],[51,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,13],[63,13],[64,14],[65,15],[66,16],[67,17],[52,1],[99,1],[68,18],[69,19],[70,20],[100,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,32],[82,33],[84,34],[83,35],[85,36],[86,37],[87,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[104,1],[102,50],[46,1],[47,51],[118,52],[115,53],[114,54],[105,55],[107,53],[109,53],[110,53],[111,56],[112,53],[116,53],[106,53],[113,53],[108,53],[48,57],[49,58],[103,59],[117,60]],"exportedModulesMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[1,1],[9,1],[45,1],[101,2],[50,3],[51,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,13],[63,13],[64,14],[65,15],[66,16],[67,17],[52,1],[99,1],[68,18],[69,19],[70,20],[100,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,32],[82,33],[84,34],[83,35],[85,36],[86,37],[87,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[104,1],[102,50],[46,1],[47,51],[118,61],[115,62],[114,63],[105,62],[107,62],[109,62],[110,62],[111,64],[112,62],[116,62],[106,62],[113,62],[108,62],[48,57],[49,58],[103,65],[117,66]],"semanticDiagnosticsPerFile":[10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,44,41,42,43,1,9,45,101,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,52,99,68,69,70,100,71,72,73,74,75,76,77,78,79,80,81,82,84,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,104,102,46,47,118,115,114,105,107,109,110,111,112,116,106,113,108,48,49,103,117]},"version":"4.5.2"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snowtransfer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Minimalistic Rest client for the Discord Api",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/centra": "^2.2.0",
|
|
38
38
|
"@types/node": "^16.0.1",
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
40
|
-
"@typescript-eslint/parser": "^
|
|
41
|
-
"eslint": "^
|
|
42
|
-
"typedoc": "^0.22.
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
|
40
|
+
"@typescript-eslint/parser": "^5.8.0",
|
|
41
|
+
"eslint": "^8.5.0",
|
|
42
|
+
"typedoc": "^0.22.10",
|
|
43
43
|
"typedoc-plugin-mdn-links": "^1.0.4",
|
|
44
|
-
"typedoc-plugin-missing-exports": "^0.22.
|
|
45
|
-
"typescript": "^4.4
|
|
44
|
+
"typedoc-plugin-missing-exports": "^0.22.6",
|
|
45
|
+
"typescript": "^4.5.4"
|
|
46
46
|
},
|
|
47
47
|
"files": ["dist", "README.md", "LICENSE.md"]
|
|
48
48
|
}
|