undici-types 7.24.0 → 7.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/websocket.d.ts +1 -8
package/package.json
CHANGED
package/websocket.d.ts
CHANGED
|
@@ -147,14 +147,7 @@ export declare const ErrorEvent: {
|
|
|
147
147
|
interface WebSocketInit {
|
|
148
148
|
protocols?: string | string[],
|
|
149
149
|
dispatcher?: Dispatcher,
|
|
150
|
-
headers?: HeadersInit
|
|
151
|
-
/**
|
|
152
|
-
* Maximum size in bytes for decompressed WebSocket messages.
|
|
153
|
-
* When a message exceeds this limit during decompression, the connection
|
|
154
|
-
* will be closed with status code 1009 (Message Too Big).
|
|
155
|
-
* @default 4194304 (4 MB)
|
|
156
|
-
*/
|
|
157
|
-
maxDecompressedMessageSize?: number
|
|
150
|
+
headers?: HeadersInit
|
|
158
151
|
}
|
|
159
152
|
|
|
160
153
|
interface WebSocketStreamOptions {
|