From 3974efd722fa10f283df76342125776a352072dd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 12 May 2026 16:20:31 +0200 Subject: bump dependencies --- node_modules/undici/types/client.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'node_modules/undici/types') diff --git a/node_modules/undici/types/client.d.ts b/node_modules/undici/types/client.d.ts index d0a5379..22833ae 100644 --- a/node_modules/undici/types/client.d.ts +++ b/node_modules/undici/types/client.d.ts @@ -78,6 +78,8 @@ export declare namespace Client { localAddress?: string; /** Max response body size in bytes, -1 is disabled */ maxResponseSize?: number; + /** WebSocket-specific options */ + webSocket?: Client.WebSocketOptions; /** Enables a family autodetection algorithm that loosely implements section 5 of RFC 8305. */ autoSelectFamily?: boolean; /** The amount of time in milliseconds to wait for a connection attempt to finish before trying the next address when using the `autoSelectFamily` option. */ @@ -103,6 +105,15 @@ export declare namespace Client { bytesWritten?: number bytesRead?: number } + export interface WebSocketOptions { + /** + * Maximum allowed payload size in bytes for WebSocket messages. + * Applied to uncompressed messages, compressed frame payloads, and decompressed (permessage-deflate) messages. + * Set to 0 to disable the limit. + * @default 134217728 (128 MB) + */ + maxPayloadSize?: number; + } } export default Client; -- cgit v1.3