fix(webRTC): Renabling webRTC & circuit relays

This commit is contained in:
Chris Troutner
2024-09-17 07:49:43 -07:00
parent 5f64257dca
commit db3f1bf2cf
3 changed files with 126 additions and 114 deletions
+116 -104
View File
@@ -28,7 +28,7 @@
"datastore-fs": "9.1.7", "datastore-fs": "9.1.7",
"glob": "7.1.6", "glob": "7.1.6",
"helia": "4.2.5", "helia": "4.2.5",
"helia-coord": "1.5.14", "helia-coord": "1.5.15",
"jsonrpc-lite": "2.2.0", "jsonrpc-lite": "2.2.0",
"jsonwebtoken": "8.5.1", "jsonwebtoken": "8.5.1",
"jwt-bch-lib": "1.3.0", "jwt-bch-lib": "1.3.0",
@@ -3056,9 +3056,9 @@
} }
}, },
"node_modules/@eslint-community/regexpp": { "node_modules/@eslint-community/regexpp": {
"version": "4.11.0", "version": "4.11.1",
"resolved": "http://94.130.170.209:4873/@eslint-community%2fregexpp/-/regexpp-4.11.0.tgz", "resolved": "http://94.130.170.209:4873/@eslint-community%2fregexpp/-/regexpp-4.11.1.tgz",
"integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -3157,9 +3157,9 @@
} }
}, },
"node_modules/@eslint/js": { "node_modules/@eslint/js": {
"version": "8.57.0", "version": "8.57.1",
"resolved": "http://94.130.170.209:4873/@eslint%2fjs/-/js-8.57.0.tgz", "resolved": "http://94.130.170.209:4873/@eslint%2fjs/-/js-8.57.1.tgz",
"integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -3190,14 +3190,14 @@
} }
}, },
"node_modules/@helia/bitswap": { "node_modules/@helia/bitswap": {
"version": "1.1.3", "version": "1.1.4",
"resolved": "http://94.130.170.209:4873/@helia%2fbitswap/-/bitswap-1.1.3.tgz", "resolved": "http://94.130.170.209:4873/@helia%2fbitswap/-/bitswap-1.1.4.tgz",
"integrity": "sha512-nCszNky/kOxaj1CZrZbzzFz6Fn7uNWigudn4KaLV+ZuFx6xyB8+t6aCmjKQ59me0WA3mwkmHkPtUOi9Y75zLSw==", "integrity": "sha512-BcmIc2FZ0NEjSYrwJxzFO5OapcOCBfcHmaBKaDoPNVh1egLLUkws2a7C3hPH5ZR7PXGQPXonH1YFz1CKYypzgA==",
"license": "Apache-2.0 OR MIT", "license": "Apache-2.0 OR MIT",
"dependencies": { "dependencies": {
"@helia/interface": "^4.3.1", "@helia/interface": "^4.3.1",
"@helia/utils": "^0.3.3", "@helia/utils": "^0.3.3",
"@libp2p/interface": "^1.1.2", "@libp2p/interface": "^1.1.4",
"@libp2p/logger": "^4.0.5", "@libp2p/logger": "^4.0.5",
"@libp2p/peer-collections": "^5.1.6", "@libp2p/peer-collections": "^5.1.6",
"@libp2p/utils": "^5.2.3", "@libp2p/utils": "^5.2.3",
@@ -3222,12 +3222,12 @@
} }
}, },
"node_modules/@helia/block-brokers": { "node_modules/@helia/block-brokers": {
"version": "3.0.3", "version": "3.0.4",
"resolved": "http://94.130.170.209:4873/@helia%2fblock-brokers/-/block-brokers-3.0.3.tgz", "resolved": "http://94.130.170.209:4873/@helia%2fblock-brokers/-/block-brokers-3.0.4.tgz",
"integrity": "sha512-xSnmWv1jgeBJURcdF/KFOHEa1CQygk3jm1qxYPYqnMWxRXhsFG5Qi13EA+QfslCXyywfxbr4yJWleUUV2Mw4oQ==", "integrity": "sha512-ymtV2cNrVeRoXsAOTpx558nDzfyOu87bLAewF98OVZ/NB28EUTy0c592GHLX3QcMaW/XfTzSGCi+te3fvVIuQg==",
"license": "Apache-2.0 OR MIT", "license": "Apache-2.0 OR MIT",
"dependencies": { "dependencies": {
"@helia/bitswap": "^1.1.3", "@helia/bitswap": "^1.1.4",
"@helia/interface": "^4.3.1", "@helia/interface": "^4.3.1",
"@helia/utils": "^0.3.3", "@helia/utils": "^0.3.3",
"@libp2p/interface": "^1.1.4", "@libp2p/interface": "^1.1.4",
@@ -3358,13 +3358,13 @@
} }
}, },
"node_modules/@humanwhocodes/config-array": { "node_modules/@humanwhocodes/config-array": {
"version": "0.11.14", "version": "0.13.0",
"resolved": "http://94.130.170.209:4873/@humanwhocodes%2fconfig-array/-/config-array-0.11.14.tgz", "resolved": "http://94.130.170.209:4873/@humanwhocodes%2fconfig-array/-/config-array-0.13.0.tgz",
"integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@humanwhocodes/object-schema": "^2.0.2", "@humanwhocodes/object-schema": "^2.0.3",
"debug": "^4.3.1", "debug": "^4.3.1",
"minimatch": "^3.0.5" "minimatch": "^3.0.5"
}, },
@@ -6649,9 +6649,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.5.4", "version": "22.5.5",
"resolved": "http://94.130.170.209:4873/@types%2fnode/-/node-22.5.4.tgz", "resolved": "http://94.130.170.209:4873/@types%2fnode/-/node-22.5.5.tgz",
"integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", "integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~6.19.2" "undici-types": "~6.19.2"
@@ -10251,9 +10251,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.5.21", "version": "1.5.24",
"resolved": "http://94.130.170.209:4873/electron-to-chromium/-/electron-to-chromium-1.5.21.tgz", "resolved": "http://94.130.170.209:4873/electron-to-chromium/-/electron-to-chromium-1.5.24.tgz",
"integrity": "sha512-+rBAerCpQvFSPyAO677i5gJuWGO2WFsoujENdcMzsrpP7Ebcc3pmpERgU8CV4fFF10a5haP4ivnFQ/AmLICBVg==", "integrity": "sha512-0x0wLCmpdKFCi9ulhvYZebgcPmHTkFVUfU2wzDykadkslKwT4oAmDTHEKLnlrDsMGZe4B+ksn8quZfZjYsBetA==",
"license": "ISC" "license": "ISC"
}, },
"node_modules/elliptic": { "node_modules/elliptic": {
@@ -10471,9 +10471,9 @@
} }
}, },
"node_modules/envinfo": { "node_modules/envinfo": {
"version": "7.13.0", "version": "7.14.0",
"resolved": "http://94.130.170.209:4873/envinfo/-/envinfo-7.13.0.tgz", "resolved": "http://94.130.170.209:4873/envinfo/-/envinfo-7.14.0.tgz",
"integrity": "sha512-cvcaMr7KqXVh4nyzGTVqTum+gAiL265x5jUWQIDLq//zOGbW+gSW/C+OWLleY/rs9Qole6AZLMXPbtIFQbqu+Q==", "integrity": "sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg==",
"license": "MIT", "license": "MIT",
"bin": { "bin": {
"envinfo": "dist/cli.js" "envinfo": "dist/cli.js"
@@ -10792,17 +10792,17 @@
} }
}, },
"node_modules/eslint": { "node_modules/eslint": {
"version": "8.57.0", "version": "8.57.1",
"resolved": "http://94.130.170.209:4873/eslint/-/eslint-8.57.0.tgz", "resolved": "http://94.130.170.209:4873/eslint/-/eslint-8.57.1.tgz",
"integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1", "@eslint-community/regexpp": "^4.6.1",
"@eslint/eslintrc": "^2.1.4", "@eslint/eslintrc": "^2.1.4",
"@eslint/js": "8.57.0", "@eslint/js": "8.57.1",
"@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/config-array": "^0.13.0",
"@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8", "@nodelib/fs.walk": "^1.2.8",
"@ungap/structured-clone": "^1.2.0", "@ungap/structured-clone": "^1.2.0",
@@ -11938,9 +11938,9 @@
"peer": true "peer": true
}, },
"node_modules/flow-parser": { "node_modules/flow-parser": {
"version": "0.245.2", "version": "0.246.0",
"resolved": "http://94.130.170.209:4873/flow-parser/-/flow-parser-0.245.2.tgz", "resolved": "http://94.130.170.209:4873/flow-parser/-/flow-parser-0.246.0.tgz",
"integrity": "sha512-FU4yuqC1j2IeWWicpzG0YJrXHJgKjK/AU8QKK/7MvQaNhcoGisDoE7FJLGCtbvnifzsgDWdm9/jtTF7Mp+PJXQ==", "integrity": "sha512-WHRizzSrWFTcKo7cVcbP3wzZVhzsoYxoWqbnH4z+JXGqrjVmnsld6kBZWVlB200PwD5ur8r+HV3KUDxv3cHhOQ==",
"license": "MIT", "license": "MIT",
"peer": true, "peer": true,
"engines": { "engines": {
@@ -12742,9 +12742,9 @@
} }
}, },
"node_modules/helia-coord": { "node_modules/helia-coord": {
"version": "1.5.14", "version": "1.5.15",
"resolved": "http://94.130.170.209:4873/helia-coord/-/helia-coord-1.5.14.tgz", "resolved": "http://94.130.170.209:4873/helia-coord/-/helia-coord-1.5.15.tgz",
"integrity": "sha512-HUd6jYla/bM0tAV2bc5NWQFPBUScBTljoxl2SulvYWcH19k8LAwL5cZjbBJG88/nzC6RwtQFRV1zMQxKjBy/WA==", "integrity": "sha512-j3Oe0HKRf60iGfM0zigkaTEOE+KArWyI4LArQuVyew+EJ10anIfz6lgl+NBsOd8IlgtbaORmJlf2/Qed76HKkQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@chris.troutner/retry-queue": "1.0.10", "@chris.troutner/retry-queue": "1.0.10",
@@ -13262,35 +13262,35 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/interface-blockstore": { "node_modules/interface-blockstore": {
"version": "5.3.0", "version": "5.3.1",
"resolved": "http://94.130.170.209:4873/interface-blockstore/-/interface-blockstore-5.3.0.tgz", "resolved": "http://94.130.170.209:4873/interface-blockstore/-/interface-blockstore-5.3.1.tgz",
"integrity": "sha512-MsOE2H9duZdpxXk7KVOQLaQnX4LfqHegshKxSr4b/YD44t13koT5Lg4lphZ0FwB5uvtvqQPm7LNcS0T/5Z2YUQ==", "integrity": "sha512-nhgrQnz6yUQEqxTFLhlOBurQOy5lWlwCpgFmZ3GTObTVTQS9RZjK/JTozY6ty9uz2lZs7VFJSqwjWAltorJ4Vw==",
"license": "Apache-2.0 OR MIT", "license": "Apache-2.0 OR MIT",
"dependencies": { "dependencies": {
"interface-store": "6.0.0", "interface-store": "^6.0.0",
"multiformats": "^13.0.1" "multiformats": "^13.2.3"
} }
}, },
"node_modules/interface-blockstore/node_modules/interface-store": { "node_modules/interface-blockstore/node_modules/interface-store": {
"version": "6.0.0", "version": "6.0.2",
"resolved": "http://94.130.170.209:4873/interface-store/-/interface-store-6.0.0.tgz", "resolved": "http://94.130.170.209:4873/interface-store/-/interface-store-6.0.2.tgz",
"integrity": "sha512-HkjsDPsjA7SKkCr+TH1elUQApAAM3X3JPwrz3vFzaf614wI+ZD6GVvwKGZCHYcbSRqeZP/uzVPqezzeISeo5kA==", "integrity": "sha512-KSFCXtBlNoG0hzwNa0RmhHtrdhzexp+S+UY2s0rWTBJyfdEIgn6i6Zl9otVqrcFYbYrneBT7hbmHQ8gE0C3umA==",
"license": "Apache-2.0 OR MIT" "license": "Apache-2.0 OR MIT"
}, },
"node_modules/interface-datastore": { "node_modules/interface-datastore": {
"version": "8.3.0", "version": "8.3.1",
"resolved": "http://94.130.170.209:4873/interface-datastore/-/interface-datastore-8.3.0.tgz", "resolved": "http://94.130.170.209:4873/interface-datastore/-/interface-datastore-8.3.1.tgz",
"integrity": "sha512-RM/rTSmRcnoCwGZIHrPm+nlGYVoT4R0lcFvNnDyhdFT4R6BuHHhfFP47UldVEjs98SfxLuMhaNMsyjI918saHw==", "integrity": "sha512-3r0ETmHIi6HmvM5sc09QQiCD3gUfwtEM/AAChOyAd/UAKT69uk8LXfTSUBufbUIO/dU65Vj8nb9O6QjwW8vDSQ==",
"license": "Apache-2.0 OR MIT", "license": "Apache-2.0 OR MIT",
"dependencies": { "dependencies": {
"interface-store": "6.0.0", "interface-store": "^6.0.0",
"uint8arrays": "^5.0.2" "uint8arrays": "^5.1.0"
} }
}, },
"node_modules/interface-datastore/node_modules/interface-store": { "node_modules/interface-datastore/node_modules/interface-store": {
"version": "6.0.0", "version": "6.0.2",
"resolved": "http://94.130.170.209:4873/interface-store/-/interface-store-6.0.0.tgz", "resolved": "http://94.130.170.209:4873/interface-store/-/interface-store-6.0.2.tgz",
"integrity": "sha512-HkjsDPsjA7SKkCr+TH1elUQApAAM3X3JPwrz3vFzaf614wI+ZD6GVvwKGZCHYcbSRqeZP/uzVPqezzeISeo5kA==", "integrity": "sha512-KSFCXtBlNoG0hzwNa0RmhHtrdhzexp+S+UY2s0rWTBJyfdEIgn6i6Zl9otVqrcFYbYrneBT7hbmHQ8gE0C3umA==",
"license": "Apache-2.0 OR MIT" "license": "Apache-2.0 OR MIT"
}, },
"node_modules/interface-store": { "node_modules/interface-store": {
@@ -13362,63 +13362,77 @@
} }
}, },
"node_modules/ipfs-unixfs": { "node_modules/ipfs-unixfs": {
"version": "11.1.4", "version": "11.2.0",
"resolved": "http://94.130.170.209:4873/ipfs-unixfs/-/ipfs-unixfs-11.1.4.tgz", "resolved": "http://94.130.170.209:4873/ipfs-unixfs/-/ipfs-unixfs-11.2.0.tgz",
"integrity": "sha512-RE4nyx5qgG2w7JOLj0Y0D7SfAR1ZkEdramNaBx0OSD4DlQ2Y2NORgc4FHfej3Pgy31v+QISDVP1pQJhdv3bUUg==", "integrity": "sha512-J8FN1qM5nfrDo8sQKQwfj0+brTg1uBfZK2vY9hxci33lcl3BFrsELS9+1+4q/8tO1ASKfxZO8W3Pi2O4sVX2Lg==",
"license": "Apache-2.0 OR MIT", "license": "Apache-2.0 OR MIT",
"dependencies": { "dependencies": {
"err-code": "^3.0.1", "protons-runtime": "^5.5.0",
"protons-runtime": "^5.4.0",
"uint8arraylist": "^2.4.8" "uint8arraylist": "^2.4.8"
} }
}, },
"node_modules/ipfs-unixfs-exporter": { "node_modules/ipfs-unixfs-exporter": {
"version": "13.5.0", "version": "13.6.1",
"resolved": "http://94.130.170.209:4873/ipfs-unixfs-exporter/-/ipfs-unixfs-exporter-13.5.0.tgz", "resolved": "http://94.130.170.209:4873/ipfs-unixfs-exporter/-/ipfs-unixfs-exporter-13.6.1.tgz",
"integrity": "sha512-s1eWXzoyhQFNEAB1p+QE3adjhW+lBdgpORmmjiCLiruHs5z7T5zsAgRVcWpM8LWYhq2flRtJHObb7Hg73J+oLQ==", "integrity": "sha512-pYPI4oBTWao2//sFzAL0pURyojn79q/u5BuK6L5/nVbVUQVw6DcVP5uB1ySdWlTM2H+0Zlhp9+OL9aJBRIICpg==",
"license": "Apache-2.0 OR MIT", "license": "Apache-2.0 OR MIT",
"dependencies": { "dependencies": {
"@ipld/dag-cbor": "^9.0.0", "@ipld/dag-cbor": "^9.2.1",
"@ipld/dag-json": "^10.1.7", "@ipld/dag-json": "^10.2.2",
"@ipld/dag-pb": "^4.0.0", "@ipld/dag-pb": "^4.1.2",
"@multiformats/murmur3": "^2.0.0", "@multiformats/murmur3": "^2.1.8",
"err-code": "^3.0.1", "hamt-sharding": "^3.0.6",
"hamt-sharding": "^3.0.0", "interface-blockstore": "^5.3.0",
"interface-blockstore": "^5.0.0",
"ipfs-unixfs": "^11.0.0", "ipfs-unixfs": "^11.0.0",
"it-filter": "^3.0.2", "it-filter": "^3.1.1",
"it-last": "^3.0.2", "it-last": "^3.0.6",
"it-map": "^3.0.3", "it-map": "^3.1.1",
"it-parallel": "^3.0.0", "it-parallel": "^3.0.8",
"it-pipe": "^3.0.1", "it-pipe": "^3.0.1",
"it-pushable": "^3.1.0", "it-pushable": "^3.2.3",
"multiformats": "^13.0.0", "multiformats": "^13.2.3",
"p-queue": "^8.0.1", "p-queue": "^8.0.1",
"progress-events": "^1.0.0" "progress-events": "^1.0.1"
} }
}, },
"node_modules/ipfs-unixfs-importer": { "node_modules/ipfs-unixfs-importer": {
"version": "15.2.5", "version": "15.3.1",
"resolved": "http://94.130.170.209:4873/ipfs-unixfs-importer/-/ipfs-unixfs-importer-15.2.5.tgz", "resolved": "http://94.130.170.209:4873/ipfs-unixfs-importer/-/ipfs-unixfs-importer-15.3.1.tgz",
"integrity": "sha512-K8tybgmhOthQ/ThPcjohYnTaVhv1hi3YKo+gPREBXcMUUG7Yd2HYfz1jExuOfhaMzICl0hDKwUMJsaU6FXMJew==", "integrity": "sha512-wHCTBqNsZXLJZ9/GSr7Msb3FDXD5yXF20Y9sKyUbbqNjbvaXs3n3h1+NM/5+WrgESHfwRcJIlJtaOKafL8Ymdg==",
"license": "Apache-2.0 OR MIT", "license": "Apache-2.0 OR MIT",
"dependencies": { "dependencies": {
"@ipld/dag-pb": "^4.1.0", "@ipld/dag-pb": "^4.1.2",
"@multiformats/murmur3": "^2.1.8", "@multiformats/murmur3": "^2.1.8",
"err-code": "^3.0.1",
"hamt-sharding": "^3.0.6", "hamt-sharding": "^3.0.6",
"interface-blockstore": "^5.2.10", "interface-blockstore": "^5.3.0",
"interface-store": "^5.1.8", "interface-store": "^6.0.0",
"ipfs-unixfs": "^11.0.0", "ipfs-unixfs": "^11.0.0",
"it-all": "^3.0.4", "it-all": "^3.0.6",
"it-batch": "^3.0.4", "it-batch": "^3.0.6",
"it-first": "^3.0.4", "it-first": "^3.0.6",
"it-parallel-batch": "^3.0.4", "it-parallel-batch": "^3.0.6",
"multiformats": "^13.1.0", "multiformats": "^13.2.3",
"progress-events": "^1.0.0", "progress-events": "^1.0.1",
"rabin-wasm": "^0.1.5", "rabin-wasm": "^0.1.5",
"uint8arraylist": "^2.4.8", "uint8arraylist": "^2.4.8",
"uint8arrays": "^5.0.3" "uint8arrays": "^5.1.0"
}
},
"node_modules/ipfs-unixfs-importer/node_modules/interface-store": {
"version": "6.0.2",
"resolved": "http://94.130.170.209:4873/interface-store/-/interface-store-6.0.2.tgz",
"integrity": "sha512-KSFCXtBlNoG0hzwNa0RmhHtrdhzexp+S+UY2s0rWTBJyfdEIgn6i6Zl9otVqrcFYbYrneBT7hbmHQ8gE0C3umA==",
"license": "Apache-2.0 OR MIT"
},
"node_modules/ipfs-unixfs/node_modules/protons-runtime": {
"version": "5.5.0",
"resolved": "http://94.130.170.209:4873/protons-runtime/-/protons-runtime-5.5.0.tgz",
"integrity": "sha512-EsALjF9QsrEk6gbCx3lmfHxVN0ah7nG3cY7GySD4xf4g8cr7g543zB88Foh897Sr1RQJ9yDCUsoT1i1H/cVUFA==",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"uint8-varint": "^2.0.2",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^5.0.1"
} }
}, },
"node_modules/ipns": { "node_modules/ipns": {
@@ -16865,7 +16879,6 @@
"resolved": "http://94.130.170.209:4873/mkdirp/-/mkdirp-0.5.6.tgz", "resolved": "http://94.130.170.209:4873/mkdirp/-/mkdirp-0.5.6.tgz",
"integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"minimist": "^1.2.6" "minimist": "^1.2.6"
}, },
@@ -17267,9 +17280,9 @@
} }
}, },
"node_modules/multiformats": { "node_modules/multiformats": {
"version": "13.2.3", "version": "13.3.0",
"resolved": "http://94.130.170.209:4873/multiformats/-/multiformats-13.2.3.tgz", "resolved": "http://94.130.170.209:4873/multiformats/-/multiformats-13.3.0.tgz",
"integrity": "sha512-TXwZIhK1GYOM6zO4H8tRYgXi9wRrRl+MSa3PY5DZaD7YdUMLYLXRbRTJwtCrqeDW8dLhzO9ehlC7A8vi6dMJyA==", "integrity": "sha512-CBiqvsufgmpo01VT5ze94O+uc+Pbf6f/sThlvWss0sBZmAOu6GQn5usrYV2sf2mr17FWYc0rO8c/CNe2T90QAA==",
"license": "Apache-2.0 OR MIT" "license": "Apache-2.0 OR MIT"
}, },
"node_modules/murmurhash3js-revisited": { "node_modules/murmurhash3js-revisited": {
@@ -24478,9 +24491,9 @@
} }
}, },
"node_modules/tape": { "node_modules/tape": {
"version": "5.8.1", "version": "5.9.0",
"resolved": "http://94.130.170.209:4873/tape/-/tape-5.8.1.tgz", "resolved": "http://94.130.170.209:4873/tape/-/tape-5.9.0.tgz",
"integrity": "sha512-pUzADXBVYm5Jkneh9hfXnirADrzQrDA3vddKbPOc/ZLORj4dFQ6GR1KdGWX0/NvOLDcYkVgeMdw78Uf6BzO3KA==", "integrity": "sha512-czbGgxSVwRlbB3Ly/aqQrNwrDAzKHDW/kVXegp4hSFmR2c8qqm3hCgZbUy1+3QAQFGhPDG7J56UsV1uNilBFCA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@ljharb/resumer": "^0.1.3", "@ljharb/resumer": "^0.1.3",
@@ -24498,8 +24511,8 @@
"inherits": "^2.0.4", "inherits": "^2.0.4",
"is-regex": "^1.1.4", "is-regex": "^1.1.4",
"minimist": "^1.2.8", "minimist": "^1.2.8",
"mock-property": "^1.0.3", "mock-property": "^1.1.0",
"object-inspect": "^1.13.1", "object-inspect": "^1.13.2",
"object-is": "^1.1.6", "object-is": "^1.1.6",
"object-keys": "^1.1.1", "object-keys": "^1.1.1",
"object.assign": "^4.1.5", "object.assign": "^4.1.5",
@@ -24728,9 +24741,9 @@
} }
}, },
"node_modules/terser": { "node_modules/terser": {
"version": "5.32.0", "version": "5.33.0",
"resolved": "http://94.130.170.209:4873/terser/-/terser-5.32.0.tgz", "resolved": "http://94.130.170.209:4873/terser/-/terser-5.33.0.tgz",
"integrity": "sha512-v3Gtw3IzpBJ0ugkxEX8U0W6+TnPKRRCWGh1jC/iM/e3Ki5+qvO1L1EAZ56bZasc64aXHwRHNIQEzm6//i5cemQ==", "integrity": "sha512-JuPVaB7s1gdFKPKTelwUyRq5Sid2A3Gko2S0PncwdBq7kN9Ti9HPWDQ06MPsEDGsZeVESjKEnyGy68quBk1w6g==",
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"dependencies": { "dependencies": {
"@jridgewell/source-map": "^0.3.3", "@jridgewell/source-map": "^0.3.3",
@@ -26096,7 +26109,6 @@
"resolved": "http://94.130.170.209:4873/write-file-atomic/-/write-file-atomic-2.4.3.tgz", "resolved": "http://94.130.170.209:4873/write-file-atomic/-/write-file-atomic-2.4.3.tgz",
"integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==",
"license": "ISC", "license": "ISC",
"peer": true,
"dependencies": { "dependencies": {
"graceful-fs": "^4.1.11", "graceful-fs": "^4.1.11",
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
+1 -1
View File
@@ -43,7 +43,7 @@
"datastore-fs": "9.1.7", "datastore-fs": "9.1.7",
"glob": "7.1.6", "glob": "7.1.6",
"helia": "4.2.5", "helia": "4.2.5",
"helia-coord": "1.5.14", "helia-coord": "1.5.15",
"jsonrpc-lite": "2.2.0", "jsonrpc-lite": "2.2.0",
"jsonwebtoken": "8.5.1", "jsonwebtoken": "8.5.1",
"jwt-bch-lib": "1.3.0", "jwt-bch-lib": "1.3.0",
+9 -9
View File
@@ -20,13 +20,13 @@ import { yamux } from '@chainsafe/libp2p-yamux'
// import { bootstrap } from '@libp2p/bootstrap' // import { bootstrap } from '@libp2p/bootstrap'
// import { identifyService } from 'libp2p/identify' // import { identifyService } from 'libp2p/identify'
import { identify } 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 { circuitRelayServer } from '@libp2p/circuit-relay-v2'
import { gossipsub } from '@chainsafe/libp2p-gossipsub' import { gossipsub } from '@chainsafe/libp2p-gossipsub'
import { webSockets } from '@libp2p/websockets' import { webSockets } from '@libp2p/websockets'
import { publicIpv4 } from 'public-ip' import { publicIpv4 } from 'public-ip'
import { multiaddr } from '@multiformats/multiaddr' import { multiaddr } from '@multiformats/multiaddr'
// import { webRTC } from '@libp2p/webrtc' import { webRTC } from '@libp2p/webrtc'
import { keychain } from '@libp2p/keychain' import { keychain } from '@libp2p/keychain'
import { defaultLogger } from '@libp2p/logger' import { defaultLogger } from '@libp2p/logger'
import { unixfs } from '@helia/unixfs' import { unixfs } from '@helia/unixfs'
@@ -177,12 +177,12 @@ class IpfsAdapter {
const transports = [ const transports = [
tcp(), tcp(),
webSockets() webSockets(),
// circuitRelayTransport({ circuitRelayTransport({
// discoverRelays: 3, discoverRelays: 3,
// reservationConcurrency: 3 reservationConcurrency: 3
// }), }),
// webRTC() webRTC()
] ]
// libp2p is the networking layer that underpins Helia // libp2p is the networking layer that underpins Helia