Description
We currently use filters from transport/websockets
to choose whether to allow both WS/WSS or only WSS:
|
import { all as filterAll, wss } from "@libp2p/websockets/filters"; |
These have been deprecated by js-libp2p in favor of connection gaters: https://github.com/libp2p/js-libp2p/blob/main/packages/transport-websockets/src/filters.ts#L14
Solution
Remove use of the deprecated filters in favor of connection gaters