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(