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

@@ -78,7 +78,7 @@
"@sapphire/async-queue": "^1.5.5",
"@types/ws": "^8.18.1",
"@vladfrangu/async_event_emitter": "^2.4.7",
"discord-api-types": "^0.38.31",
"discord-api-types": "^0.38.36",
"tslib": "^2.8.1",
"ws": "^8.18.3"
},
@@ -86,18 +86,18 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"mock-socket": "^9.3.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4",
"zlib-sync": "^0.1.10"

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