Skip to content

chore: replace deprecated websocket filters with connection gater #2323

@adklempner

Description

@adklempner

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

Metadata

Metadata

Assignees

Labels

maintenanceMarks maintenance type of tasks.

Type

No type

Projects

Status

Code Review / QA

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions