Skip to content

Commit

Permalink
add support for identifyPush protocol (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 authored Jan 13, 2025
1 parent 1badd40 commit e05ab46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/P2P/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { tcp } from '@libp2p/tcp'
import { webSockets } from '@libp2p/websockets'
import { circuitRelayTransport, circuitRelayServer } from '@libp2p/circuit-relay-v2'
import { createLibp2p, Libp2p } from 'libp2p'
import { identify } from '@libp2p/identify'
import { identify, identifyPush } from '@libp2p/identify'
import { autoNAT } from '@libp2p/autonat'
import { uPnPNAT } from '@libp2p/upnp-nat'
import { ping } from '@libp2p/ping'
Expand Down Expand Up @@ -277,6 +277,7 @@ export class OceanP2P extends EventEmitter {
}
let servicesConfig = {
identify: identify(),
identifyPush: identifyPush(),
/*
pubsub: gossipsub({
fallbackToFloodsub: false,
Expand Down

0 comments on commit e05ab46

Please sign in to comment.