mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
build: Bump dependencies (#11333)
* build: bump dependencies * fix: guide build * build: amend package.json.hbs * build: create-discord-bot * style: formatting * build: final change --------- Co-authored-by: almeidx <github@almeidx.dev>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -205,8 +205,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