Skip to content

Commit

Permalink
fix: deno compat (#10271)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
  • Loading branch information
3 people committed May 13, 2024
1 parent 3640fe7 commit 616208b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ws/src/ws/WebSocketShard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});

Expand Down

0 comments on commit 616208b

Please sign in to comment.