@discordjs/core 2.1.0-dev.1732709132-97ffa201a → 3.0.0-dev.1732795512-2b0944a92
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 -4
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +4 -4
- 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 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/http-only.mjs
CHANGED
|
@@ -2140,7 +2140,7 @@ var MonetizationAPI = class {
|
|
|
2140
2140
|
* @param query - The query options for fetching subscriptions
|
|
2141
2141
|
* @param options - The options for fetching subscriptions
|
|
2142
2142
|
*/
|
|
2143
|
-
async getSKUSubscriptions(skuId, query, { signal } = {}) {
|
|
2143
|
+
async getSKUSubscriptions(skuId, query = {}, { signal } = {}) {
|
|
2144
2144
|
return this.rest.get(Routes8.skuSubscriptions(skuId), {
|
|
2145
2145
|
signal,
|
|
2146
2146
|
query: makeURLSearchParams6(query)
|
|
@@ -2167,7 +2167,7 @@ var MonetizationAPI = class {
|
|
|
2167
2167
|
* @param query - The query options for fetching entitlements
|
|
2168
2168
|
* @param options - The options for fetching entitlements
|
|
2169
2169
|
*/
|
|
2170
|
-
async getEntitlements(applicationId, query, { signal } = {}) {
|
|
2170
|
+
async getEntitlements(applicationId, query = {}, { signal } = {}) {
|
|
2171
2171
|
return this.rest.get(Routes8.entitlements(applicationId), {
|
|
2172
2172
|
signal,
|
|
2173
2173
|
query: makeURLSearchParams6(query)
|
|
@@ -2358,7 +2358,7 @@ var PollAPI = class {
|
|
|
2358
2358
|
* @param query - The query for getting the list of voters
|
|
2359
2359
|
* @param options - The options for getting the list of voters
|
|
2360
2360
|
*/
|
|
2361
|
-
async getAnswerVoters(channelId, messageId, answerId, query, { signal } = {}) {
|
|
2361
|
+
async getAnswerVoters(channelId, messageId, answerId, query = {}, { signal } = {}) {
|
|
2362
2362
|
return this.rest.get(Routes10.pollAnswerVoters(channelId, messageId, answerId), {
|
|
2363
2363
|
signal,
|
|
2364
2364
|
query: makeURLSearchParams8(query)
|
|
@@ -3009,7 +3009,7 @@ __name(withFiles, "withFiles");
|
|
|
3009
3009
|
|
|
3010
3010
|
// src/http-only/index.ts
|
|
3011
3011
|
export * from "discord-api-types/v10";
|
|
3012
|
-
var version = "
|
|
3012
|
+
var version = "3.0.0-dev.1732795512-2b0944a92";
|
|
3013
3013
|
export {
|
|
3014
3014
|
API,
|
|
3015
3015
|
ApplicationCommandsAPI,
|