Skip to content

Commit e05ab46

Browse files
authored
add support for identifyPush protocol (#794)
1 parent 1badd40 commit e05ab46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/P2P/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { tcp } from '@libp2p/tcp'
2424
import { webSockets } from '@libp2p/websockets'
2525
import { circuitRelayTransport, circuitRelayServer } from '@libp2p/circuit-relay-v2'
2626
import { createLibp2p, Libp2p } from 'libp2p'
27-
import { identify } from '@libp2p/identify'
27+
import { identify, identifyPush } from '@libp2p/identify'
2828
import { autoNAT } from '@libp2p/autonat'
2929
import { uPnPNAT } from '@libp2p/upnp-nat'
3030
import { ping } from '@libp2p/ping'
@@ -277,6 +277,7 @@ export class OceanP2P extends EventEmitter {
277277
}
278278
let servicesConfig = {
279279
identify: identify(),
280+
identifyPush: identifyPush(),
280281
/*
281282
pubsub: gossipsub({
282283
fallbackToFloodsub: false,

0 commit comments

Comments
 (0)