Files
paseo/packages/app/src/runtime/websocket-factory.web.ts
T
Mohamed Boudra a5184fd08a fix(app): keep browser relay WebSockets protocol-neutral (#2976)
Use the standard browser WebSocket constructor without the Node/React Native options object, while retaining the options-capable factory for supported runtimes and the desktop bridge.
2026-08-07 17:30:43 +08:00

7 lines
301 B
TypeScript

import { defaultWebSocketFactory } from "@getpaseo/client/internal/daemon-client-websocket-transport";
import type { WebSocketFactory } from "@getpaseo/client/internal/daemon-client-transport-types";
export function createAppWebSocketFactory(): WebSocketFactory {
return defaultWebSocketFactory;
}