fix: import websocket
This commit is contained in:
parent
fbffb1da72
commit
132f43c34b
|
@ -1,6 +1,7 @@
|
||||||
import { Logger, Peer } from "../types.js";
|
import { Logger, Peer } from "../types.js";
|
||||||
import NodeId from "../nodeId.js";
|
import NodeId from "../nodeId.js";
|
||||||
import { URL } from "url";
|
import { URL } from "url";
|
||||||
|
import { WebSocket } from "ws";
|
||||||
|
|
||||||
export class WebSocketPeer implements Peer {
|
export class WebSocketPeer implements Peer {
|
||||||
connectionUris: Array<URL>;
|
connectionUris: Array<URL>;
|
||||||
|
|
Loading…
Reference in New Issue