mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
build: Upgrade v14 dependencies (#11427)
* build: upgrade dependencies * build: please Undici please * build: regenerate file * chore: fix docs by using bundler * fix: revert upgrade for package * build: fix versions
This commit is contained in:
@@ -79,28 +79,28 @@
|
||||
"@sapphire/async-queue": "^1.5.3",
|
||||
"@types/ws": "^8.5.12",
|
||||
"@vladfrangu/async_event_emitter": "^2.4.6",
|
||||
"discord-api-types": "^0.38.33",
|
||||
"discord-api-types": "^0.38.40",
|
||||
"tslib": "^2.6.3",
|
||||
"ws": "^8.18.0"
|
||||
"ws": "^8.19.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^4.1.0",
|
||||
"@types/node": "^18.19.45",
|
||||
"@types/node": "^18.19.130",
|
||||
"@vitest/coverage-v8": "^2.0.5",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-config-neon": "^0.1.62",
|
||||
"eslint-formatter-pretty": "^6.0.1",
|
||||
"mock-socket": "^9.3.1",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier": "^3.8.1",
|
||||
"tsd": "^0.31.1",
|
||||
"tsup": "^8.2.4",
|
||||
"turbo": "^2.0.14",
|
||||
"typescript": "~5.5.4",
|
||||
"undici": "6.21.3",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.10",
|
||||
"typescript": "~5.8.3",
|
||||
"undici": "6.23.0",
|
||||
"vitest": "^2.0.5",
|
||||
"zlib-sync": "^0.1.10"
|
||||
},
|
||||
|
||||
@@ -2,22 +2,21 @@ import type { Awaitable } from '@discordjs/util';
|
||||
import type { APIGatewayBotInfo } from 'discord-api-types/v10';
|
||||
import type { SessionInfo, WebSocketManager, WebSocketManagerOptions } from '../../ws/WebSocketManager.js';
|
||||
|
||||
export interface FetchingStrategyOptions
|
||||
extends Pick<
|
||||
WebSocketManagerOptions,
|
||||
| 'compression'
|
||||
| 'encoding'
|
||||
| 'handshakeTimeout'
|
||||
| 'helloTimeout'
|
||||
| 'identifyProperties'
|
||||
| 'initialPresence'
|
||||
| 'intents'
|
||||
| 'largeThreshold'
|
||||
| 'readyTimeout'
|
||||
| 'token'
|
||||
| 'useIdentifyCompression'
|
||||
| 'version'
|
||||
> {
|
||||
export interface FetchingStrategyOptions extends Pick<
|
||||
WebSocketManagerOptions,
|
||||
| 'compression'
|
||||
| 'encoding'
|
||||
| 'handshakeTimeout'
|
||||
| 'helloTimeout'
|
||||
| 'identifyProperties'
|
||||
| 'initialPresence'
|
||||
| 'intents'
|
||||
| 'largeThreshold'
|
||||
| 'readyTimeout'
|
||||
| 'token'
|
||||
| 'useIdentifyCompression'
|
||||
| 'version'
|
||||
> {
|
||||
readonly gatewayInformation: APIGatewayBotInfo;
|
||||
readonly shardCount: number;
|
||||
}
|
||||
|
||||
@@ -195,8 +195,7 @@ export interface OptionalWebSocketManagerOptions {
|
||||
export interface WebSocketManagerOptions extends OptionalWebSocketManagerOptions, RequiredWebSocketManagerOptions {}
|
||||
|
||||
export interface CreateWebSocketManagerOptions
|
||||
extends Partial<OptionalWebSocketManagerOptions>,
|
||||
RequiredWebSocketManagerOptions {}
|
||||
extends Partial<OptionalWebSocketManagerOptions>, RequiredWebSocketManagerOptions {}
|
||||
|
||||
export interface ManagerShardEventsMap {
|
||||
[WebSocketShardEvents.Closed]: [code: number, shardId: number];
|
||||
|
||||
Reference in New Issue
Block a user