@discordjs/core 3.0.0-dev.1735905894-bacc08b45 → 3.0.0-dev.1735949501-28a250384

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.
@@ -1544,7 +1544,7 @@ declare class InteractionsAPI {
1544
1544
  */
1545
1545
  updateMessage(interactionId: Snowflake, interactionToken: string, callbackData: CreateInteractionUpdateMessageResponseOptions & {
1546
1546
  with_response: true;
1547
- }, options: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult>;
1547
+ }, options?: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult>;
1548
1548
  /**
1549
1549
  * Updates the message the component interaction was triggered on
1550
1550
  *
@@ -1556,7 +1556,7 @@ declare class InteractionsAPI {
1556
1556
  */
1557
1557
  updateMessage(interactionId: Snowflake, interactionToken: string, callbackData: CreateInteractionUpdateMessageResponseOptions & {
1558
1558
  with_response?: false;
1559
- }, options: Pick<RequestData, 'signal'>): Promise<undefined>;
1559
+ }, options?: Pick<RequestData, 'signal'>): Promise<undefined>;
1560
1560
  /**
1561
1561
  * Sends an autocomplete response to an interaction and returns an interaction callback object
1562
1562
  *
@@ -1580,7 +1580,7 @@ declare class InteractionsAPI {
1580
1580
  */
1581
1581
  createAutocompleteResponse(interactionId: Snowflake, interactionToken: string, callbackData: CreateAutocompleteResponseOptions & {
1582
1582
  with_response?: false;
1583
- }, options: Pick<RequestData, 'signal'>): Promise<undefined>;
1583
+ }, options?: Pick<RequestData, 'signal'>): Promise<undefined>;
1584
1584
  /**
1585
1585
  * Sends a modal response to an interaction and returns an interaction callback object
1586
1586
  *
@@ -1544,7 +1544,7 @@ declare class InteractionsAPI {
1544
1544
  */
1545
1545
  updateMessage(interactionId: Snowflake, interactionToken: string, callbackData: CreateInteractionUpdateMessageResponseOptions & {
1546
1546
  with_response: true;
1547
- }, options: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult>;
1547
+ }, options?: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult>;
1548
1548
  /**
1549
1549
  * Updates the message the component interaction was triggered on
1550
1550
  *
@@ -1556,7 +1556,7 @@ declare class InteractionsAPI {
1556
1556
  */
1557
1557
  updateMessage(interactionId: Snowflake, interactionToken: string, callbackData: CreateInteractionUpdateMessageResponseOptions & {
1558
1558
  with_response?: false;
1559
- }, options: Pick<RequestData, 'signal'>): Promise<undefined>;
1559
+ }, options?: Pick<RequestData, 'signal'>): Promise<undefined>;
1560
1560
  /**
1561
1561
  * Sends an autocomplete response to an interaction and returns an interaction callback object
1562
1562
  *
@@ -1580,7 +1580,7 @@ declare class InteractionsAPI {
1580
1580
  */
1581
1581
  createAutocompleteResponse(interactionId: Snowflake, interactionToken: string, callbackData: CreateAutocompleteResponseOptions & {
1582
1582
  with_response?: false;
1583
- }, options: Pick<RequestData, 'signal'>): Promise<undefined>;
1583
+ }, options?: Pick<RequestData, 'signal'>): Promise<undefined>;
1584
1584
  /**
1585
1585
  * Sends a modal response to an interaction and returns an interaction callback object
1586
1586
  *
package/dist/http-only.js CHANGED
@@ -2964,7 +2964,7 @@ __name(withFiles, "withFiles");
2964
2964
 
2965
2965
  // src/http-only/index.ts
2966
2966
  __reExport(http_only_exports, require("discord-api-types/v10"), module.exports);
2967
- var version = "3.0.0-dev.1735905894-bacc08b45";
2967
+ var version = "3.0.0-dev.1735949501-28a250384";
2968
2968
  // Annotate the CommonJS export names for ESM import in node:
2969
2969
  0 && (module.exports = {
2970
2970
  API,