Commit 3a004f3eb4f7551fe36fc00635cbdd5cff496b47
Update for scuttlebot v10 + ssb-private
cel committed on 6/13/2017, 2:13:03 AMParent: b681766248ce4cc95a8e3a4d3ae5882c4aa8e093
Files changed
package.json | changed |
server.js | changed |
package.json | ||
---|---|---|
@@ -14,12 +14,17 @@ | ||
14 | 14 … | "dependencies": { |
15 | 15 … | "multiserver": "^1.7.6", |
16 | 16 … | "muxrpc": "^6.3.3", |
17 | 17 … | "pull-stream": "^3.5.0", |
18 | - "scuttlebot": "^9.4.4", | |
19 | - "ssb-blobs": "^0.1.8", | |
18 … | + "scuttlebot": "^10.0.5", | |
19 … | + "ssb-blobs": "^1.1.0", | |
20 | 20 … | "ssb-config": "^2.2.0", |
21 | - "ssb-keys": "^7.0.3" | |
21 … | + "ssb-friends": "^2.0.0", | |
22 … | + "ssb-keys": "^7.0.3", | |
23 … | + "ssb-links": "^3.0.0", | |
24 … | + "ssb-private": "^0.1.1", | |
25 … | + "ssb-query": "^1.0.0", | |
26 … | + "ssb-ws": "^1.0.1" | |
22 | 27 … | }, |
23 | 28 … | "devDependencies": { |
24 | 29 … | "rimraf": "^2.6.1", |
25 | 30 … | "tape": "^4.6.3" |
server.js | ||
---|---|---|
@@ -8,16 +8,18 @@ | ||
8 | 8 … | var plugins = require('scuttlebot/plugins/plugins') |
9 | 9 … | createSbot = createSbot |
10 | 10 … | .use(plugins) |
11 | 11 … | .use(require('scuttlebot/plugins/gossip')) |
12 | - .use(require('scuttlebot/plugins/friends')) | |
13 | 12 … | .use(require('scuttlebot/plugins/replicate')) |
13 … | + .use(require('ssb-friends')) | |
14 | 14 … | .use(require('ssb-blobs')) |
15 | 15 … | .use(require('scuttlebot/plugins/invite')) |
16 | - // .use(require('scuttlebot/plugins/block')) // broken in flume | |
17 | 16 … | .use(require('scuttlebot/plugins/local')) |
18 | 17 … | .use(require('scuttlebot/plugins/logging')) |
19 | - .use(require('scuttlebot/plugins/private')) | |
18 … | + .use(require('ssb-private')) | |
19 … | + .use(require('ssb-links')) | |
20 … | + .use(require('ssb-query')) | |
21 … | + .use(require('ssb-ws')) | |
20 | 22 … | plugins.loadUserPlugins(createSbot, config) |
21 | 23 … | } |
22 | 24 … | |
23 | 25 … | var server = createSbot(config) |
Built with git-ssb-web