@discordjs/core 3.0.0-dev.1732752781-e89c6b66a → 3.0.0-dev.1732839160-5b125eeec
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 +3 -3
package/dist/index.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)
|
|
@@ -3158,7 +3158,7 @@ __name(withFiles, "withFiles");
|
|
|
3158
3158
|
|
|
3159
3159
|
// src/index.ts
|
|
3160
3160
|
export * from "discord-api-types/v10";
|
|
3161
|
-
var version = "3.0.0-dev.
|
|
3161
|
+
var version = "3.0.0-dev.1732839160-5b125eeec";
|
|
3162
3162
|
export {
|
|
3163
3163
|
API,
|
|
3164
3164
|
ApplicationCommandsAPI,
|