@discordjs/core 3.0.0-dev.1749729940-2852a529c → 3.0.0-dev.1750593906-cbb20566c
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 +3 -4
- package/dist/http-only.d.ts +3 -4
- package/dist/http-only.js +5 -5
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +5 -5
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/http-only.mjs
CHANGED
|
@@ -2936,9 +2936,9 @@ var WebhooksAPI = class {
|
|
|
2936
2936
|
* @param body - The data for executing the webhook
|
|
2937
2937
|
* @param options - The options for executing the webhook
|
|
2938
2938
|
*/
|
|
2939
|
-
async execute(id, token, { wait, thread_id, files, ...body }, { signal } = {}) {
|
|
2939
|
+
async execute(id, token, { wait, thread_id, with_components, files, ...body }, { signal } = {}) {
|
|
2940
2940
|
return this.rest.post(Routes17.webhook(id, token), {
|
|
2941
|
-
query: makeURLSearchParams10({ wait, thread_id }),
|
|
2941
|
+
query: makeURLSearchParams10({ wait, thread_id, with_components }),
|
|
2942
2942
|
files,
|
|
2943
2943
|
body,
|
|
2944
2944
|
auth: false,
|
|
@@ -3008,9 +3008,9 @@ var WebhooksAPI = class {
|
|
|
3008
3008
|
* @param body - The data for editing the message
|
|
3009
3009
|
* @param options - The options for editing the message
|
|
3010
3010
|
*/
|
|
3011
|
-
async editMessage(id, token, messageId, { thread_id, files, ...body }, { signal } = {}) {
|
|
3011
|
+
async editMessage(id, token, messageId, { thread_id, with_components, files, ...body }, { signal } = {}) {
|
|
3012
3012
|
return this.rest.patch(Routes17.webhookMessage(id, token, messageId), {
|
|
3013
|
-
query: makeURLSearchParams10({ thread_id }),
|
|
3013
|
+
query: makeURLSearchParams10({ thread_id, with_components }),
|
|
3014
3014
|
auth: false,
|
|
3015
3015
|
body,
|
|
3016
3016
|
signal,
|
|
@@ -3099,7 +3099,7 @@ __name(withFiles, "withFiles");
|
|
|
3099
3099
|
|
|
3100
3100
|
// src/http-only/index.ts
|
|
3101
3101
|
export * from "discord-api-types/v10";
|
|
3102
|
-
var version = "3.0.0-dev.
|
|
3102
|
+
var version = "3.0.0-dev.1750593906-cbb20566c";
|
|
3103
3103
|
export {
|
|
3104
3104
|
API,
|
|
3105
3105
|
ApplicationCommandsAPI,
|