@discordjs/core 2.1.0 → 2.1.1

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.
@@ -531,7 +531,7 @@ declare class GuildsAPI {
531
531
  * @param options - The options for fetching the guild
532
532
  * @deprecated Use the overload with a query instead.
533
533
  */
534
- get(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
534
+ get(guildId: Snowflake, { signal }: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
535
535
  /**
536
536
  * Fetches a guild
537
537
  *
@@ -531,7 +531,7 @@ declare class GuildsAPI {
531
531
  * @param options - The options for fetching the guild
532
532
  * @deprecated Use the overload with a query instead.
533
533
  */
534
- get(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
534
+ get(guildId: Snowflake, { signal }: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
535
535
  /**
536
536
  * Fetches a guild
537
537
  *
package/dist/http-only.js CHANGED
@@ -2876,7 +2876,7 @@ __name(withFiles, "withFiles");
2876
2876
 
2877
2877
  // src/http-only/index.ts
2878
2878
  __reExport(http_only_exports, require("discord-api-types/v10"), module.exports);
2879
- var version = "2.1.0";
2879
+ var version = "2.1.1";
2880
2880
  // Annotate the CommonJS export names for ESM import in node:
2881
2881
  0 && (module.exports = {
2882
2882
  API,