- Extracted libp2p component from main app - Created modular package structure with interfaces and implementations - Added dependency injection for NativeModules - Configured for IOR loading from Gitea - Added comprehensive README and documentation
20 lines
368 B
TypeScript
20 lines
368 B
TypeScript
/**
|
|
* Type definitions for libp2p native bridge
|
|
*/
|
|
|
|
export type {
|
|
ConnectionStatusEvent,
|
|
PeerDiscoveredEvent,
|
|
PeerInfoEvent
|
|
} from '../utils/types';
|
|
|
|
// Re-export common types from ILibp2pComponent for convenience
|
|
export type {
|
|
PeerId,
|
|
Multiaddr,
|
|
Connection,
|
|
PeerInfo,
|
|
ProtocolHandler,
|
|
Libp2pEvents,
|
|
Libp2pOptions
|
|
} from './ILibp2pComponent'; |