@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.
package/dist/index.d.mts CHANGED
@@ -534,7 +534,7 @@ declare class GuildsAPI {
534
534
  * @param options - The options for fetching the guild
535
535
  * @deprecated Use the overload with a query instead.
536
536
  */
537
- get(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
537
+ get(guildId: Snowflake, { signal }: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
538
538
  /**
539
539
  * Fetches a guild
540
540
  *
package/dist/index.d.ts CHANGED
@@ -534,7 +534,7 @@ declare class GuildsAPI {
534
534
  * @param options - The options for fetching the guild
535
535
  * @deprecated Use the overload with a query instead.
536
536
  */
537
- get(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
537
+ get(guildId: Snowflake, { signal }: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
538
538
  /**
539
539
  * Fetches a guild
540
540
  *
package/dist/index.js CHANGED
@@ -3023,7 +3023,7 @@ __name(withFiles, "withFiles");
3023
3023
 
3024
3024
  // src/index.ts
3025
3025
  __reExport(src_exports, require("discord-api-types/v10"), module.exports);
3026
- var version = "2.1.0";
3026
+ var version = "2.1.1";
3027
3027
  // Annotate the CommonJS export names for ESM import in node:
3028
3028
  0 && (module.exports = {
3029
3029
  API,