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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/websocket.d.ts +1 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undici-types",
3
- "version": "7.24.0",
3
+ "version": "7.24.2",
4
4
  "description": "A stand-alone types package for Undici",
5
5
  "homepage": "https://undici.nodejs.org",
6
6
  "bugs": {
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 {