mirror of https://github.com/waku-org/js-waku.git
fix: correct usage of the libp2p API
This commit is contained in:
parent
c7920f09f3
commit
e3e1197a91
|
@ -171,7 +171,9 @@ export async function defaultLibp2p(
|
|||
streamMuxers: [new Mplex()],
|
||||
connectionEncryption: [new Noise()],
|
||||
identify: {
|
||||
host: userAgent ?? DefaultUserAgent,
|
||||
host: {
|
||||
agentVersion: userAgent ?? DefaultUserAgent,
|
||||
},
|
||||
},
|
||||
} as Libp2pOptions,
|
||||
wakuRelay ? { pubsub: wakuRelay } : {},
|
||||
|
|
Loading…
Reference in New Issue