@discordjs/core 2.0.1-dev.1730030702-ed78e4570 → 2.0.1-dev.1735038698-e9944b3d2
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 -1
- package/dist/http-only.d.ts +1 -1
- package/dist/http-only.js +2 -2
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +2 -2
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1454,7 +1454,7 @@ declare class InteractionsAPI {
|
|
|
1454
1454
|
* @param interactionId - The id of the interaction
|
|
1455
1455
|
* @param interactionToken - The token of the interaction
|
|
1456
1456
|
* @param options - The options for sending the premium required response
|
|
1457
|
-
* @deprecated Sending a premium-style button is the new Discord
|
|
1457
|
+
* @deprecated Sending a premium-style button is the new Discord behavior.
|
|
1458
1458
|
*/
|
|
1459
1459
|
sendPremiumRequired(interactionId: Snowflake, interactionToken: string, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
|
|
1460
1460
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1454,7 +1454,7 @@ declare class InteractionsAPI {
|
|
|
1454
1454
|
* @param interactionId - The id of the interaction
|
|
1455
1455
|
* @param interactionToken - The token of the interaction
|
|
1456
1456
|
* @param options - The options for sending the premium required response
|
|
1457
|
-
* @deprecated Sending a premium-style button is the new Discord
|
|
1457
|
+
* @deprecated Sending a premium-style button is the new Discord behavior.
|
|
1458
1458
|
*/
|
|
1459
1459
|
sendPremiumRequired(interactionId: Snowflake, interactionToken: string, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
|
|
1460
1460
|
}
|
package/dist/index.js
CHANGED
|
@@ -2000,7 +2000,7 @@ var InteractionsAPI = class {
|
|
|
2000
2000
|
* @param interactionId - The id of the interaction
|
|
2001
2001
|
* @param interactionToken - The token of the interaction
|
|
2002
2002
|
* @param options - The options for sending the premium required response
|
|
2003
|
-
* @deprecated Sending a premium-style button is the new Discord
|
|
2003
|
+
* @deprecated Sending a premium-style button is the new Discord behavior.
|
|
2004
2004
|
*/
|
|
2005
2005
|
async sendPremiumRequired(interactionId, interactionToken, { signal } = {}) {
|
|
2006
2006
|
await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
|
|
@@ -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.0.1-dev.
|
|
3026
|
+
var version = "2.0.1-dev.1735038698-e9944b3d2";
|
|
3027
3027
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3028
3028
|
0 && (module.exports = {
|
|
3029
3029
|
API,
|