refactor(WebSocketManager)!: remove deprecated rest option (#10998)

BREAKING CHANGE: The `rest` option in the `WebSocketManager` constructor has been removed. Pass a `fetchGatewayInformation` function instead.
This commit is contained in:
Almeida
2025-07-27 11:49:29 +01:00
committed by GitHub
parent 2e9bfba5f4
commit 08a61ca8e3
9 changed files with 98 additions and 281 deletions

View File

@@ -74,7 +74,6 @@
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@discordjs/collection": "workspace:^",
"@discordjs/rest": "workspace:^",
"@discordjs/util": "workspace:^",
"@sapphire/async-queue": "^1.5.5",
"@types/ws": "^8.18.1",
@@ -100,7 +99,6 @@
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.8.3",
"undici": "7.11.0",
"vitest": "^3.2.4",
"zlib-sync": "^0.1.10"
},