discord.js 15.0.0-dev.1736856293-a65c982dd → 15.0.0-dev.1736899921-1fd587c93

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "discord.js",
4
- "version": "15.0.0-dev.1736856293-a65c982dd",
4
+ "version": "15.0.0-dev.1736899921-1fd587c93",
5
5
  "description": "A powerful library for interacting with the Discord API",
6
6
  "main": "./src/index.js",
7
7
  "types": "./typings/index.d.ts",
@@ -60,10 +60,10 @@
60
60
  "tslib": "^2.8.1",
61
61
  "undici": "6.21.0",
62
62
  "@discordjs/collection": "^2.1.1",
63
- "@discordjs/formatters": "^0.5.0",
64
63
  "@discordjs/rest": "^2.4.0",
65
64
  "@discordjs/ws": "^2.0.0",
66
- "@discordjs/util": "^1.1.1"
65
+ "@discordjs/util": "^1.1.1",
66
+ "@discordjs/formatters": "^0.5.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@favware/cliff-jumper": "^4.1.0",
@@ -80,9 +80,9 @@
80
80
  "tslint": "6.1.3",
81
81
  "turbo": "^2.3.3",
82
82
  "typescript": "~5.5.4",
83
- "@discordjs/docgen": "^0.12.1",
84
83
  "@discordjs/api-extractor": "^7.38.1",
85
- "@discordjs/scripts": "^0.1.0"
84
+ "@discordjs/scripts": "^0.1.0",
85
+ "@discordjs/docgen": "^0.12.1"
86
86
  },
87
87
  "engines": {
88
88
  "node": ">=20"
@@ -141,8 +141,7 @@ class Webhook {
141
141
 
142
142
  /**
143
143
  * Options that can be passed into editMessage.
144
- * @typedef {BaseMessageOptions} WebhookMessageEditOptions
145
- * @property {Attachment[]} [attachments] Attachments to send with the message
144
+ * @typedef {MessageEditOptions} WebhookMessageEditOptions
146
145
  * @property {Snowflake} [threadId] The id of the thread this message belongs to
147
146
  * <info>For interaction webhooks, this property is ignored</info>
148
147
  */
@@ -6184,10 +6184,7 @@ export interface InteractionCollectorOptions<
6184
6184
  }
6185
6185
 
6186
6186
  export interface InteractionDeferReplyOptions {
6187
- flags?: BitFieldResolvable<
6188
- Extract<MessageFlagsString, 'Ephemeral' | 'SuppressEmbeds' | 'SuppressNotifications'>,
6189
- MessageFlags.Ephemeral | MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications
6190
- >;
6187
+ flags?: BitFieldResolvable<Extract<MessageFlagsString, 'Ephemeral'>, MessageFlags.Ephemeral>;
6191
6188
  withResponse?: boolean;
6192
6189
  }
6193
6190
 
@@ -6910,7 +6907,7 @@ export interface WebhookEditOptions {
6910
6907
  reason?: string;
6911
6908
  }
6912
6909
 
6913
- export interface WebhookMessageEditOptions extends Omit<MessageEditOptions, 'flags'> {
6910
+ export interface WebhookMessageEditOptions extends MessageEditOptions {
6914
6911
  threadId?: Snowflake;
6915
6912
  }
6916
6913
 
@@ -6184,10 +6184,7 @@ export interface InteractionCollectorOptions<
6184
6184
  }
6185
6185
 
6186
6186
  export interface InteractionDeferReplyOptions {
6187
- flags?: BitFieldResolvable<
6188
- Extract<MessageFlagsString, 'Ephemeral' | 'SuppressEmbeds' | 'SuppressNotifications'>,
6189
- MessageFlags.Ephemeral | MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications
6190
- >;
6187
+ flags?: BitFieldResolvable<Extract<MessageFlagsString, 'Ephemeral'>, MessageFlags.Ephemeral>;
6191
6188
  withResponse?: boolean;
6192
6189
  }
6193
6190
 
@@ -6910,7 +6907,7 @@ export interface WebhookEditOptions {
6910
6907
  reason?: string;
6911
6908
  }
6912
6909
 
6913
- export interface WebhookMessageEditOptions extends Omit<MessageEditOptions, 'flags'> {
6910
+ export interface WebhookMessageEditOptions extends MessageEditOptions {
6914
6911
  threadId?: Snowflake;
6915
6912
  }
6916
6913