diff --git a/src/peer/webSocket.ts b/src/peer/webSocket.ts index 4474e26..3e8826b 100644 --- a/src/peer/webSocket.ts +++ b/src/peer/webSocket.ts @@ -1,6 +1,7 @@ import { Logger, Peer } from "../types.js"; import NodeId from "../nodeId.js"; import { URL } from "url"; +import { WebSocket } from "ws"; export class WebSocketPeer implements Peer { connectionUris: Array;