mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-04-24 13:22:13 +00:00
expose registrar connections map
This commit is contained in:
parent
2ac3b45b71
commit
971ce90b71
1
types/libp2p/index.d.ts
vendored
1
types/libp2p/index.d.ts
vendored
@ -93,6 +93,7 @@ declare class PeerStore {
|
||||
}
|
||||
|
||||
declare class Registrar {
|
||||
connections: Map<string, LibP2pConnection[]>;
|
||||
getConnection(peerInfo: PeerInfo): LibP2pConnection;
|
||||
handle: Function;
|
||||
register(topology: Object): string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user