snowtransfer 0.5.0 → 0.5.3

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.
Files changed (39) hide show
  1. package/README.md +1 -0
  2. package/dist/LocalBucket.d.ts +14 -8
  3. package/dist/LocalBucket.js +39 -24
  4. package/dist/Ratelimiter.d.ts +24 -12
  5. package/dist/Ratelimiter.js +46 -21
  6. package/dist/RequestHandler.d.ts +1 -3
  7. package/dist/RequestHandler.js +24 -39
  8. package/dist/SnowTransfer.d.ts +1 -6
  9. package/dist/SnowTransfer.js +3 -3
  10. package/dist/index.d.ts +2 -0
  11. package/dist/index.js +1 -0
  12. package/dist/methods/AuditLog.d.ts +1 -0
  13. package/dist/methods/AuditLog.js +1 -0
  14. package/dist/methods/Bots.d.ts +1 -0
  15. package/dist/methods/Bots.js +1 -0
  16. package/dist/methods/Channels.d.ts +1 -0
  17. package/dist/methods/Channels.js +1 -0
  18. package/dist/methods/GuildAssets.d.ts +1 -0
  19. package/dist/methods/GuildAssets.js +1 -0
  20. package/dist/methods/GuildScheduledEvent.d.ts +1 -0
  21. package/dist/methods/GuildScheduledEvent.js +1 -0
  22. package/dist/methods/GuildTemplate.d.ts +1 -0
  23. package/dist/methods/GuildTemplate.js +1 -0
  24. package/dist/methods/Guilds.d.ts +1 -0
  25. package/dist/methods/Guilds.js +1 -0
  26. package/dist/methods/Interactions.d.ts +1 -13
  27. package/dist/methods/Interactions.js +1 -15
  28. package/dist/methods/Invites.d.ts +1 -0
  29. package/dist/methods/Invites.js +1 -0
  30. package/dist/methods/StageInstance.d.ts +1 -0
  31. package/dist/methods/StageInstance.js +1 -0
  32. package/dist/methods/Users.d.ts +1 -0
  33. package/dist/methods/Users.js +1 -0
  34. package/dist/methods/Voice.d.ts +1 -0
  35. package/dist/methods/Voice.js +1 -0
  36. package/dist/methods/Webhooks.d.ts +1 -0
  37. package/dist/methods/Webhooks.js +1 -0
  38. package/dist/tsconfig.tsbuildinfo +1 -1
  39. package/package.json +5 -5
package/README.md CHANGED
@@ -12,6 +12,7 @@ It makes no assumptions about the rest of your stack, therefore you can use it a
12
12
  - No requirement for other components
13
13
  - Full coverage of the discord rest api
14
14
  - Well documented
15
+ - Supports both Bot and Bearer tokens (Bearer tokens will have much more limited access than Bot tokens)
15
16
 
16
17
  ### General Usecase:
17
18
  SnowTransfer is not your everyday library,
@@ -1,5 +1,7 @@
1
+ /// <reference types="node" />
1
2
  /**
2
3
  * Bucket used for saving ratelimits
4
+ * @protected
3
5
  */
4
6
  declare class LocalBucket {
5
7
  /**
@@ -16,32 +18,36 @@ declare class LocalBucket {
16
18
  /**
17
19
  * Remaining amount of executions during the current timeframe
18
20
  */
19
- protected _remaining: number;
21
+ remaining: number;
20
22
  /**
21
23
  * Timeframe in milliseconds until the ratelimit resets
22
24
  */
23
25
  reset: number;
24
26
  /**
25
- * The Date time in which the bucket will reset
27
+ * Timeout that calls the reset function once the timeframe passed
26
28
  */
27
- resetAt: number | null;
29
+ resetTimeout: NodeJS.Timeout | null;
28
30
  /**
29
31
  * ratelimiter used for ratelimiting requests
30
32
  */
31
33
  ratelimiter: import("./Ratelimiter");
34
+ /**
35
+ * Key used internally to routify requests
36
+ */
37
+ routeKey: string;
38
+ static readonly default: typeof LocalBucket;
32
39
  /**
33
40
  * Create a new bucket
34
41
  * @param ratelimiter ratelimiter used for ratelimiting requests
42
+ * @param routeKey Key used internally to routify requests. Assigned by ratelimiter
35
43
  */
36
- constructor(ratelimiter: import("./Ratelimiter"));
37
- get remaining(): number;
38
- set remaining(value: number);
44
+ constructor(ratelimiter: import("./Ratelimiter"), routeKey: string);
39
45
  /**
40
46
  * Queue a function to be executed
41
47
  * @param fn function to be executed
42
48
  * @returns Result of the function if any
43
49
  */
44
- queue(fn: (bucket: LocalBucket) => any | Promise<any>): Promise<any>;
50
+ queue<T>(fn: (bucket: LocalBucket) => T): Promise<T>;
45
51
  /**
46
52
  * Check if there are any functions in the queue that haven't been executed yet
47
53
  */
@@ -49,7 +55,7 @@ declare class LocalBucket {
49
55
  /**
50
56
  * Reset the remaining tokens to the base limit
51
57
  */
52
- resetRemaining(): void;
58
+ private resetRemaining;
53
59
  /**
54
60
  * Clear the current queue of events to be sent
55
61
  */
@@ -1,29 +1,37 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Bucket used for saving ratelimits
4
+ * @protected
4
5
  */
5
6
  class LocalBucket {
6
7
  /**
7
8
  * Create a new bucket
8
9
  * @param ratelimiter ratelimiter used for ratelimiting requests
10
+ * @param routeKey Key used internally to routify requests. Assigned by ratelimiter
9
11
  */
10
- constructor(ratelimiter) {
12
+ constructor(ratelimiter, routeKey) {
13
+ /**
14
+ * array of functions waiting to be executed
15
+ */
11
16
  this.fnQueue = [];
17
+ /**
18
+ * Number of functions that may be executed during the timeframe set in limitReset
19
+ */
12
20
  this.limit = 5;
13
- this._remaining = 1;
21
+ /**
22
+ * Remaining amount of executions during the current timeframe
23
+ */
24
+ this.remaining = 1;
25
+ /**
26
+ * Timeframe in milliseconds until the ratelimit resets
27
+ */
14
28
  this.reset = 5000;
15
- this.resetAt = null;
29
+ /**
30
+ * Timeout that calls the reset function once the timeframe passed
31
+ */
32
+ this.resetTimeout = null;
16
33
  this.ratelimiter = ratelimiter;
17
- }
18
- get remaining() {
19
- if (this.resetAt && this.resetAt <= Date.now()) {
20
- this._remaining = this.limit;
21
- this.resetAt = null;
22
- }
23
- return this._remaining;
24
- }
25
- set remaining(value) {
26
- this._remaining = value;
34
+ this.routeKey = routeKey;
27
35
  }
28
36
  /**
29
37
  * Queue a function to be executed
@@ -31,10 +39,13 @@ class LocalBucket {
31
39
  * @returns Result of the function if any
32
40
  */
33
41
  queue(fn) {
34
- return new Promise((res, rej) => {
42
+ return new Promise(res => {
35
43
  const wrapFn = () => {
36
- if (fn instanceof Promise)
37
- return fn.then(res).catch(rej);
44
+ this.remaining--;
45
+ if (!this.resetTimeout)
46
+ this.resetTimeout = setTimeout(() => this.resetRemaining(), this.reset);
47
+ if (this.remaining !== 0)
48
+ this.checkQueue();
38
49
  return res(fn(this));
39
50
  };
40
51
  this.fnQueue.push({ fn, callback: wrapFn });
@@ -45,23 +56,26 @@ class LocalBucket {
45
56
  * Check if there are any functions in the queue that haven't been executed yet
46
57
  */
47
58
  checkQueue() {
48
- if (this.reset < 0)
49
- this.reset = 100;
50
- if (this.ratelimiter.global && this.ratelimiter.globalResetAt > Date.now())
59
+ if (this.ratelimiter.global)
51
60
  return;
52
- if (this.fnQueue.length > 0 && this.remaining !== 0) {
61
+ if (this.fnQueue.length && this.remaining !== 0) {
53
62
  const queuedFunc = this.fnQueue.splice(0, 1)[0];
54
63
  queuedFunc.callback();
55
- this.checkQueue();
56
64
  }
57
65
  }
58
66
  /**
59
67
  * Reset the remaining tokens to the base limit
60
68
  */
61
69
  resetRemaining() {
62
- this._remaining = this.limit;
63
- this.resetAt = null;
64
- this.checkQueue();
70
+ this.remaining = this.limit;
71
+ if (this.resetTimeout) {
72
+ clearTimeout(this.resetTimeout);
73
+ this.resetTimeout = null;
74
+ }
75
+ if (this.fnQueue.length)
76
+ this.checkQueue();
77
+ else
78
+ delete this.ratelimiter.buckets[this.routeKey];
65
79
  }
66
80
  /**
67
81
  * Clear the current queue of events to be sent
@@ -70,4 +84,5 @@ class LocalBucket {
70
84
  this.fnQueue.length = 0;
71
85
  }
72
86
  }
87
+ LocalBucket.default = LocalBucket;
73
88
  module.exports = LocalBucket;
@@ -5,21 +5,33 @@ import LocalBucket from "./LocalBucket";
5
5
  * @protected
6
6
  */
7
7
  declare class Ratelimiter {
8
+ /**
9
+ * An object of Buckets that store rate limit info
10
+ */
8
11
  buckets: {
9
12
  [routeKey: string]: LocalBucket;
10
13
  };
11
- global: boolean;
12
- globalResetAt: number;
13
- /**
14
- * This is an interval to constantly check Buckets which should be reset or unreferenced from the RateLimiter to be swept by the garbage collector.
15
- * This 1 timeout is more performant as compared to potentially many more ticking timers to reset individual bucket remaining values.
16
- *
17
- * YOU SHOULD NEVER OVERRIDE THIS UNLESS YOU KNOW WHAT YOU'RE DOING. REQUESTS MAY POSSIBLY NEVER EXECUTE WITHOUT THIS AND/OR MEMORY MAY SLOWLY CLIMB OVER TIME.
18
- */
19
- protected _timeout: NodeJS.Timeout;
20
- protected _timeoutFN: () => void;
21
- protected _timeoutDuration: number;
22
- constructor();
14
+ /**
15
+ * If you're being globally rate limited
16
+ */
17
+ private _global;
18
+ /**
19
+ * Timeframe in milliseconds until when the global rate limit resets
20
+ */
21
+ globalReset: number;
22
+ /**
23
+ * Timeout that resets the global ratelimit once the timeframe has passed
24
+ */
25
+ globalResetTimeout: NodeJS.Timeout | null;
26
+ static default: typeof Ratelimiter;
27
+ /**
28
+ * If you're being globally rate limited
29
+ */
30
+ get global(): boolean;
31
+ /**
32
+ * If you're being globally rate limited
33
+ */
34
+ set global(value: boolean);
23
35
  /**
24
36
  * Returns a key for saving ratelimits for routes
25
37
  * (Taken from https://github.com/abalabahaha/eris/blob/master/lib/rest/RequestHandler.js) -> I luv u abal <3
@@ -9,28 +9,52 @@ const LocalBucket_1 = __importDefault(require("./LocalBucket"));
9
9
  */
10
10
  class Ratelimiter {
11
11
  constructor() {
12
- this._timeoutDuration = 1000;
12
+ /**
13
+ * An object of Buckets that store rate limit info
14
+ */
13
15
  this.buckets = {};
14
- this.global = false;
15
- this.globalResetAt = 0;
16
- this._timeoutFN = () => {
17
- for (const routeKey of Object.keys(this.buckets)) {
18
- const bkt = this.buckets[routeKey];
19
- if (bkt.resetAt && bkt.resetAt < Date.now()) {
20
- if (bkt.fnQueue.length)
21
- bkt.resetRemaining();
22
- else
23
- delete this.buckets[routeKey];
24
- }
25
- else if (!bkt.resetAt && this.global && this.globalResetAt < Date.now()) {
26
- if (bkt.fnQueue.length)
27
- bkt.checkQueue();
28
- else
29
- delete this.buckets[routeKey];
30
- }
16
+ /**
17
+ * If you're being globally rate limited
18
+ */
19
+ this._global = false;
20
+ /**
21
+ * Timeframe in milliseconds until when the global rate limit resets
22
+ */
23
+ this.globalReset = 0;
24
+ /**
25
+ * Timeout that resets the global ratelimit once the timeframe has passed
26
+ */
27
+ this.globalResetTimeout = null;
28
+ }
29
+ /**
30
+ * If you're being globally rate limited
31
+ */
32
+ get global() {
33
+ return this._global;
34
+ }
35
+ /**
36
+ * If you're being globally rate limited
37
+ */
38
+ set global(value) {
39
+ if (value && this.globalReset !== 0) {
40
+ if (this.globalResetTimeout)
41
+ clearTimeout(this.globalResetTimeout);
42
+ // eslint-disable-next-line @typescript-eslint/no-this-alias
43
+ const instance = this;
44
+ this.globalResetTimeout = setTimeout(() => {
45
+ instance.global = false;
46
+ }, this.globalReset);
47
+ }
48
+ else {
49
+ if (this.globalResetTimeout)
50
+ clearTimeout(this.globalResetTimeout);
51
+ this.globalResetTimeout = null;
52
+ this.globalReset = 0;
53
+ for (const bkt of Object.values(this.buckets)) {
54
+ bkt.checkQueue();
31
55
  }
32
- };
33
- this._timeout = setInterval(() => { this._timeoutFN(); }, this._timeoutDuration);
56
+ }
57
+ this._global = value;
34
58
  }
35
59
  /**
36
60
  * Returns a key for saving ratelimits for routes
@@ -56,8 +80,9 @@ class Ratelimiter {
56
80
  queue(fn, url, method) {
57
81
  const routeKey = this.routify(url, method);
58
82
  if (!this.buckets[routeKey])
59
- this.buckets[routeKey] = new LocalBucket_1.default(this);
83
+ this.buckets[routeKey] = new LocalBucket_1.default(this, routeKey);
60
84
  this.buckets[routeKey].queue(fn);
61
85
  }
62
86
  }
87
+ Ratelimiter.default = Ratelimiter;
63
88
  module.exports = Ratelimiter;
@@ -73,10 +73,9 @@ declare class RequestHandler extends EventEmitter {
73
73
  * @param method http method to use
74
74
  * @param dataType type of the data being sent
75
75
  * @param data data to send, if any
76
- * @param amount amount of requests previously executed
77
76
  * @returns Result of the request
78
77
  */
79
- request(endpoint: string, method: HTTPMethod, dataType?: "json" | "multipart", data?: any | undefined, amount?: number): Promise<any>;
78
+ request(endpoint: string, method: HTTPMethod, dataType?: "json" | "multipart", data?: any | undefined): Promise<any>;
80
79
  /**
81
80
  * Apply the received ratelimit headers to the ratelimit bucket
82
81
  * @param bkt Ratelimit bucket to apply the headers to
@@ -88,7 +87,6 @@ declare class RequestHandler extends EventEmitter {
88
87
  * @param endpoint Endpoint to use
89
88
  * @param data Data to send
90
89
  * @param useParams Whether to send the data in the body or use query params
91
- * @param amount amount of requests previously executed
92
90
  * @returns Result of the request
93
91
  */
94
92
  private _request;
@@ -71,10 +71,9 @@ class RequestHandler extends events_1.EventEmitter {
71
71
  * @param method http method to use
72
72
  * @param dataType type of the data being sent
73
73
  * @param data data to send, if any
74
- * @param amount amount of requests previously executed
75
74
  * @returns Result of the request
76
75
  */
77
- request(endpoint, method, dataType = "json", data = {}, amount = 0) {
76
+ request(endpoint, method, dataType = "json", data = {}) {
78
77
  if (typeof data === "number")
79
78
  data = String(data);
80
79
  const stack = new Error().stack;
@@ -86,26 +85,26 @@ class RequestHandler extends events_1.EventEmitter {
86
85
  this.emit("request", reqID, { endpoint, method, dataType, data });
87
86
  let request;
88
87
  if (dataType == "json")
89
- request = await this._request(endpoint, method, data, (method === "get" || endpoint.includes("/bans") || endpoint.includes("/prune")), amount);
88
+ request = await this._request(endpoint, method, data, (method === "get" || endpoint.includes("/bans") || endpoint.includes("/prune")));
90
89
  else if (dataType == "multipart")
91
- request = await this._multiPartRequest(endpoint, method, data, amount);
92
- else {
93
- const e = new Error("Forbidden dataType. Use json or multipart");
94
- e.stack = stack;
95
- throw e;
96
- }
97
- // 429 and 502 are recoverable and will be re-tried automatically with 3 attempts max.
98
- if (request.statusCode && !Constants_1.default.OK_STATUS_CODES.includes(request.statusCode) && ![429, 502].includes(request.statusCode)) {
99
- 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);
100
- e.stack = stack;
101
- throw e;
102
- }
103
- if (request.statusCode && [429, 502].includes(request.statusCode)) {
104
- if (request.statusCode === 429) {
105
- this._applyRatelimitHeaders(bkt, request.headers);
106
- this.emit("rateLimit", { timeout: bkt.reset, limit: bkt.limit, method: method, path: endpoint, route: this.ratelimiter.routify(endpoint, method) });
90
+ request = await this._multiPartRequest(endpoint, method, data);
91
+ else
92
+ throw new Error("Forbidden dataType. Use json or multipart");
93
+ if (request.statusCode && !Constants_1.default.OK_STATUS_CODES.includes(request.statusCode) && request.statusCode !== 429)
94
+ throw 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);
95
+ this._applyRatelimitHeaders(bkt, request.headers);
96
+ if (request.statusCode === 429) {
97
+ if (!this.ratelimiter.global) {
98
+ const b = JSON.parse(request.body.toString()); // Discord says it will be a JSON, so if there's an error, sucks
99
+ if (b.reset_after !== undefined)
100
+ this.ratelimiter.globalReset = b.reset_after * 1000;
101
+ else
102
+ this.ratelimiter.globalReset = 1000; // Should realistically never happen, but you never know
103
+ if (b.global !== undefined)
104
+ this.ratelimiter.global = b.global;
107
105
  }
108
- return this.request(endpoint, method, dataType, data, amount++);
106
+ this.emit("rateLimit", { timeout: bkt.reset, limit: bkt.limit, method: method, path: endpoint, route: this.ratelimiter.routify(endpoint, method) });
107
+ throw new DiscordAPIError(endpoint, "You're being ratelimited", method, request.statusCode);
109
108
  }
110
109
  this.emit("done", reqID, request);
111
110
  if (request.body) {
@@ -136,33 +135,21 @@ class RequestHandler extends events_1.EventEmitter {
136
135
  * @param headers Http headers received from discord
137
136
  */
138
137
  _applyRatelimitHeaders(bkt, headers) {
139
- if (headers["x-ratelimit-global"]) {
140
- bkt.ratelimiter.global = true;
141
- bkt.ratelimiter.globalResetAt = Date.now() + (parseFloat(headers["retry-after"]) * 1000);
142
- }
143
- if (headers["x-ratelimit-remaining"]) {
138
+ if (headers["x-ratelimit-remaining"])
144
139
  bkt.remaining = parseInt(headers["x-ratelimit-remaining"]);
145
- if (bkt.remaining === 0)
146
- bkt.resetAt = Date.now() + bkt.reset;
147
- }
148
- else
149
- bkt.remaining = 1;
150
140
  if (headers["x-ratelimit-limit"])
151
141
  bkt.limit = parseInt(headers["x-ratelimit-limit"]);
152
- if (headers["retry-after"] && !headers["x-ratelimit-global"])
153
- bkt.resetAt = Date.now() + (parseInt(headers["retry-after"]) * 1000); // The ms precision is not strictly necessary. It always rounds up, which is safe.
142
+ if (headers["x-ratelimit-reset"])
143
+ bkt.reset = parseInt(headers["x-ratelimit-reset"]) - Date.now();
154
144
  }
155
145
  /**
156
146
  * Execute a normal json request
157
147
  * @param endpoint Endpoint to use
158
148
  * @param data Data to send
159
149
  * @param useParams Whether to send the data in the body or use query params
160
- * @param amount amount of requests previously executed
161
150
  * @returns Result of the request
162
151
  */
163
- async _request(endpoint, method, data, useParams = false, amount = 0) {
164
- if (amount >= 3)
165
- throw new Error("Max amount of rety attempts reached");
152
+ async _request(endpoint, method, data, useParams = false) {
166
153
  const headers = {};
167
154
  if (typeof data != "string" && data.reason) {
168
155
  headers["X-Audit-Log-Reason"] = encodeURIComponent(data.reason);
@@ -186,9 +173,7 @@ class RequestHandler extends events_1.EventEmitter {
186
173
  * @param data data to send
187
174
  * @returns Result of the request
188
175
  */
189
- async _multiPartRequest(endpoint, method, data, amount = 0) {
190
- if (amount >= 3)
191
- throw new Error("Max amount of rety attempts reached");
176
+ async _multiPartRequest(endpoint, method, data) {
192
177
  const form = new form_data_1.default();
193
178
  if (data.files && Array.isArray(data.files) && data.files.every(f => !!f.name && !!f.file)) {
194
179
  let index = 0;
@@ -17,12 +17,6 @@ declare class SnowTransfer {
17
17
  options: {
18
18
  baseHost: string;
19
19
  disableEveryone: boolean;
20
- sentryOptions: {
21
- extra: {
22
- snowtransferVersion: string;
23
- };
24
- };
25
- useRedis: boolean;
26
20
  };
27
21
  token: string | undefined;
28
22
  channel: ChannelMethods;
@@ -40,6 +34,7 @@ declare class SnowTransfer {
40
34
  auditLog: AuditLogMethods;
41
35
  stageInstance: StageInstanceMethods;
42
36
  ratelimiter: Ratelimiter;
37
+ static default: typeof SnowTransfer;
43
38
  /**
44
39
  * Create a new Rest Client
45
40
  * @param token Discord Bot token to use
@@ -18,7 +18,6 @@ const Bots_1 = __importDefault(require("./methods/Bots"));
18
18
  const AuditLog_1 = __importDefault(require("./methods/AuditLog"));
19
19
  const StageInstance_1 = __importDefault(require("./methods/StageInstance"));
20
20
  const Endpoints_1 = __importDefault(require("./Endpoints"));
21
- const { version } = require("../package.json");
22
21
  class SnowTransfer {
23
22
  /**
24
23
  * Create a new Rest Client
@@ -28,9 +27,9 @@ class SnowTransfer {
28
27
  constructor(token, options) {
29
28
  if (typeof token === "string" && token === "")
30
29
  throw new Error("Missing token");
31
- if (token && !token.startsWith("Bot"))
30
+ if (token && (!token.startsWith("Bot") && !token.startsWith("Bearer")))
32
31
  token = `Bot ${token}`;
33
- this.options = { baseHost: Endpoints_1.default.BASE_HOST, disableEveryone: false, sentryOptions: { extra: { snowtransferVersion: version } }, useRedis: false };
32
+ this.options = { baseHost: Endpoints_1.default.BASE_HOST, disableEveryone: false };
34
33
  this.token = token;
35
34
  Object.assign(this.options, options);
36
35
  this.ratelimiter = new Ratelimiter_1.default();
@@ -50,4 +49,5 @@ class SnowTransfer {
50
49
  this.stageInstance = new StageInstance_1.default(this.requestHandler);
51
50
  }
52
51
  }
52
+ SnowTransfer.default = SnowTransfer;
53
53
  module.exports = SnowTransfer;
package/dist/index.d.ts CHANGED
@@ -2,3 +2,5 @@ import Constants from "./Constants";
2
2
  import Endpoints from "./Endpoints";
3
3
  import SnowTransfer from "./SnowTransfer";
4
4
  export { Constants, Endpoints, SnowTransfer };
5
+ declare const _default: typeof import("./index");
6
+ export default _default;
package/dist/index.js CHANGED
@@ -10,3 +10,4 @@ const Endpoints_1 = __importDefault(require("./Endpoints"));
10
10
  exports.Endpoints = Endpoints_1.default;
11
11
  const SnowTransfer_1 = __importDefault(require("./SnowTransfer"));
12
12
  exports.SnowTransfer = SnowTransfer_1.default;
13
+ exports.default = module.exports;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  declare class AuditLogMethods {
5
5
  requestHandler: import("../RequestHandler");
6
+ static default: typeof AuditLogMethods;
6
7
  /**
7
8
  * Create a new Audit Log Method Handler
8
9
  *
@@ -41,4 +41,5 @@ class AuditLogMethods {
41
41
  return this.requestHandler.request(Endpoints_1.default.GUILD_AUDIT_LOGS(guildId), "get", "json", data);
42
42
  }
43
43
  }
44
+ AuditLogMethods.default = AuditLogMethods;
44
45
  module.exports = AuditLogMethods;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  declare class BotMethods {
5
5
  requestHandler: import("../RequestHandler");
6
+ static default: typeof BotMethods;
6
7
  /**
7
8
  * Create a new Bot Method Handler
8
9
  *
@@ -43,4 +43,5 @@ class BotMethods {
43
43
  return this.requestHandler.request(Endpoints_1.default.GATEWAY_BOT, "get", "json");
44
44
  }
45
45
  }
46
+ BotMethods.default = BotMethods;
46
47
  module.exports = BotMethods;
@@ -5,6 +5,7 @@
5
5
  declare class ChannelMethods {
6
6
  requestHandler: import("../RequestHandler");
7
7
  disableEveryone: boolean;
8
+ static default: typeof ChannelMethods;
8
9
  /**
9
10
  * Create a new Channel Method handler
10
11
  *
@@ -757,6 +757,7 @@ class ChannelMethods {
757
757
  return this.requestHandler.request(`${Endpoints_1.default.CHANNEL_THREADS_ARCHIVED_PRIVATE_USER(channelId)}${query ? Object.keys(query).map((v, index) => `${index === 0 ? "?" : "&"}${v}=${query[v]}`).join("") : ""}`, "get", "json");
758
758
  }
759
759
  }
760
+ ChannelMethods.default = ChannelMethods;
760
761
  function replaceEveryone(_match, target) {
761
762
  if (target.match(/^[&!]?\d+$/))
762
763
  return `@${target}`;
@@ -4,6 +4,7 @@
4
4
  */
5
5
  declare class GuildAssetsMethods {
6
6
  requestHandler: import("../RequestHandler");
7
+ static default: typeof GuildAssetsMethods;
7
8
  /**
8
9
  * Create a new GuildAssets Method handler
9
10
  *
@@ -220,4 +220,5 @@ class GuildAssetsMethods {
220
220
  return this.requestHandler.request(Endpoints_1.default.GUILD_STICKER(guildId, stickerId), "delete", "json", reason ? { reason } : undefined);
221
221
  }
222
222
  }
223
+ GuildAssetsMethods.default = GuildAssetsMethods;
223
224
  module.exports = GuildAssetsMethods;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  declare class GuildScheduledEventMethods {
5
5
  requestHandler: import("../RequestHandler");
6
+ static default: typeof GuildScheduledEventMethods;
6
7
  /**
7
8
  * Create a new Guild Scheduled Event Method Handler
8
9
  *
@@ -145,4 +145,5 @@ class GuildScheduledEventMethods {
145
145
  return this.requestHandler.request(`${Endpoints_1.default.GUILD_SCHEDULED_EVENT_USERS(guildId, eventId)}${query ? Object.keys(query).map((v, index) => `${index === 0 ? "?" : "&"}${v}=${query[v]}`).join("") : ""}`, "get", "json");
146
146
  }
147
147
  }
148
+ GuildScheduledEventMethods.default = GuildScheduledEventMethods;
148
149
  module.exports = GuildScheduledEventMethods;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  declare class GuildTemplateMethods {
5
5
  requestHandler: import("../RequestHandler");
6
+ static default: typeof GuildTemplateMethods;
6
7
  /**
7
8
  * Create a new Guild Template Method Handler
8
9
  *
@@ -129,4 +129,5 @@ class GuildTemplateMethods {
129
129
  return this.requestHandler.request(Endpoints_1.default.GUILD_TEMPLATE(guildId, code), "delete", "json");
130
130
  }
131
131
  }
132
+ GuildTemplateMethods.default = GuildTemplateMethods;
132
133
  module.exports = GuildTemplateMethods;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  declare class GuildMethods {
5
5
  requestHandler: import("../RequestHandler");
6
+ static default: typeof GuildMethods;
6
7
  /**
7
8
  * Create a new Guild Method Handler
8
9
  *
@@ -744,4 +744,5 @@ class GuildMethods {
744
744
  return this.requestHandler.request(Endpoints_1.default.GUILD_VOICE_STATE_USER(guildId, userId), "patch", "json", data);
745
745
  }
746
746
  }
747
+ GuildMethods.default = GuildMethods;
747
748
  module.exports = GuildMethods;
@@ -6,6 +6,7 @@ declare type WebhookMethods = import("./Webhooks");
6
6
  declare class InteractionMethods {
7
7
  requestHandler: import("../RequestHandler");
8
8
  webhooks: import("./Webhooks");
9
+ static default: typeof InteractionMethods;
9
10
  /**
10
11
  * Create a new Interaction Method Handler
11
12
  *
@@ -188,19 +189,6 @@ declare class InteractionMethods {
188
189
  * const permissions = await client.interaction.editGuildApplicationCommandPermissions("appId", "guildId", "cmdId", [{ type: 2, id: "userId", permission: true }])
189
190
  */
190
191
  editGuildApplicationCommandPermissions(appId: string, guildId: string, cmdId: string, permissions: Array<import("discord-typings").ApplicationCommandPermission>): Promise<import("discord-typings").GuildApplicationCommandPermission>;
191
- /**
192
- * Batch edits permissions for all commands in a guild. Takes an Array of partial [guild application command permission](https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-guild-application-command-permissions-structure) objects.
193
- * You can only add up to 10 permission overwrites for a command
194
- * @param appId The Id of the application
195
- * @param guildId The Id of the guild
196
- * @param permissions New application command permissions data Array
197
- * @returns An Array of [guild application command permission](https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-guild-application-command-permissions-structure) objects
198
- *
199
- * @example
200
- * const client = new SnowTransfer("TOKEN")
201
- * const permissions = await client.interaction.bulkEditGuildApplicationCommandPermissions("appId", "guildId", [{ id: "cmdId", permissions: [{ type: 2, id: "userId", permission: true }] }])
202
- */
203
- batchEditGuildApplicationCommandPermissions(appId: string, guildId: string, permissions: Array<Pick<import("discord-typings").GuildApplicationCommandPermission, "id" | "permissions">>): Promise<Array<import("discord-typings").GuildApplicationCommandPermission>>;
204
192
  /**
205
193
  * Create a response to an Interaction
206
194
  *
@@ -205,21 +205,6 @@ class InteractionMethods {
205
205
  const payload = { permissions: permissions };
206
206
  return this.requestHandler.request(Endpoints_1.default.APPLICATION_GUILD_COMMAND_PERMISSIONS(appId, guildId, cmdId), "put", "json", payload);
207
207
  }
208
- /**
209
- * Batch edits permissions for all commands in a guild. Takes an Array of partial [guild application command permission](https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-guild-application-command-permissions-structure) objects.
210
- * You can only add up to 10 permission overwrites for a command
211
- * @param appId The Id of the application
212
- * @param guildId The Id of the guild
213
- * @param permissions New application command permissions data Array
214
- * @returns An Array of [guild application command permission](https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-guild-application-command-permissions-structure) objects
215
- *
216
- * @example
217
- * const client = new SnowTransfer("TOKEN")
218
- * const permissions = await client.interaction.bulkEditGuildApplicationCommandPermissions("appId", "guildId", [{ id: "cmdId", permissions: [{ type: 2, id: "userId", permission: true }] }])
219
- */
220
- batchEditGuildApplicationCommandPermissions(appId, guildId, permissions) {
221
- return this.requestHandler.request(Endpoints_1.default.APPLICATION_GUILD_COMMANDS_PERMISSIONS(appId, guildId), "put", "json", permissions);
222
- }
223
208
  /**
224
209
  * Create a response to an Interaction
225
210
  *
@@ -338,4 +323,5 @@ class InteractionMethods {
338
323
  return this.webhooks.deleteWebhookMessage(appId, token, messageId);
339
324
  }
340
325
  }
326
+ InteractionMethods.default = InteractionMethods;
341
327
  module.exports = InteractionMethods;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  declare class InviteMethods {
5
5
  requestHandler: import("../RequestHandler");
6
+ static default: typeof InviteMethods;
6
7
  /**
7
8
  * Create a new Invite Method Handler
8
9
  *
@@ -50,4 +50,5 @@ class InviteMethods {
50
50
  return this.requestHandler.request(Endpoints_1.default.INVITES(inviteId), "delete", "json");
51
51
  }
52
52
  }
53
+ InviteMethods.default = InviteMethods;
53
54
  module.exports = InviteMethods;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  declare class StageInstanceMethods {
5
5
  requestHandler: import("../RequestHandler");
6
+ static default: typeof StageInstanceMethods;
6
7
  /**
7
8
  * Create a new Stage Instance Method Handler
8
9
  *
@@ -87,4 +87,5 @@ class StageInstanceMethods {
87
87
  return this.requestHandler.request(Endpoints_1.default.STAGE_INSTANCE_CHANNEL(channelId), "delete", "json", reason ? { reason } : undefined);
88
88
  }
89
89
  }
90
+ StageInstanceMethods.default = StageInstanceMethods;
90
91
  module.exports = StageInstanceMethods;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  declare class UserMethods {
5
5
  requestHandler: import("../RequestHandler");
6
+ static default: typeof UserMethods;
6
7
  /**
7
8
  * Create a new User Method handler
8
9
  *
@@ -103,4 +103,5 @@ class UserMethods {
103
103
  return this.requestHandler.request(Endpoints_1.default.USER_CHANNELS("@me"), "post", "json", { recipient_id: userId });
104
104
  }
105
105
  }
106
+ UserMethods.default = UserMethods;
106
107
  module.exports = UserMethods;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  declare class VoiceMethods {
5
5
  requestHandler: import("../RequestHandler");
6
+ static default: typeof VoiceMethods;
6
7
  /**
7
8
  * Create a new Voice Method Handler
8
9
  *
@@ -30,4 +30,5 @@ class VoiceMethods {
30
30
  return this.requestHandler.request(Endpoints_1.default.VOICE_REGIONS, "get", "json");
31
31
  }
32
32
  }
33
+ VoiceMethods.default = VoiceMethods;
33
34
  module.exports = VoiceMethods;
@@ -5,6 +5,7 @@
5
5
  declare class WebhookMethods {
6
6
  requestHandler: import("../RequestHandler");
7
7
  disableEveryone: boolean;
8
+ static default: typeof WebhookMethods;
8
9
  /**
9
10
  * Create a new Method Handler
10
11
  *
@@ -211,6 +211,7 @@ class WebhookMethods {
211
211
  return this.requestHandler.request(`${Endpoints_1.default.WEBHOOK_TOKEN_MESSAGE(webhookId, token, messageId)}${threadId ? `?thread_id=${threadId}` : ""}`, "delete", "json");
212
212
  }
213
213
  }
214
+ WebhookMethods.default = WebhookMethods;
214
215
  function replaceEveryone(_match, target) {
215
216
  if (target.match(/^[&!]?\d+$/))
216
217
  return `@${target}`;
@@ -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.es2021.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/constants.ts","../src/endpoints.ts","../src/ratelimiter.ts","../src/localbucket.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/reference.d.ts","../node_modules/discord-typings/topics/permissions.d.ts","../node_modules/discord-typings/resources/emoji.d.ts","../node_modules/discord-typings/resources/voice.d.ts","../node_modules/discord-typings/topics/opcodesandstatuscodes.d.ts","../node_modules/discord-typings/topics/teams.d.ts","../node_modules/discord-typings/resources/application.d.ts","../node_modules/discord-typings/resources/sticker.d.ts","../node_modules/discord-typings/resources/guildscheduledevent.d.ts","../node_modules/discord-typings/resources/invite.d.ts","../node_modules/discord-typings/topics/gateway.d.ts","../node_modules/discord-typings/resources/stageinstance.d.ts","../node_modules/discord-typings/resources/guild.d.ts","../node_modules/discord-typings/resources/user.d.ts","../node_modules/discord-typings/interactions/messagecomponents.d.ts","../node_modules/discord-typings/interactions/receivingandresponding.d.ts","../node_modules/discord-typings/resources/channel.d.ts","../node_modules/discord-typings/interactions/applicationcommands.d.ts","../node_modules/discord-typings/resources/webhook.d.ts","../node_modules/discord-typings/resources/auditlog.d.ts","../node_modules/discord-typings/resources/guildtemplate.d.ts","../node_modules/discord-typings/topics/oauth2.d.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/guildscheduledevent.ts","../src/methods/guildtemplate.ts","../src/methods/interactions.ts","../src/methods/invites.ts","../src/methods/voice.ts","../src/methods/bots.ts","../src/methods/auditlog.ts","../src/methods/stageinstance.ts","../src/snowtransfer.ts","../src/index.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","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},"cb61fce05cddf001ed2eaf8151e31b3e84dde7ecbd6e8f633605ac6a81bdfaec","11c8dd45beadb2a87d23e4a43d48cfd448114c2188479bac004e5aae459767fb","5225fdba7ddbe83a4f9c5e46c77dc2434f57a4e73b399a8c00599c72df8124f6","dea3c6b6b7f4d121bda4f4f71414ad9f9f70c16c88ae643ca4fa15889e48da99","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","c665d5c50c2573aefd98f0ffb12c5583e333ed94294ce6f144a4163a8c84f09b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"839e0b959028f5385ca8de7b9d9c00d71a5955d52d2c98cb3e488a626f7b90b3","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","3fa48484c65913004d5abb5c0f917b61ea4684f32d05bb28c1ecfa5f05a9ed12","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","3e5883cbd1b75ae02ec22e0a74b35c1c069eecf6a34814292024f431d3a38cb3","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","27c026e258efa9fd52925f70b3ea51ad37675231e4f98fad55e44295531c6112","dba1158a38c78ad31104b9cb36086133846b4c1b2b08d35f79868bdf2fc0ac8a","150a5862874478d5c14e7b6f02e1df5f5e46284b7dcae8822d6f045fc30e94a4","a26ea102be21fbcae9d7eefe8e1deb6d5065af54a2470494fb55cf2b6c5f4793","ca6f8fe753ffd22a559a5838c4fe2a8a0c54ce9acd06464bbee549e6250a5814","08efe48606426eca55d9ff13f2849019d4689fa4cb2d27a9f0be4e543a7ce5e1","4cb4c93a284d529a689f96c49a162b654a86451543140e38e18d120342b59230","0921334431ec6bf599691193762a4f6d049c8632c563b09ac13665506ec43195","c9e75e2e8a8f78f713c243b95fa5ebf425eddf7a0f8ee4bf957d969ce522c055","bf0763a84702a72bbc492f6a41196b70df432dfec062af0f6a555d785b943cfb","c50c47776ee0e959c1f6cb757a71be9311113997b056138a3f28bc43c1958966","cdbc754377ec374060582fa7724aad80ce8b68369b71458e726338581c40706a","c78aa784c2c60a8acd213cbb94f9a4792788f679c6c64824910bf5d3b028eb42","fb2392ba3c7a500f6dd866c6d5c64aa6c359eb7468a9516659db600a18fdf9c4","b800c4657de5751c42a234152368abdc480201355c9ea2d79f1e2251f0a0923a","febff245a678fc3f598c5611c8f5c079db8b12ad08e61ef1d7febfa9c82743b2","87c6f7bfbadfadb3f009c0e09c69070c7e92dd5875263551fb8e94b0b741db75","bf00b712b4e2ab4bada3266b6bed1a9e1ffbd80419fd57acdfb8e25af4a6f9fc","204070adc433ffd7f2c9d5e598074024ce8bfb6225eb841e293ac1283a165213","cf8ef3555f09f8b71df47dc63dff5a869fb4afe4a1cb632dbec3dd625af725f3","09204f16ca39c50312240dd628092570e5483b6ac0b6d6dd1851ff5c6b1875ef","e4ff2ec932357917fc93a319a654ca4a9e948392c8cb8e4a806e92d3add51047","7ba36d11ae38518a6ff04bdf2089c5e62ea10ef8801512f250681b1f271225bd","9f2c9e732e01e506055e2b6f336c24d8c1ea559c803e362dc0d4342b6e7902d1","fc68bc9cd13667765c3e4a382e217ac1165ee9e6948b1591a9c144ec662151c1","7ccdad1f0ed06f6fef37eed632fb3bfd8f05620d7ba7eb37609080745e194da1","49ffe14ffbcfb867015302b9b902414e56e5c974d5f03cfb49b61224683445c3","5f74434192bd61fdd8682d4f1843958c2722df78571424ae1dc04a6c7ce63abb","066560fb2c375e397b8d1d7552335a0743d0adc2d556b7b94de4aeda7fbf4833","5a1460778436385a1c7cd0b92c224e491af64a1e38a8e0c201edd2c5d57733b5","f0cba9bf83b03fbf9909bebed99eb882ac2c30691886d50176f56843a8b1d914","e79650a6c4d92f0e55d1ad50908c6b2d322988f38477a52d8393aaa010f35e2e","0aade2e51d0a975d130b4a3c2208349f31dbf0bea801ca5cb4a830f809d72383","26851c5508e3ff3506fe841159b1296422f7edd7d2447d5a867e5394052e09bf","88843b6a4716e678aae0051cafb2a4c029ae707fc62f9f67dfd481613b071cd2","f5c1fded065bc1dd85e3d714fc509a367760c47134a618eb6ffa86e2f7cf706d","899c49f3e69a66a96d71e831b0e3f33462c2718eaa875b39f19fc25fc4627dbf","8234093272e7b11d568338f9743ecd945ae7cc3745d04a4e5fe4ec9039d6425b","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":[[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],[93,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125],[93,104,120],[93,106],[93,104,105,116,117,118,120,121],[93,104,109,117],[93,104,112,116,117,120,122],[93,104,106,110,111,116,117,118,119],[93,104,117],[93,104,105,106,107,111,112,114,115,117,120],[93,104,116,117],[93,110,112,116,117,120],[93,104],[93,104,116],[93,104,116,117,120],[93,104,105,106,108,110,111,113,116,117,120],[68,82,93,100],[46,93],[46,47,93,140],[48,93],[47,93,103,126],[46,47,93,103,126],[47,93,103,126,130],[49,93],[46,47,48,49,59,65,93,101,102],[47,48,93,103,127,128,129,130,131,132,133,134,135,136,137,138,139]],"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],[126,50],[121,51],[118,52],[119,53],[104,1],[110,54],[123,55],[120,56],[106,57],[116,58],[112,59],[124,59],[113,60],[115,61],[111,57],[117,62],[107,62],[122,63],[114,64],[125,1],[108,1],[105,61],[109,57],[102,65],[46,1],[47,66],[141,67],[49,68],[138,69],[137,69],[127,70],[129,69],[131,70],[132,70],[133,69],[134,71],[135,69],[139,69],[128,69],[136,69],[130,69],[48,72],[103,73],[140,74]],"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],[126,50],[121,51],[118,52],[119,53],[104,1],[110,54],[123,55],[120,56],[106,57],[116,58],[112,59],[124,59],[113,60],[115,61],[111,57],[117,62],[107,62],[122,63],[114,64],[125,1],[108,1],[105,61],[109,57],[102,65],[46,1],[47,66],[141,67],[49,68],[138,69],[137,69],[127,70],[129,69],[131,70],[132,70],[133,69],[134,71],[135,69],[139,69],[128,69],[136,69],[130,69],[48,72],[103,73],[140,74]],"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,126,121,118,119,104,110,123,120,106,116,112,124,113,115,111,117,107,122,114,125,108,105,109,102,46,47,141,49,138,137,127,129,131,132,133,134,135,139,128,136,130,48,103,140]},"version":"4.5.5"}
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/ratelimiter.ts","../src/localbucket.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/reference.d.ts","../node_modules/discord-typings/topics/permissions.d.ts","../node_modules/discord-typings/resources/emoji.d.ts","../node_modules/discord-typings/resources/voice.d.ts","../node_modules/discord-typings/topics/opcodesandstatuscodes.d.ts","../node_modules/discord-typings/topics/teams.d.ts","../node_modules/discord-typings/resources/application.d.ts","../node_modules/discord-typings/resources/sticker.d.ts","../node_modules/discord-typings/resources/guildscheduledevent.d.ts","../node_modules/discord-typings/resources/invite.d.ts","../node_modules/discord-typings/topics/gateway.d.ts","../node_modules/discord-typings/resources/stageinstance.d.ts","../node_modules/discord-typings/resources/guild.d.ts","../node_modules/discord-typings/resources/user.d.ts","../node_modules/discord-typings/interactions/messagecomponents.d.ts","../node_modules/discord-typings/interactions/receivingandresponding.d.ts","../node_modules/discord-typings/resources/channel.d.ts","../node_modules/discord-typings/interactions/applicationcommands.d.ts","../node_modules/discord-typings/resources/webhook.d.ts","../node_modules/discord-typings/resources/auditlog.d.ts","../node_modules/discord-typings/resources/guildtemplate.d.ts","../node_modules/discord-typings/topics/oauth2.d.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/guildscheduledevent.ts","../src/methods/guildtemplate.ts","../src/methods/interactions.ts","../src/methods/invites.ts","../src/methods/voice.ts","../src/methods/bots.ts","../src/methods/auditlog.ts","../src/methods/stageinstance.ts","../src/snowtransfer.ts","../src/index.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","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},"cb61fce05cddf001ed2eaf8151e31b3e84dde7ecbd6e8f633605ac6a81bdfaec","11c8dd45beadb2a87d23e4a43d48cfd448114c2188479bac004e5aae459767fb",{"version":"aa9ef812e6699e828b2beb1fa9dc91def147992a1ce850a4c602528e909c923f","signature":"57a633dd0eeb0f5aae82a9257a2fee5f4e71b87413c0057259bbc347bff95873"},{"version":"22b28ab618a3e63fba23da5985599445ec9ff7ca75d4da4a908bfbb9c739eb12","signature":"e76bb9431f64b6e0acb5256c905745b4abfb9cc7350b9473b58bee296acd18cd"},"0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","c665d5c50c2573aefd98f0ffb12c5583e333ed94294ce6f144a4163a8c84f09b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"839e0b959028f5385ca8de7b9d9c00d71a5955d52d2c98cb3e488a626f7b90b3","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","3fa48484c65913004d5abb5c0f917b61ea4684f32d05bb28c1ecfa5f05a9ed12","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","3e5883cbd1b75ae02ec22e0a74b35c1c069eecf6a34814292024f431d3a38cb3","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50",{"version":"36adfc4d21c275108e0a23e359f29f040573ab677e3e7cc167cdab6aef1972ee","signature":"4fa3d248880c0e753acf0b04c3dece5169ce7c74e8a39f5f2827986fc8d9f450"},"dba1158a38c78ad31104b9cb36086133846b4c1b2b08d35f79868bdf2fc0ac8a","150a5862874478d5c14e7b6f02e1df5f5e46284b7dcae8822d6f045fc30e94a4","a26ea102be21fbcae9d7eefe8e1deb6d5065af54a2470494fb55cf2b6c5f4793","ca6f8fe753ffd22a559a5838c4fe2a8a0c54ce9acd06464bbee549e6250a5814","08efe48606426eca55d9ff13f2849019d4689fa4cb2d27a9f0be4e543a7ce5e1","4cb4c93a284d529a689f96c49a162b654a86451543140e38e18d120342b59230","0921334431ec6bf599691193762a4f6d049c8632c563b09ac13665506ec43195","c9e75e2e8a8f78f713c243b95fa5ebf425eddf7a0f8ee4bf957d969ce522c055","bf0763a84702a72bbc492f6a41196b70df432dfec062af0f6a555d785b943cfb","c50c47776ee0e959c1f6cb757a71be9311113997b056138a3f28bc43c1958966","66e60faeab7e8df4541d68e84ac281b0de373a86a527c4d50258594348ec1a5a","c78aa784c2c60a8acd213cbb94f9a4792788f679c6c64824910bf5d3b028eb42","a72fd599c8f1326316384090a58ca0be575c7d0db586ab5936eb94ecdd006ee1","b800c4657de5751c42a234152368abdc480201355c9ea2d79f1e2251f0a0923a","febff245a678fc3f598c5611c8f5c079db8b12ad08e61ef1d7febfa9c82743b2","87c6f7bfbadfadb3f009c0e09c69070c7e92dd5875263551fb8e94b0b741db75","bf00b712b4e2ab4bada3266b6bed1a9e1ffbd80419fd57acdfb8e25af4a6f9fc","9945ceca078180ca2d1fc86bbcf396847b52c2bf33e31ad65737184bf511850d","cf8ef3555f09f8b71df47dc63dff5a869fb4afe4a1cb632dbec3dd625af725f3","f86655282cbf385fe04ea6b4ac3680a1c9642f224047066ad1d23770e5acd84d","e4ff2ec932357917fc93a319a654ca4a9e948392c8cb8e4a806e92d3add51047","cbc7bf9784200f661258f2a7baef8858e82748d4a2aac7220e2a92f495c5c29e","9f2c9e732e01e506055e2b6f336c24d8c1ea559c803e362dc0d4342b6e7902d1","9cb344fbb18329dd7a05646c6147d28444397ccfece3463a38a7386e65909dc0","190e4bd65c0b5577742aebcbbd8cb16c9cb1b8a10debab8e8457e5156622921c","18ac440421b8ea24fd4cc39178859ced8856d5560528e9b6013b76ebd53c8181","2c9eebcd60492f68834f9bef2f71b21fe2384b25d3492cd715aa7f91bb0d7576","75d351ce113f0ce3660163e0e7e411a638c5f425c3be41d92631e5f37db33e9d","3e3244362e3037774e611dbd5bb31ddae1715f90e81d75a222c0d9a8cbbd72b3","5a5817d394f3ae4de2798ffcceb48b4b6d74b7470fe122627bafee108defe27a","4407a22593541b7fe36e1261859d677e898ef2873dca1732041b36002ea214d4","761cbe3f57ac18ca51679e5e398586a6fbc98917ea1263b17ee3f17faa40fb95","c44a29b40fe3e7f8b43c1b254b448c6ea5a8af6653f6efd5f6168dcd680ca042","3756b369d2e1831c3f25381431ebd1fa01bd5aa674aa35fbc430e04bea5a88a6","39246cf2d1ad53fa6ff6f24b3c14832b80ef855840051b845a64f95852d18e70","d3ebdf78c54358f5d2331f0b2adaf82ff66b1ea8fe213cdc38292d751a0f82ec",{"version":"a6ae98b880fa6b86fe9c7d97e4d24ecceda7e22164c9764575192d46a89d5f55","signature":"4040a6d392ae0b5a80a416c924cbee5e9c565e0847792e4169a2a71cdbaa45ef"},"9e0f801ebbe14a03d76179eb5dcf862494f883a11024682c7f1e01c010cfe8eb"],"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],[93,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125],[93,104,120],[93,106],[93,104,105,116,117,118,120,121],[93,104,109,117],[93,104,112,116,117,120,122],[93,104,106,110,111,116,117,118,119],[93,104,117],[93,104,105,106,107,111,112,114,115,117,120],[93,104,116,117],[93,110,112,116,117,120],[93,104],[93,104,116],[93,104,116,117,120],[93,104,105,106,108,110,111,113,116,117,120],[68,82,93,100],[46,93],[46,47,93,140,141],[48,93],[47,93,103,126],[46,47,93,103,126],[47,93,103,126,130],[49,93],[46,47,48,49,59,65,93,101,102],[47,48,93,103,127,128,129,130,131,132,133,134,135,136,137,138,139],[48],[49],[48,65,101],[48,103,127,128,129,130,131,132,133,134,135,136,137,138,139]],"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],[126,50],[121,51],[118,52],[119,53],[104,1],[110,54],[123,55],[120,56],[106,57],[116,58],[112,59],[124,59],[113,60],[115,61],[111,57],[117,62],[107,62],[122,63],[114,64],[125,1],[108,1],[105,61],[109,57],[102,65],[46,1],[47,66],[141,67],[49,68],[138,69],[137,69],[127,70],[129,69],[131,70],[132,70],[133,69],[134,71],[135,69],[139,69],[128,69],[136,69],[130,69],[48,72],[103,73],[140,74]],"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],[126,50],[121,51],[118,52],[119,53],[104,1],[110,54],[123,55],[120,56],[106,57],[116,58],[112,59],[124,59],[113,60],[115,61],[111,57],[117,62],[107,62],[122,63],[114,64],[125,1],[108,1],[105,61],[109,57],[102,65],[46,1],[47,66],[141,67],[49,75],[138,69],[137,69],[127,70],[129,69],[131,70],[132,70],[133,69],[134,71],[135,69],[139,69],[128,69],[136,69],[130,69],[48,76],[103,77],[140,78]],"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,126,121,118,119,104,110,123,120,106,116,112,124,113,115,111,117,107,122,114,125,108,105,109,102,46,47,141,49,138,137,127,129,131,132,133,134,135,139,128,136,130,48,103,140]},"version":"4.5.5"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snowtransfer",
3
- "version": "0.5.0",
3
+ "version": "0.5.3",
4
4
  "description": "Minimalistic Rest client for the Discord Api",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -30,15 +30,15 @@
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
32
  "centra": "^2.5.0",
33
- "discord-typings": "^10.1.0",
33
+ "discord-typings": "^10.1.2",
34
34
  "form-data": "~4.0.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/centra": "^2.2.0",
38
38
  "@types/node": "^16.0.1",
39
- "@typescript-eslint/eslint-plugin": "^5.18.0",
40
- "@typescript-eslint/parser": "^5.18.0",
41
- "eslint": "^8.13.0",
39
+ "@typescript-eslint/eslint-plugin": "^5.21.0",
40
+ "@typescript-eslint/parser": "^5.21.0",
41
+ "eslint": "^8.14.0",
42
42
  "typedoc": "^0.22.15",
43
43
  "typedoc-plugin-mdn-links": "^1.0.6",
44
44
  "typedoc-plugin-missing-exports": "^0.22.6",