Verified Commit 633f57a7 authored by staltz's avatar staltz

use newer sbot-gossip that handles reciprocal connections better

parent 08ddb2ae
......@@ -73,7 +73,6 @@ function rnChannelTransport(_sbot: any) {
}
function dhtTransport(_sbot: any) {
_sbot.multiserver.transport({
name: 'dht',
create: (dhtConfig: any) =>
......@@ -83,8 +82,8 @@ function dhtTransport(_sbot: any) {
const bluetoothManager: any = BluetoothManager({
socketFolderPath: appDataDir,
myIdent: "@" + keys.public,
logStreams: true
myIdent: '@' + keys.public,
logStreams: true,
});
require('scuttlebot/index')
......
......@@ -5,9 +5,9 @@
"requires": true,
"dependencies": {
"@staltz/sbot-gossip": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/@staltz/sbot-gossip/-/sbot-gossip-1.2.1.tgz",
"integrity": "sha512-zGD87EF8rVCdxnaJtcuwVW9W3k4Fw0UKR/dYRtFaDWPZG8MSZKoG09j8zik6qaw8x+dKY5bL7dJxaVTdrStyXw==",
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/@staltz/sbot-gossip/-/sbot-gossip-1.2.3.tgz",
"integrity": "sha512-4l7X11NXqKXDrqhvjaGSvhOplr6GEJVd4qQzf8WQ42I6jWHFvqK8GJ4aIW6jZxWvN2+MyG5oBCNwQeozGDPczw==",
"requires": {
"atomic-file": "0.0.1",
"deep-equal": "^1.0.1",
......@@ -1456,7 +1456,8 @@
},
"ansi-regex": {
"version": "2.1.1",
"bundled": true
"bundled": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
......@@ -1474,11 +1475,13 @@
},
"balanced-match": {
"version": "1.0.0",
"bundled": true
"bundled": true,
"optional": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
......@@ -1491,15 +1494,18 @@
},
"code-point-at": {
"version": "1.1.0",
"bundled": true
"bundled": true,
"optional": true
},
"concat-map": {
"version": "0.0.1",
"bundled": true
"bundled": true,
"optional": true
},
"console-control-strings": {
"version": "1.1.0",
"bundled": true
"bundled": true,
"optional": true
},
"core-util-is": {
"version": "1.0.2",
......@@ -1602,7 +1608,8 @@
},
"inherits": {
"version": "2.0.3",
"bundled": true
"bundled": true,
"optional": true
},
"ini": {
"version": "1.3.5",
......@@ -1612,6 +1619,7 @@
"is-fullwidth-code-point": {
"version": "1.0.0",
"bundled": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
......@@ -1624,17 +1632,20 @@
"minimatch": {
"version": "3.0.4",
"bundled": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
},
"minimist": {
"version": "0.0.8",
"bundled": true
"bundled": true,
"optional": true
},
"minipass": {
"version": "2.2.4",
"bundled": true,
"optional": true,
"requires": {
"safe-buffer": "^5.1.1",
"yallist": "^3.0.0"
......@@ -1651,6 +1662,7 @@
"mkdirp": {
"version": "0.5.1",
"bundled": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
......@@ -1723,7 +1735,8 @@
},
"number-is-nan": {
"version": "1.0.1",
"bundled": true
"bundled": true,
"optional": true
},
"object-assign": {
"version": "4.1.1",
......@@ -1733,6 +1746,7 @@
"once": {
"version": "1.4.0",
"bundled": true,
"optional": true,
"requires": {
"wrappy": "1"
}
......@@ -1808,7 +1822,8 @@
},
"safe-buffer": {
"version": "5.1.1",
"bundled": true
"bundled": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
......@@ -1838,6 +1853,7 @@
"string-width": {
"version": "1.0.2",
"bundled": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
......@@ -1855,6 +1871,7 @@
"strip-ansi": {
"version": "3.0.1",
"bundled": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
......@@ -1893,11 +1910,13 @@
},
"wrappy": {
"version": "1.0.2",
"bundled": true
"bundled": true,
"optional": true
},
"yallist": {
"version": "3.0.2",
"bundled": true
"bundled": true,
"optional": true
}
}
},
......
......@@ -3,7 +3,7 @@
"version": "0.0.0",
"main": "loader.js",
"dependencies": {
"@staltz/sbot-gossip": "1.2.1",
"@staltz/sbot-gossip": "1.2.3",
"abstract-leveldown": "5.0.0",
"bindings-noderify-nodejs-mobile": "10.3.0",
"bufferutil": "3.0.1",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment