@discordjs/core 1.3.0-dev.1719662630-ab8bf0f4d → 1.3.0-dev.1720138211-4f59b740d
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 -0
- package/dist/http-only.d.ts +1 -0
- package/dist/http-only.js +2 -1
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +2 -1
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/http-only.d.mts
CHANGED
|
@@ -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
|
}
|
package/dist/http-only.d.ts
CHANGED
|
@@ -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
|
}
|
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), {
|
|
@@ -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.
|
|
2717
|
+
var version = "1.3.0-dev.1720138211-4f59b740d";
|
|
2717
2718
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2718
2719
|
0 && (module.exports = {
|
|
2719
2720
|
API,
|