diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index 255e8a3a87..ad5047b3b3 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -92,7 +92,6 @@ "@libp2p/logger": "^2.0.0", "@libp2p/peer-collections": "^3.0.0", "@libp2p/peer-id": "^2.0.0", - "@libp2p/topology": "^4.0.0", "abortable-iterator": "^5.0.1", "it-length-prefixed": "^9.0.1", "it-pipe": "^3.0.1", diff --git a/packages/pubsub/test/utils/index.ts b/packages/pubsub/test/utils/index.ts index 5181d7258f..4b112f9337 100644 --- a/packages/pubsub/test/utils/index.ts +++ b/packages/pubsub/test/utils/index.ts @@ -134,18 +134,14 @@ export const ConnectionPair = (): [Connection, Connection] => { // @ts-expect-error incomplete implementation newStream: async (protocol: string[]) => Promise.resolve({ ...d0, - stat: { - protocol: protocol[0] - } + protocol: protocol[0] }) }, { // @ts-expect-error incomplete implementation newStream: async (protocol: string[]) => Promise.resolve({ ...d1, - stat: { - protocol: protocol[0] - } + protocol: protocol[0] }) } ]