discord.js 15.0.0-dev.1735063597-c484e3de2 → 15.0.0-dev.1735690428-bc3a0c838
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 +9 -9
- package/typings/index.d.mts +2 -2
- package/typings/index.d.ts +2 -2
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.
|
|
4
|
+
"version": "15.0.0-dev.1735690428-bc3a0c838",
|
|
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",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@discordjs/builders": "^1.9.0",
|
|
56
56
|
"@discordjs/collection": "1.5.3",
|
|
57
57
|
"@sapphire/snowflake": "3.5.5",
|
|
58
|
-
"discord-api-types": "^0.37.
|
|
58
|
+
"discord-api-types": "^0.37.114",
|
|
59
59
|
"fast-deep-equal": "3.1.3",
|
|
60
60
|
"lodash.snakecase": "4.1.1",
|
|
61
61
|
"tslib": "^2.8.1",
|
|
@@ -67,22 +67,22 @@
|
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@favware/cliff-jumper": "^4.1.0",
|
|
70
|
-
"@types/node": "^20.17.
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
72
|
-
"@typescript-eslint/parser": "^8.
|
|
70
|
+
"@types/node": "^20.17.10",
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "^8.19.0",
|
|
72
|
+
"@typescript-eslint/parser": "^8.19.0",
|
|
73
73
|
"cross-env": "^7.0.3",
|
|
74
74
|
"dtslint": "4.2.1",
|
|
75
75
|
"eslint": "^8.57.1",
|
|
76
76
|
"eslint-formatter-pretty": "^5.0.0",
|
|
77
77
|
"jest": "29.7.0",
|
|
78
|
-
"prettier": "^3.
|
|
78
|
+
"prettier": "^3.4.2",
|
|
79
79
|
"tsd": "^0.31.2",
|
|
80
80
|
"tslint": "6.1.3",
|
|
81
|
-
"turbo": "^2.3.
|
|
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"
|
package/typings/index.d.mts
CHANGED
|
@@ -598,7 +598,7 @@ export abstract class CommandInteraction<Cached extends CacheType = CacheType> e
|
|
|
598
598
|
): Promise<ModalSubmitInteraction<Cached>>;
|
|
599
599
|
private transformOption(
|
|
600
600
|
option: APIApplicationCommandOption,
|
|
601
|
-
resolved: APIApplicationCommandInteractionData['resolved'],
|
|
601
|
+
resolved: Extract<APIApplicationCommandInteractionData, { resolved: any }>['resolved'],
|
|
602
602
|
): CommandInteractionOption<Cached>;
|
|
603
603
|
}
|
|
604
604
|
|
|
@@ -3556,7 +3556,7 @@ export function parseWebhookURL(url: string): WebhookClientDataIdWithToken | nul
|
|
|
3556
3556
|
/** @internal */
|
|
3557
3557
|
export function transformResolved<Cached extends CacheType>(
|
|
3558
3558
|
supportingData: SupportingInteractionResolvedData,
|
|
3559
|
-
data?: APIApplicationCommandInteractionData['resolved'],
|
|
3559
|
+
data?: Extract<APIApplicationCommandInteractionData, { resolved: any }>['resolved'],
|
|
3560
3560
|
): CommandInteractionResolvedData<Cached>;
|
|
3561
3561
|
export function resolveSKUId(resolvable: SKUResolvable): Snowflake | null;
|
|
3562
3562
|
|
package/typings/index.d.ts
CHANGED
|
@@ -598,7 +598,7 @@ export abstract class CommandInteraction<Cached extends CacheType = CacheType> e
|
|
|
598
598
|
): Promise<ModalSubmitInteraction<Cached>>;
|
|
599
599
|
private transformOption(
|
|
600
600
|
option: APIApplicationCommandOption,
|
|
601
|
-
resolved: APIApplicationCommandInteractionData['resolved'],
|
|
601
|
+
resolved: Extract<APIApplicationCommandInteractionData, { resolved: any }>['resolved'],
|
|
602
602
|
): CommandInteractionOption<Cached>;
|
|
603
603
|
}
|
|
604
604
|
|
|
@@ -3556,7 +3556,7 @@ export function parseWebhookURL(url: string): WebhookClientDataIdWithToken | nul
|
|
|
3556
3556
|
/** @internal */
|
|
3557
3557
|
export function transformResolved<Cached extends CacheType>(
|
|
3558
3558
|
supportingData: SupportingInteractionResolvedData,
|
|
3559
|
-
data?: APIApplicationCommandInteractionData['resolved'],
|
|
3559
|
+
data?: Extract<APIApplicationCommandInteractionData, { resolved: any }>['resolved'],
|
|
3560
3560
|
): CommandInteractionResolvedData<Cached>;
|
|
3561
3561
|
export function resolveSKUId(resolvable: SKUResolvable): Snowflake | null;
|
|
3562
3562
|
|