From ecc10afac340ecc297c53518f26712cf3b00a38f Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Fri, 13 Sep 2024 10:05:05 -0700 Subject: [PATCH 1/2] linting --- src/adapters/ipfs/ipfs.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/adapters/ipfs/ipfs.js b/src/adapters/ipfs/ipfs.js index 710c243..73a9af9 100644 --- a/src/adapters/ipfs/ipfs.js +++ b/src/adapters/ipfs/ipfs.js @@ -21,12 +21,12 @@ import { yamux } from '@chainsafe/libp2p-yamux' // import { identifyService } from 'libp2p/identify' import { identify } from '@libp2p/identify' // import { circuitRelayServer, circuitRelayTransport } from 'libp2p/circuit-relay' -import { circuitRelayServer, circuitRelayTransport } from '@libp2p/circuit-relay-v2' +import { circuitRelayServer } from '@libp2p/circuit-relay-v2' import { gossipsub } from '@chainsafe/libp2p-gossipsub' import { webSockets } from '@libp2p/websockets' import { publicIpv4 } from 'public-ip' import { multiaddr } from '@multiformats/multiaddr' -import { webRTC } from '@libp2p/webrtc' +// import { webRTC } from '@libp2p/webrtc' import { keychain } from '@libp2p/keychain' import { defaultLogger } from '@libp2p/logger' import { unixfs } from '@helia/unixfs' @@ -177,12 +177,12 @@ class IpfsAdapter { const transports = [ tcp(), - webSockets(), - circuitRelayTransport({ - discoverRelays: 3, - reservationConcurrency: 3 - }), - webRTC() + webSockets() + // circuitRelayTransport({ + // discoverRelays: 3, + // reservationConcurrency: 3 + // }), + // webRTC() ] // libp2p is the networking layer that underpins Helia From 2fbdccb88321a084cfd75ce09b77c269e73c21f5 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Fri, 13 Sep 2024 10:06:19 -0700 Subject: [PATCH 2/2] fix(webrtc): Disabling webRTC due to bug --- LICENSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.md b/LICENSE.md index e3aeb99..09d5c7a 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,5 +1,5 @@ The MIT License (MIT) -Copyright (c) 2021-2023 Permissionless Software Foundation +Copyright (c) 2021-2024 Permissionless Software Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: