Skip to content

Commit aaeeba0

Browse files
committed
chore: linting
1 parent e678232 commit aaeeba0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/protocol-identify/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
77
import { IDENTIFY_PROTOCOL_VERSION, MAX_IDENTIFY_MESSAGE_SIZE, MAX_PUSH_CONCURRENCY } from './consts.js'
88
import type { IdentifyComponents, IdentifyInit } from './index.js'
99
import type { Identify as IdentifyMessage } from './pb/message.js'
10-
import type { Libp2pEvents, IdentifyResult, SignedPeerRecord, Logger, Connection, Peer, PeerData, PeerStore, NodeInfo, Startable, Stream } from '@libp2p/interface'
10+
import type { Libp2pEvents, IdentifyResult, SignedPeerRecord, Logger, Connection, Peer, PeerData, PeerStore, Startable, Stream } from '@libp2p/interface'
1111
import type { Multiaddr } from '@multiformats/multiaddr'
1212
import type { TypedEventTarget } from 'main-event'
1313

packages/transport-websockets/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ import { pEvent } from 'p-event'
2929
import { CustomProgressEvent } from 'progress-events'
3030
import { createListener } from './listener.js'
3131
import { webSocketToMaConn } from './websocket-to-conn.js'
32-
import type { Transport, MultiaddrFilter, CreateListenerOptions, DialTransportOptions, Listener, AbortOptions, ComponentLogger, Logger, Connection, OutboundConnectionUpgradeEvents, Metrics, CounterGroup, Libp2pEvents } from '@libp2p/interface'
32+
import type { Transport, CreateListenerOptions, DialTransportOptions, Listener, AbortOptions, ComponentLogger, Logger, Connection, OutboundConnectionUpgradeEvents, Metrics, CounterGroup, Libp2pEvents } from '@libp2p/interface'
3333
import type { Multiaddr } from '@multiformats/multiaddr'
3434
import type { WebSocketOptions } from 'it-ws/client'
3535
import type { TypedEventTarget } from 'main-event'
3636
import type http from 'node:http'
3737
import type https from 'node:https'
3838
import type { ProgressEvent } from 'progress-events'
39-
import type { ClientOptions } from 'ws'
4039

4140
export interface WebSocketsInit extends AbortOptions, WebSocketOptions {
4241
/**

0 commit comments

Comments
 (0)