Merge pull request #159 from Permissionless-Software-Foundation/ct-unstable

Updating dependencies
This commit is contained in:
Chris Troutner
2024-09-09 18:15:03 -07:00
committed by GitHub
3 changed files with 340 additions and 313 deletions
+329 -292
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -34,7 +34,7 @@
"@libp2p/keychain": "4.1.5",
"@libp2p/logger": "4.0.20",
"@libp2p/tcp": "9.1.5",
"@libp2p/webrtc": "4.0.34",
"@libp2p/webrtc": "4.1.7",
"@libp2p/websockets": "8.2.0",
"@multiformats/multiaddr": "12.3.0",
"axios": "0.27.2",
@@ -60,7 +60,7 @@
"koa2-ratelimit": "0.9.1",
"libp2p": "1.9.1",
"line-reader": "0.4.0",
"minimal-slp-wallet": "5.11.3",
"minimal-slp-wallet": "5.12.0",
"mongoose": "5.13.14",
"node-fetch": "npm:@achingbrain/node-fetch@2.6.7",
"nodemailer": "6.7.5",
+1 -11
View File
@@ -175,16 +175,7 @@ class IpfsAdapter {
console.log('Helia (IPFS) node IS NOT configured as Circuit Relay')
}
// Configure transports
let transports
if (process.env.CONNECT_PREF === 'direct') {
transports = [
tcp(),
webSockets(),
webRTC()
]
} else {
transports = [
const transports = [
tcp(),
webSockets(),
circuitRelayTransport({
@@ -193,7 +184,6 @@ class IpfsAdapter {
}),
webRTC()
]
}
// libp2p is the networking layer that underpins Helia
const libp2p = await this.createLibp2p({