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

6
pnpm-lock.yaml generated
View File

@@ -1861,9 +1861,6 @@ importers:
'@discordjs/collection':
specifier: workspace:^
version: link:../collection
'@discordjs/rest':
specifier: workspace:^
version: link:../rest
'@discordjs/util':
specifier: workspace:^
version: link:../util
@@ -1934,9 +1931,6 @@ importers:
typescript:
specifier: ~5.8.3
version: 5.8.3
undici:
specifier: 7.11.0
version: 7.11.0
vitest:
specifier: ^3.2.4
version: 3.2.4(@edge-runtime/vm@3.2.0)(@types/debug@4.1.12)(@types/node@22.16.3)(jiti@2.4.2)(lightningcss@1.30.1)(terser@5.43.1)(yaml@2.8.0)