undici-types 6.25.0 → 6.27.0

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/client.d.ts +6 -0
  2. package/package.json +1 -1
package/client.d.ts CHANGED
@@ -106,6 +106,12 @@ export declare namespace Client {
106
106
  bytesRead?: number
107
107
  }
108
108
  export interface WebSocketOptions {
109
+ /**
110
+ * Maximum number of fragments in a message.
111
+ * Set to 0 to disable the limit.
112
+ * @default 131072
113
+ */
114
+ maxFragments?: number;
109
115
  /**
110
116
  * Maximum allowed payload size in bytes for WebSocket messages.
111
117
  * Applied to uncompressed messages, compressed frame payloads, and decompressed (permessage-deflate) messages.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undici-types",
3
- "version": "6.25.0",
3
+ "version": "6.27.0",
4
4
  "description": "A stand-alone types package for Undici",
5
5
  "homepage": "https://undici.nodejs.org",
6
6
  "bugs": {