@discordjs/core 3.0.0-dev.1733443981-00dceb32b → 3.0.0-dev.1733745919-310563ba0
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 -3
- package/dist/http-only.d.ts +3 -3
- package/dist/http-only.js +4 -1
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +4 -1
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -2013,6 +2013,7 @@ var InteractionsAPI = class {
|
|
|
2013
2013
|
}
|
|
2014
2014
|
async updateMessage(interactionId, interactionToken, { files, with_response, ...data }, { signal } = {}) {
|
|
2015
2015
|
const response = await this.rest.post(Routes6.interactionCallback(interactionId, interactionToken), {
|
|
2016
|
+
query: makeURLSearchParams4({ with_response }),
|
|
2016
2017
|
files,
|
|
2017
2018
|
auth: false,
|
|
2018
2019
|
body: {
|
|
@@ -2025,6 +2026,7 @@ var InteractionsAPI = class {
|
|
|
2025
2026
|
}
|
|
2026
2027
|
async createAutocompleteResponse(interactionId, interactionToken, { with_response, ...data }, { signal } = {}) {
|
|
2027
2028
|
const response = await this.rest.post(Routes6.interactionCallback(interactionId, interactionToken), {
|
|
2029
|
+
query: makeURLSearchParams4({ with_response }),
|
|
2028
2030
|
auth: false,
|
|
2029
2031
|
body: {
|
|
2030
2032
|
type: InteractionResponseType.ApplicationCommandAutocompleteResult,
|
|
@@ -2036,6 +2038,7 @@ var InteractionsAPI = class {
|
|
|
2036
2038
|
}
|
|
2037
2039
|
async createModal(interactionId, interactionToken, { with_response, ...data }, { signal } = {}) {
|
|
2038
2040
|
const response = await this.rest.post(Routes6.interactionCallback(interactionId, interactionToken), {
|
|
2041
|
+
query: makeURLSearchParams4({ with_response }),
|
|
2039
2042
|
auth: false,
|
|
2040
2043
|
body: {
|
|
2041
2044
|
type: InteractionResponseType.Modal,
|
|
@@ -3153,7 +3156,7 @@ __name(withFiles, "withFiles");
|
|
|
3153
3156
|
|
|
3154
3157
|
// src/index.ts
|
|
3155
3158
|
export * from "discord-api-types/v10";
|
|
3156
|
-
var version = "3.0.0-dev.
|
|
3159
|
+
var version = "3.0.0-dev.1733745919-310563ba0";
|
|
3157
3160
|
export {
|
|
3158
3161
|
API,
|
|
3159
3162
|
ApplicationCommandsAPI,
|