undici-types 6.24.0 → 6.24.1

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": "6.24.0",
3
+ "version": "6.24.1",
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
@@ -146,12 +146,5 @@ export declare const ErrorEvent: {
146
146
  interface WebSocketInit {
147
147
  protocols?: string | string[],
148
148
  dispatcher?: Dispatcher,
149
- headers?: HeadersInit,
150
- /**
151
- * Maximum size in bytes for decompressed WebSocket messages.
152
- * When a message exceeds this limit during decompression, the connection
153
- * will be closed with status code 1009 (Message Too Big).
154
- * @default 4194304 (4 MB)
155
- */
156
- maxDecompressedMessageSize?: number
149
+ headers?: HeadersInit
157
150
  }