Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove webtransport from default transports #674

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion benchmarks/transports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"@libp2p/tcp": "^10.0.0",
"@libp2p/webrtc": "^5.0.0",
"@libp2p/websockets": "^9.0.0",
"@libp2p/webtransport": "^5.0.0",
2color marked this conversation as resolved.
Show resolved Hide resolved
"@multiformats/multiaddr": "^12.2.1",
"aegir": "^45.0.1",
"blockstore-fs": "^2.0.1",
Expand Down
4 changes: 1 addition & 3 deletions benchmarks/transports/src/runner/helia/transports.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { circuitRelayTransport } from '@libp2p/circuit-relay-v2'
import { webRTC } from '@libp2p/webrtc'
import { webSockets } from '@libp2p/websockets'
import * as wsFilters from '@libp2p/websockets/filters'
import { webTransport } from '@libp2p/webtransport'
import type { Transport } from '@libp2p/interface'

interface TransportFactory { (...args: any[]): Transport }
Expand All @@ -13,7 +12,6 @@ export function getTransports (): TransportFactory[] {
filter: wsFilters.all
}),
webRTC(),
circuitRelayTransport(),
webTransport()
circuitRelayTransport()
]
}
1 change: 0 additions & 1 deletion packages/helia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"@libp2p/upnp-nat": "^2.0.0",
"@libp2p/webrtc": "^5.0.0",
"@libp2p/websockets": "^9.0.0",
"@libp2p/webtransport": "^5.0.0",
"@multiformats/dns": "^1.0.1",
"blockstore-core": "^5.0.0",
"datastore-core": "^10.0.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/helia/src/utils/libp2p-defaults.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { mplex } from '@libp2p/mplex'
import { ping, type PingService } from '@libp2p/ping'
import { webRTC, webRTCDirect } from '@libp2p/webrtc'
import { webSockets } from '@libp2p/websockets'
import { webTransport } from '@libp2p/webtransport'
import { ipnsSelector } from 'ipns/selector'
import { ipnsValidator } from 'ipns/validator'
import * as libp2pInfo from 'libp2p/version'
Expand Down Expand Up @@ -48,7 +47,6 @@ export function libp2pDefaults (options: Libp2pDefaultsOptions = {}): Libp2pOpti
circuitRelayTransport(),
webRTC(),
webRTCDirect(),
webTransport(),
webSockets()
],
connectionEncrypters: [
Expand Down
Loading