fix: deno compat (#10271)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
This commit is contained in:
DD
2024-05-13 15:04:01 +03:00
committed by GitHub
parent 3640fe7bca
commit 616208ba77

View File

@@ -245,7 +245,7 @@ export class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap> {
this.debug([`Connecting to ${url}`]);
const connection = new WebSocketConstructor(url, {
const connection = new WebSocketConstructor(url, [], {
handshakeTimeout: this.strategy.options.handshakeTimeout ?? undefined,
});