From 616208ba7766ac66a8969ffd2cb7b341fdc2c67b Mon Sep 17 00:00:00 2001 From: DD Date: Mon, 13 May 2024 15:04:01 +0300 Subject: [PATCH] fix: deno compat (#10271) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Vlad Frangu --- packages/ws/src/ws/WebSocketShard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ws/src/ws/WebSocketShard.ts b/packages/ws/src/ws/WebSocketShard.ts index 0d183b90c..5126002c4 100644 --- a/packages/ws/src/ws/WebSocketShard.ts +++ b/packages/ws/src/ws/WebSocketShard.ts @@ -245,7 +245,7 @@ export class WebSocketShard extends AsyncEventEmitter { this.debug([`Connecting to ${url}`]); - const connection = new WebSocketConstructor(url, { + const connection = new WebSocketConstructor(url, [], { handshakeTimeout: this.strategy.options.handshakeTimeout ?? undefined, });