mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-04-29 15:42:15 +00:00
Cleanup failing tests for libp2p-bootstrap
This commit is contained in:
parent
9b75a2c084
commit
005b641d7f
2
types/libp2p-bootstrap/index.d.ts
vendored
2
types/libp2p-bootstrap/index.d.ts
vendored
@ -15,7 +15,7 @@ declare namespace LibP2pBootstrap {
|
|||||||
type Events = 'peer';
|
type Events = 'peer';
|
||||||
}
|
}
|
||||||
|
|
||||||
declare class LibP2pRailing {
|
declare class LibP2pBootstrap {
|
||||||
constructor (options: LibP2pBootstrap.Options);
|
constructor (options: LibP2pBootstrap.Options);
|
||||||
|
|
||||||
on (event: LibP2pBootstrap.Events, cb: (peerInfo: PeerInfo) => any): void;
|
on (event: LibP2pBootstrap.Events, cb: (peerInfo: PeerInfo) => any): void;
|
||||||
|
@ -12,5 +12,5 @@
|
|||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"forceConsistentCasingInFileNames": true
|
"forceConsistentCasingInFileNames": true
|
||||||
},
|
},
|
||||||
"files": ["index.d.ts", "bn.js-tests.ts"]
|
"files": ["index.d.ts", "libp2p-bootstrap-tests.ts"]
|
||||||
}
|
}
|
||||||
|
4
types/libp2p/index.d.ts
vendored
4
types/libp2p/index.d.ts
vendored
@ -3,12 +3,12 @@
|
|||||||
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
||||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||||
|
|
||||||
|
/// <reference types="libp2p-bootstrap"/>
|
||||||
/// <reference types="interface-connection"/>
|
/// <reference types="interface-connection"/>
|
||||||
/// <reference types="interface-transport"/>
|
/// <reference types="interface-transport"/>
|
||||||
/// <reference types="libp2p-kad-dht"/>
|
/// <reference types="libp2p-kad-dht"/>
|
||||||
/// <reference types="libp2p-mdns"/>
|
/// <reference types="libp2p-mdns"/>
|
||||||
/// <reference types="libp2p-mplex"/>
|
/// <reference types="libp2p-mplex"/>
|
||||||
/// <reference types="libp2p-railing"/>
|
|
||||||
/// <reference types="libp2p-secio"/>
|
/// <reference types="libp2p-secio"/>
|
||||||
/// <reference types="libp2p-spdy"/>
|
/// <reference types="libp2p-spdy"/>
|
||||||
/// <reference types="peer-book"/>
|
/// <reference types="peer-book"/>
|
||||||
@ -48,7 +48,7 @@ declare namespace LibP2p {
|
|||||||
connEncryption: Array<LibP2pSecio>,
|
connEncryption: Array<LibP2pSecio>,
|
||||||
streamMuxer: Array<LibP2pMplex | LibP2pSpdy>,
|
streamMuxer: Array<LibP2pMplex | LibP2pSpdy>,
|
||||||
dht?: typeof LibP2pKadDht,
|
dht?: typeof LibP2pKadDht,
|
||||||
peerDiscovery: Array<LibP2pRailing | LibP2pMdns>,
|
peerDiscovery: Array<LibP2pBootstrap | LibP2pMdns>,
|
||||||
transport: LibP2pTransport[]
|
transport: LibP2pTransport[]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user