switch to wisp-js

This commit is contained in:
Percs 2024-11-19 20:03:24 -06:00
parent 82249fe707
commit a8db133241
6 changed files with 23 additions and 12 deletions

View file

@ -3,7 +3,7 @@ ws ?= ?new WebSocketConstructor\(url, ?opts\)
*/
try {
if (api.transport === "wisp") {
ws = new WispWebSocket(url);
ws = new wisp_client.client.WispWebSocket(url);
}
else if (api.transport === "wsproxy") {
ws = new WebSocket(url);