discord.js 15.0.0-dev.1732839163-5b125eeec → 15.0.0-dev.1732881918-8efb72e76

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.1732839163-5b125eeec",
4
+ "version": "15.0.0-dev.1732881918-8efb72e76",
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
  "lodash.snakecase": "4.1.1",
61
61
  "tslib": "^2.8.1",
62
62
  "undici": "6.21.0",
63
- "@discordjs/rest": "^2.4.0",
63
+ "@discordjs/formatters": "^0.5.0",
64
64
  "@discordjs/util": "^1.1.1",
65
65
  "@discordjs/ws": "^2.0.0",
66
- "@discordjs/formatters": "^0.5.0"
66
+ "@discordjs/rest": "^2.4.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@favware/cliff-jumper": "^4.1.0",
@@ -82,7 +82,7 @@ class ApplicationCommandManager extends CachedManager {
82
82
  * Options used to fetch Application Commands from Discord
83
83
  * @typedef {BaseFetchOptions} FetchApplicationCommandOptions
84
84
  * @property {Snowflake} [guildId] The guild's id to fetch commands for, for when the guild is not cached
85
- * @property {LocaleString} [locale] The locale to use when fetching this command
85
+ * @property {Locale} [locale] The locale to use when fetching this command
86
86
  * @property {boolean} [withLocalizations] Whether to fetch all localization data
87
87
  */
88
88
 
@@ -469,11 +469,6 @@
469
469
  * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/enum/Locale}
470
470
  */
471
471
 
472
- /**
473
- * @external LocaleString
474
- * @see {@link https://discord-api-types.dev/api/discord-api-types-v10#LocaleString}
475
- */
476
-
477
472
  /**
478
473
  * @external MessageActivityType
479
474
  * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/enum/MessageActivityType}
@@ -101,7 +101,6 @@ import {
101
101
  APIEmbedImage,
102
102
  VideoQualityMode,
103
103
  LocalizationMap,
104
- LocaleString,
105
104
  MessageActivityType,
106
105
  APIAttachment,
107
106
  APIChannel,
@@ -5566,7 +5565,7 @@ export type EmojiResolvable = Snowflake | GuildEmoji | ReactionEmoji | Applicati
5566
5565
 
5567
5566
  export interface FetchApplicationCommandOptions extends BaseFetchOptions {
5568
5567
  guildId?: Snowflake;
5569
- locale?: LocaleString;
5568
+ locale?: Locale;
5570
5569
  withLocalizations?: boolean;
5571
5570
  }
5572
5571
 
@@ -101,7 +101,6 @@ import {
101
101
  APIEmbedImage,
102
102
  VideoQualityMode,
103
103
  LocalizationMap,
104
- LocaleString,
105
104
  MessageActivityType,
106
105
  APIAttachment,
107
106
  APIChannel,
@@ -5566,7 +5565,7 @@ export type EmojiResolvable = Snowflake | GuildEmoji | ReactionEmoji | Applicati
5566
5565
 
5567
5566
  export interface FetchApplicationCommandOptions extends BaseFetchOptions {
5568
5567
  guildId?: Snowflake;
5569
- locale?: LocaleString;
5568
+ locale?: Locale;
5570
5569
  withLocalizations?: boolean;
5571
5570
  }
5572
5571