From 9497c5223b2c2d3e0d678d278768b24834cefd74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E6=99=93=E6=B5=A9?= <1923911906@qq.com> Date: Sat, 1 Jun 2024 17:18:48 +0800 Subject: [PATCH] fix: web-chat-x-vue build error --- packages/web-chat-x-vue/src/classes/Libp2pManager.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/web-chat-x-vue/src/classes/Libp2pManager.ts b/packages/web-chat-x-vue/src/classes/Libp2pManager.ts index c85e2be..e845ef0 100644 --- a/packages/web-chat-x-vue/src/classes/Libp2pManager.ts +++ b/packages/web-chat-x-vue/src/classes/Libp2pManager.ts @@ -7,13 +7,7 @@ import { webSockets } from "@libp2p/websockets"; import { circuitRelayTransport } from "@libp2p/circuit-relay-v2"; import { echo } from "@libp2p/echo"; import * as filters from "@libp2p/websockets/filters"; -import { - PeerId, - PeerStore, - PubSub, - SignedMessage, - Stream, -} from "@libp2p/interface"; +import { PeerId, PeerStore, PubSub, SignedMessage } from "@libp2p/interface"; import { Multiaddr, multiaddr } from "@multiformats/multiaddr"; import { GossipsubEvents, gossipsub } from "@chainsafe/libp2p-gossipsub"; import ChatUser from "./ChatUser";