undici-types 7.20.0 → 7.22.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.
package/client.d.ts CHANGED
@@ -102,6 +102,11 @@ export declare namespace Client {
102
102
  * @default 524288
103
103
  */
104
104
  connectionWindowSize?: number;
105
+ /**
106
+ * @description Time interval between PING frames dispatch
107
+ * @default 60000
108
+ */
109
+ pingInterval?: number;
105
110
  }
106
111
  export interface SocketInfo {
107
112
  localAddress?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undici-types",
3
- "version": "7.20.0",
3
+ "version": "7.22.0",
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
@@ -169,6 +169,8 @@ interface WebSocketStream {
169
169
  writable: WritableStream
170
170
  }>
171
171
  url: string
172
+
173
+ close(options?: Partial<WebSocketCloseInfo>): void
172
174
  }
173
175
 
174
176
  export declare const WebSocketStream: {