File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 135
135
"docs" : " aegir docs"
136
136
},
137
137
"dependencies" : {
138
- "@libp2p/interface-peer-discovery" : " ^1 .0.5 " ,
138
+ "@libp2p/interface-peer-discovery" : " ^2 .0.0 " ,
139
139
"@libp2p/interface-peer-info" : " ^1.0.8" ,
140
140
"@libp2p/interfaces" : " ^3.3.1" ,
141
141
"@libp2p/logger" : " ^2.0.5" ,
Original file line number Diff line number Diff line change 1
- import { symbol } from '@libp2p/interface-peer-discovery'
1
+ import { peerDiscovery } from '@libp2p/interface-peer-discovery'
2
2
import { CustomEvent , EventEmitter } from '@libp2p/interfaces/events'
3
3
import { logger } from '@libp2p/logger'
4
4
import multicastDNS from 'multicast-dns'
@@ -55,7 +55,7 @@ class MulticastDNS extends EventEmitter<PeerDiscoveryEvents> implements PeerDisc
55
55
this . _onMdnsResponse = this . _onMdnsResponse . bind ( this )
56
56
}
57
57
58
- readonly [ symbol ] = true
58
+ readonly [ peerDiscovery ] = this
59
59
60
60
readonly [ Symbol . toStringTag ] = '@libp2p/mdns'
61
61
You can’t perform that action at this time.
0 commit comments