feat: Add metadata support for peer discovery events
- Add metadata field to PeerDiscoveredEvent interface - Add metadata field to PeerInfo interface - Update event handler to forward metadata from native events - Enables proper user identification in discovery 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@metatrom/libp2p-native-bridge",
|
||||
"version": "1.0.0",
|
||||
"version": "1.2.0-beta.1",
|
||||
"main": "index.ts",
|
||||
"type": "module",
|
||||
"description": "Native libp2p bridge for React Native applications",
|
||||
"metatrom": {
|
||||
"ior": "com.metatrom.libp2p-native-bridge@1.0.0",
|
||||
"ior": "com.metatrom.libp2p-native-bridge@1.2.0-beta.1",
|
||||
"capabilities": {
|
||||
"p2p": true,
|
||||
"contracts": false,
|
||||
|
||||
Reference in New Issue
Block a user