expose registrar connections map

This commit is contained in:
Marin Petrunić 2020-05-15 14:14:09 +02:00
parent 2ac3b45b71
commit 971ce90b71
No known key found for this signature in database
GPG Key ID: 834D07135E110DA5

View File

@ -93,6 +93,7 @@ declare class PeerStore {
}
declare class Registrar {
connections: Map<string, LibP2pConnection[]>;
getConnection(peerInfo: PeerInfo): LibP2pConnection;
handle: Function;
register(topology: Object): string;