From d330c9346ece23fbf7453691de07fa1b456ba277 Mon Sep 17 00:00:00 2001 From: Spencer Pogorzelski <34356756+Scoder12@users.noreply.github.com> Date: Sun, 13 Aug 2023 17:55:54 -0700 Subject: [PATCH] use protocols --- client/src/AdriftClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/AdriftClient.ts b/client/src/AdriftClient.ts index 7df88d1..23eb614 100644 --- a/client/src/AdriftClient.ts +++ b/client/src/AdriftClient.ts @@ -76,7 +76,7 @@ export class AdriftBareClient extends Client { onReadyState: ReadyStateCallback, webSocketImpl: WebSocketImpl ): WebSocket { - const ws = new webSocketImpl("ws:null"); + const ws = new webSocketImpl("ws:null", protocols); // this will error. that's okay let send = this.connection.wsconnect(