@discordjs/core 3.0.0-dev.1779754816-c95cbf267 → 3.0.0-dev.1781353734-c20fdd797

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.
@@ -1761,7 +1761,7 @@ declare class InvitesAPI {
1761
1761
  * @param code - The invite code
1762
1762
  * @param options - The options for deleting the invite
1763
1763
  */
1764
- delete(code: string, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
1764
+ delete(code: string, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIInvite>;
1765
1765
  }
1766
1766
 
1767
1767
  declare class MonetizationAPI {
@@ -1761,7 +1761,7 @@ declare class InvitesAPI {
1761
1761
  * @param code - The invite code
1762
1762
  * @param options - The options for deleting the invite
1763
1763
  */
1764
- delete(code: string, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
1764
+ delete(code: string, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIInvite>;
1765
1765
  }
1766
1766
 
1767
1767
  declare class MonetizationAPI {
package/dist/http-only.js CHANGED
@@ -2222,7 +2222,7 @@ var InvitesAPI = class {
2222
2222
  * @param options - The options for deleting the invite
2223
2223
  */
2224
2224
  async delete(code, { auth, reason, signal } = {}) {
2225
- await this.rest.delete(import_v107.Routes.invite(code), { auth, reason, signal });
2225
+ return this.rest.delete(import_v107.Routes.invite(code), { auth, reason, signal });
2226
2226
  }
2227
2227
  };
2228
2228
 
@@ -3201,7 +3201,7 @@ __name(withFiles, "withFiles");
3201
3201
 
3202
3202
  // src/http-only/index.ts
3203
3203
  __reExport(http_only_exports, require("discord-api-types/v10"), module.exports);
3204
- var version = "3.0.0-dev.1779754816-c95cbf267";
3204
+ var version = "3.0.0-dev.1781353734-c20fdd797";
3205
3205
  // Annotate the CommonJS export names for ESM import in node:
3206
3206
  0 && (module.exports = {
3207
3207
  API,