1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-07-14 16:30:27 +03:00
n8n/patches/@types__ws@8.5.4.patch
कारतोफ्फेलस्क्रिप्ट™ 8bdb07d33d
fix(core): Setup websocket keep-live messages (#6866)
fixes #6757
2023-08-28 10:26:27 +02:00

14 lines
524 B
Diff

diff --git a/index.d.ts b/index.d.ts
index 7a8182a94289524851cb08a3b24897f2b6bce747..f5bfb61bdacbae81ca274cc4b5a61e6e7322b7cd 100755
--- a/index.d.ts
+++ b/index.d.ts
@@ -72,6 +72,9 @@ declare class WebSocket extends EventEmitter {
| typeof WebSocket.CLOSED;
readonly url: string;
+ /** Indicates if the connection has replied to the last PING */
+ isAlive: boolean;
+
/** The connection is not yet open. */
readonly CONNECTING: 0;
/** The connection is open and ready to communicate. */