discord.js 14.26.2 → 14.26.3
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": "14.26.
|
|
4
|
+
"version": "14.26.3",
|
|
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",
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
"tslint": "6.1.3",
|
|
83
83
|
"turbo": "^2.8.10",
|
|
84
84
|
"typescript": "~5.8.3",
|
|
85
|
-
"@discordjs/
|
|
85
|
+
"@discordjs/docgen": "^0.12.1",
|
|
86
86
|
"@discordjs/scripts": "^0.1.0",
|
|
87
|
-
"@discordjs/
|
|
87
|
+
"@discordjs/api-extractor": "^7.38.1"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
|
90
90
|
"node": ">=18"
|
|
@@ -27,6 +27,9 @@ class TeamMember extends Base {
|
|
|
27
27
|
* @deprecated Use {@link TeamMember#role} instead.
|
|
28
28
|
*/
|
|
29
29
|
this.permissions = data.permissions;
|
|
30
|
+
} else {
|
|
31
|
+
// Discord stopped sending this field at some point on or before 2026-04-14.
|
|
32
|
+
this.permissions ??= [];
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
if ('membership_state' in data) {
|