Fixed encoding issue: changed from btoa(String.fromCharCode(...)) to Buffer.from().toString('base64')
Maintains persistent identity through private key storage
Provides better state management and error tracking
Supports connection acceptance/rejection flow
Properly handles node lifecycle events
Can be cleanly shut down with resource cleanup
Co-authored-by: Chris Daßler <chris.dassler@me.com>
Reviewed-on: #1
- Remove obsolete index.d.ts with relative imports
- Use self-contained type declarations for IOR compatibility
- Keep native/libp2p.d.ts for internal use
- 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