*Use createSocket not createClient
This commit is contained in:
parent
fe04cbe10d
commit
875ba862f0
|
@ -40,7 +40,7 @@ export class SwarmClient extends Client {
|
|||
"listenConnections",
|
||||
{ swarm: this.swarm },
|
||||
(socketId: any) => {
|
||||
this.emit("connection", createClient(socketId));
|
||||
this.emit("connection", createSocket(socketId));
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue