Verified Commit dabc81bf authored by Gordon Martin's avatar Gordon Martin Committed by staltz

Use ssb-bluetooth plugins which support getting the scuttlebutt public key of...

Use ssb-bluetooth plugins which support getting the scuttlebutt public key of another device before connecting for gossip.
parent 468a9da4
This diff is collapsed.
......@@ -73,6 +73,7 @@ function rnChannelTransport(_sbot: any) {
}
function dhtTransport(_sbot: any) {
_sbot.multiserver.transport({
name: 'dht',
create: (dhtConfig: any) =>
......@@ -82,6 +83,7 @@ function dhtTransport(_sbot: any) {
const bluetoothManager: any = BluetoothManager({
socketFolderPath: appDataDir,
myIdent: "@" + keys.public
});
require('scuttlebot/index')
......
......@@ -3205,9 +3205,8 @@
}
},
"multiserver-bluetooth": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/multiserver-bluetooth/-/multiserver-bluetooth-1.0.5.tgz",
"integrity": "sha512-OabZyJQmf9SQ8rRuutqS3a3f4HGOEmXfhww5AOGE5mHJSt5nKzcjEneMih4oWPZyO/fc7f+f3ytA8GPUFhWlig=="
"version": "github:happy0/multiserver-bluetooth#a44ac1c3d7673cfdaae297f79a3d3e5ee420719e",
"from": "github:happy0/multiserver-bluetooth#a44ac1c3d7673cfdaae297f79a3d3e5ee420719e"
},
"multiserver-dht": {
"version": "4.0.0",
......@@ -3928,16 +3927,6 @@
"pull-split": "^0.2.0",
"pull-stream": "^3.4.5",
"pull-stringify": "^2.0.0"
},
"dependencies": {
"pull-stringify": {
"version": "2.0.0",
"resolved": "http://registry.npmjs.org/pull-stringify/-/pull-stringify-2.0.0.tgz",
"integrity": "sha1-Irox2pWvCIjg+1WSOLH6kVpqW2Q=",
"requires": {
"defined": "^1.0.0"
}
}
}
},
"pull-level": {
......@@ -5309,11 +5298,10 @@
}
},
"ssb-bluetooth": {
"version": "1.1.8",
"resolved": "https://registry.npmjs.org/ssb-bluetooth/-/ssb-bluetooth-1.1.8.tgz",
"integrity": "sha512-NSZ8Z64wGrjhxWRA0IwPirHsDWZyWZ1NgqWysvI5E6ys9neSByrRUP2N7zwA2olHQpzpY0MbsZ2/+eUmOLH2Rw==",
"version": "github:happy0/ssb-bluetooth#040d5336d13de0806cee0cd52feefef762388361",
"from": "github:happy0/ssb-bluetooth#040d5336d13de0806cee0cd52feefef762388361",
"requires": {
"multiserver-bluetooth": "1.0.5",
"multiserver-bluetooth": "github:happy0/multiserver-bluetooth#a44ac1c3d7673cfdaae297f79a3d3e5ee420719e",
"pull-pushable": "^2.2.0"
}
},
......@@ -5487,9 +5475,8 @@
}
},
"ssb-mobile-bluetooth-manager": {
"version": "2.0.8",
"resolved": "https://registry.npmjs.org/ssb-mobile-bluetooth-manager/-/ssb-mobile-bluetooth-manager-2.0.8.tgz",
"integrity": "sha512-wWz14y1FU7PQOLVMpKNUUgnc1f9E3AkVMLl9QtsjBJmylUz5dhjqhvLy1ZtcZOVAxfORTfP8EOo819OoOqwFhA==",
"version": "github:happy0/ssb-mobile-bluetooth-manager#3f8075b040b4adbefdd1c197604bfcc17d90d1d6",
"from": "github:happy0/ssb-mobile-bluetooth-manager#3f8075b040b4adbefdd1c197604bfcc17d90d1d6",
"requires": {
"pull-json-doubleline": "^2.0.0",
"pull-stream": "^3.6.9",
......
......@@ -24,14 +24,14 @@
"ssb-config": "2.3.7",
"ssb-about": "2.0.0",
"ssb-backlinks": "0.7.3",
"ssb-bluetooth": "^1.1.8",
"ssb-bluetooth": "happy0/ssb-bluetooth#040d5336d13de0806cee0cd52feefef762388361",
"ssb-blobs": "1.1.7",
"ssb-contacts": "0.0.2",
"ssb-dht-invite": "1.0.0",
"ssb-ebt": "5.2.7",
"ssb-friends": "3.1.9",
"ssb-keys": "7.1.3",
"ssb-mobile-bluetooth-manager": "2.0.8",
"ssb-mobile-bluetooth-manager": "happy0/ssb-mobile-bluetooth-manager#3f8075b040b4adbefdd1c197604bfcc17d90d1d6",
"ssb-private": "0.2.3",
"ssb-query": "2.3.0",
"ssb-serve-blobs": "2.0.0",
......
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