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:
Jiralite
2025-12-06 22:55:07 +00:00
committed by GitHub
parent 0aaba0305f
commit 5e6bd4b3d7
83 changed files with 6148 additions and 5493 deletions

View File

@@ -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;
}

View File

@@ -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];