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