mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-03-16 02:00:50 +00:00
Add libp2p-{tcp,webrtc-{direct,star},websockets}
This commit is contained in:
parent
d9493edda4
commit
3fa977f507
@ -13,6 +13,10 @@ This following libraries are currently included. Where possible add the relevant
|
||||
- [interface-connection](https://github.com/libp2p/interface-connection)
|
||||
- [interface-transport](https://github.com/libp2p/interface-transport)
|
||||
- [keccak](https://github.com/cryptocoinjs/keccak)
|
||||
- [libp2p-tcp](https://github.com/libp2p/js-libp2p-tcp)
|
||||
- [libp2p-webrtc-direct](https://github.com/libp2p/js-libp2p-webrtc-direct)
|
||||
- [libp2p-webrtc-star](https://github.com/libp2p/js-libp2p-webrtc-star)
|
||||
- [libp2p-websockets](https://github.com/libp2p/js-libp2p-websockets)
|
||||
- [multiaddr](https://github.com/multiformats/js-multiaddr)
|
||||
- [peer-book](https://github.com/libp2p/js-peer-book)
|
||||
- [peer-id](https://github.com/libp2p/js-peer-id)
|
||||
|
11
libp2p-tcp/index.d.ts
vendored
Normal file
11
libp2p-tcp/index.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// Type definitions for libp2p-websockets 0.12.0
|
||||
// Project: https://github.com/libp2p/js-libp2p-websockets
|
||||
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import Transport from 'interface-transport';
|
||||
|
||||
declare class LibP2pWebsockets implements Transport {
|
||||
}
|
||||
|
||||
export default LibP2pWebsockets;
|
0
libp2p-tcp/libp2p-websockets-tests.ts
Normal file
0
libp2p-tcp/libp2p-websockets-tests.ts
Normal file
16
libp2p-tcp/tsconfig.json
Normal file
16
libp2p-tcp/tsconfig.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": ["es6"],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictFunctionTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": ["index.d.ts", "bn.js-tests.ts"]
|
||||
}
|
1
libp2p-tcp/tslint.json
Normal file
1
libp2p-tcp/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
11
libp2p-webrtc-direct/index.d.ts
vendored
Normal file
11
libp2p-webrtc-direct/index.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// Type definitions for libp2p-webrtc-direct 0.3.0
|
||||
// Project: https://github.com/libp2p/js-libp2p-webrtc-direct
|
||||
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import Transport from 'interface-transport';
|
||||
|
||||
declare class LibP2pWebRtcDirect implements Transport {
|
||||
}
|
||||
|
||||
export default LibP2pWebRtcDirect;
|
0
libp2p-webrtc-direct/libp2p-webrtc-direct-tests.ts
Normal file
0
libp2p-webrtc-direct/libp2p-webrtc-direct-tests.ts
Normal file
16
libp2p-webrtc-direct/tsconfig.json
Normal file
16
libp2p-webrtc-direct/tsconfig.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": ["es6"],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictFunctionTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": ["index.d.ts", "bn.js-tests.ts"]
|
||||
}
|
1
libp2p-webrtc-direct/tslint.json
Normal file
1
libp2p-webrtc-direct/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
11
libp2p-webrtc-star/index.d.ts
vendored
Normal file
11
libp2p-webrtc-star/index.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// Type definitions for libp2p-webrtc-star 0.15.3
|
||||
// Project: https://github.com/libp2p/js-libp2p-webrtc-star
|
||||
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import Transport from 'interface-transport';
|
||||
|
||||
declare class LibP2pWebRtcStar implements Transport {
|
||||
}
|
||||
|
||||
export default LibP2pWebRtcStar;
|
0
libp2p-webrtc-star/libp2p-webrtc-star-tests.ts
Normal file
0
libp2p-webrtc-star/libp2p-webrtc-star-tests.ts
Normal file
16
libp2p-webrtc-star/tsconfig.json
Normal file
16
libp2p-webrtc-star/tsconfig.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": ["es6"],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictFunctionTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": ["index.d.ts", "bn.js-tests.ts"]
|
||||
}
|
1
libp2p-webrtc-star/tslint.json
Normal file
1
libp2p-webrtc-star/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
11
libp2p-websockets/index.d.ts
vendored
Normal file
11
libp2p-websockets/index.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// Type definitions for libp2p-tcp 0.12.0
|
||||
// Project: https://github.com/libp2p/js-libp2p-tcp
|
||||
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import Transport from 'interface-transport';
|
||||
|
||||
declare class LibP2pTcp implements Transport {
|
||||
}
|
||||
|
||||
export default LibP2pTcp;
|
0
libp2p-websockets/libp2p-tcp-tests.ts
Normal file
0
libp2p-websockets/libp2p-tcp-tests.ts
Normal file
16
libp2p-websockets/tsconfig.json
Normal file
16
libp2p-websockets/tsconfig.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": ["es6"],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictFunctionTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": ["index.d.ts", "bn.js-tests.ts"]
|
||||
}
|
1
libp2p-websockets/tslint.json
Normal file
1
libp2p-websockets/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
Loading…
x
Reference in New Issue
Block a user