You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
329 B

import * as WebSocket_ from "ws";
import { getNativeWebSocket } from "./utils.js";
export const WebSocket = (() => {
try {
return getNativeWebSocket();
}
catch {
if (WebSocket_.WebSocket)
return WebSocket_.WebSocket;
return WebSocket_;
}
})();
//# sourceMappingURL=index.js.map