mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-02 22:52:58 +00:00
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.
7 lines
301 B
TypeScript
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;
|
|
}
|