discord.js 15.0.0-dev.1744071174-d93a52c1d → 15.0.0-dev.1744416774-f0ea40586
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.
|
|
4
|
+
"version": "15.0.0-dev.1744416774-f0ea40586",
|
|
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",
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@sapphire/snowflake": "3.5.5",
|
|
56
56
|
"@vladfrangu/async_event_emitter": "^2.4.6",
|
|
57
|
-
"discord-api-types": "^0.37.
|
|
57
|
+
"discord-api-types": "^0.37.120",
|
|
58
58
|
"fast-deep-equal": "3.1.3",
|
|
59
59
|
"lodash.snakecase": "4.1.1",
|
|
60
60
|
"tslib": "^2.8.1",
|
|
61
|
-
"undici": "
|
|
61
|
+
"undici": "7.8.0",
|
|
62
|
+
"@discordjs/collection": "^2.1.1",
|
|
62
63
|
"@discordjs/builders": "^1.9.0",
|
|
63
64
|
"@discordjs/formatters": "^0.5.0",
|
|
64
|
-
"@discordjs/collection": "^2.1.1",
|
|
65
|
-
"@discordjs/rest": "^2.4.0",
|
|
66
65
|
"@discordjs/util": "^1.1.1",
|
|
66
|
+
"@discordjs/rest": "^2.4.0",
|
|
67
67
|
"@discordjs/ws": "^2.0.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"turbo": "^2.5.0",
|
|
85
85
|
"typescript": "~5.8.3",
|
|
86
86
|
"@discordjs/docgen": "^0.12.1",
|
|
87
|
-
"@discordjs/
|
|
88
|
-
"@discordjs/
|
|
87
|
+
"@discordjs/scripts": "^0.1.0",
|
|
88
|
+
"@discordjs/api-extractor": "^7.38.1"
|
|
89
89
|
},
|
|
90
90
|
"engines": {
|
|
91
91
|
"node": ">=22.12.0"
|
|
@@ -121,6 +121,12 @@ class BaseInteraction extends Base {
|
|
|
121
121
|
* @type {?InteractionContextType}
|
|
122
122
|
*/
|
|
123
123
|
this.context = data.context ?? null;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Attachment size limit in bytes
|
|
127
|
+
* @type {number}
|
|
128
|
+
*/
|
|
129
|
+
this.attachmentSizeLimit = data.attachment_size_limit;
|
|
124
130
|
}
|
|
125
131
|
|
|
126
132
|
/**
|
package/typings/index.d.mts
CHANGED
|
@@ -1819,6 +1819,7 @@ export class BaseInteraction<Cached extends CacheType = CacheType> extends Base
|
|
|
1819
1819
|
public locale: Locale;
|
|
1820
1820
|
public guildLocale: CacheTypeReducer<Cached, Locale>;
|
|
1821
1821
|
public entitlements: Collection<Snowflake, Entitlement>;
|
|
1822
|
+
public attachmentSizeLimit: number;
|
|
1822
1823
|
public inGuild(): this is BaseInteraction<'raw' | 'cached'>;
|
|
1823
1824
|
public inCachedGuild(): this is BaseInteraction<'cached'>;
|
|
1824
1825
|
public inRawGuild(): this is BaseInteraction<'raw'>;
|
package/typings/index.d.ts
CHANGED
|
@@ -1819,6 +1819,7 @@ export class BaseInteraction<Cached extends CacheType = CacheType> extends Base
|
|
|
1819
1819
|
public locale: Locale;
|
|
1820
1820
|
public guildLocale: CacheTypeReducer<Cached, Locale>;
|
|
1821
1821
|
public entitlements: Collection<Snowflake, Entitlement>;
|
|
1822
|
+
public attachmentSizeLimit: number;
|
|
1822
1823
|
public inGuild(): this is BaseInteraction<'raw' | 'cached'>;
|
|
1823
1824
|
public inCachedGuild(): this is BaseInteraction<'cached'>;
|
|
1824
1825
|
public inRawGuild(): this is BaseInteraction<'raw'>;
|