@discordjs/core 1.3.0-dev.1721151475-5f1911db3 → 1.3.0-dev.1721151670-efa16a609

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.
@@ -1393,6 +1393,7 @@ declare class InteractionsAPI {
1393
1393
  * @param interactionId - The id of the interaction
1394
1394
  * @param interactionToken - The token of the interaction
1395
1395
  * @param options - The options for sending the premium required response
1396
+ * @deprecated Sending a premium-style button is the new Discord behaviour.
1396
1397
  */
1397
1398
  sendPremiumRequired(interactionId: Snowflake, interactionToken: string, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
1398
1399
  }
@@ -1572,7 +1573,7 @@ declare class StageInstancesAPI {
1572
1573
  /**
1573
1574
  * Creates a new stage instance
1574
1575
  *
1575
- * @see {@link https://discord.com/developers/docs/resources/stage-instance#get-stage-instance}
1576
+ * @see {@link https://discord.com/developers/docs/resources/stage-instance#create-stage-instance}
1576
1577
  * @param body - The data for creating the new stage instance
1577
1578
  * @param options - The options for creating the new stage instance
1578
1579
  */
@@ -1393,6 +1393,7 @@ declare class InteractionsAPI {
1393
1393
  * @param interactionId - The id of the interaction
1394
1394
  * @param interactionToken - The token of the interaction
1395
1395
  * @param options - The options for sending the premium required response
1396
+ * @deprecated Sending a premium-style button is the new Discord behaviour.
1396
1397
  */
1397
1398
  sendPremiumRequired(interactionId: Snowflake, interactionToken: string, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
1398
1399
  }
@@ -1572,7 +1573,7 @@ declare class StageInstancesAPI {
1572
1573
  /**
1573
1574
  * Creates a new stage instance
1574
1575
  *
1575
- * @see {@link https://discord.com/developers/docs/resources/stage-instance#get-stage-instance}
1576
+ * @see {@link https://discord.com/developers/docs/resources/stage-instance#create-stage-instance}
1576
1577
  * @param body - The data for creating the new stage instance
1577
1578
  * @param options - The options for creating the new stage instance
1578
1579
  */
package/dist/http-only.js CHANGED
@@ -1848,6 +1848,7 @@ var InteractionsAPI = class {
1848
1848
  * @param interactionId - The id of the interaction
1849
1849
  * @param interactionToken - The token of the interaction
1850
1850
  * @param options - The options for sending the premium required response
1851
+ * @deprecated Sending a premium-style button is the new Discord behaviour.
1851
1852
  */
1852
1853
  async sendPremiumRequired(interactionId, interactionToken, { signal } = {}) {
1853
1854
  await this.rest.post(import_v105.Routes.interactionCallback(interactionId, interactionToken), {
@@ -2158,7 +2159,7 @@ var StageInstancesAPI = class {
2158
2159
  /**
2159
2160
  * Creates a new stage instance
2160
2161
  *
2161
- * @see {@link https://discord.com/developers/docs/resources/stage-instance#get-stage-instance}
2162
+ * @see {@link https://discord.com/developers/docs/resources/stage-instance#create-stage-instance}
2162
2163
  * @param body - The data for creating the new stage instance
2163
2164
  * @param options - The options for creating the new stage instance
2164
2165
  */
@@ -2713,7 +2714,7 @@ __name(withFiles, "withFiles");
2713
2714
 
2714
2715
  // src/http-only/index.ts
2715
2716
  __reExport(http_only_exports, require("discord-api-types/v10"), module.exports);
2716
- var version = "1.3.0-dev.1721151475-5f1911db3";
2717
+ var version = "1.3.0-dev.1721151670-efa16a609";
2717
2718
  // Annotate the CommonJS export names for ESM import in node:
2718
2719
  0 && (module.exports = {
2719
2720
  API,