Commit 0cd58652563ce86bd6be1809c271805692470a58
add methods needed for epidemic-broadcast-trees
Dominic Tarr committed on 4/4/2017, 7:58:18 AMParent: 483100052a6cca6309037475e220f6272a8ef11b
Files changed
index.js | changed |
index.js | |||
---|---|---|---|
@@ -14,9 +14,11 @@ | |||
14 | 14 … | function isObject(o) { return 'object' === typeof o } | |
15 | 15 … | function isFunction (f) { return 'function' === typeof f } | |
16 | 16 … | // create SecretStack definition | |
17 | 17 … | var manifest = mdm.manifest(apidocs._) | |
18 … | +manifest.seq = 'async' | ||
18 | 19 … | manifest.usage = 'sync' | |
20 … | +manifest.clock = 'async' | ||
19 | 21 … | var SSB = { | |
20 | 22 … | manifest: manifest, | |
21 | 23 … | permissions: { | |
22 | 24 … | master: {allow: null, deny: null}, | |
@@ -107,9 +109,10 @@ | |||
107 | 109 … | links : valid.source(ssb.links, 'linksOpts'), | |
108 | 110 … | sublevel : ssb.sublevel, | |
109 | 111 … | messagesByType : valid.source(ssb.messagesByType, 'string|messagesByTypeOpts'), | |
110 | 112 … | createWriteStream : ssb.createWriteStream, | |
111 | -// createLatestLookupStream : ssb.createLatestLookupStream, | ||
113 … | + getVectorClock : ssb.getVectorClock, | ||
114 … | + getAtSequence : ssb.getAtSequence, | ||
112 | 115 … | } | |
113 | 116 … | } | |
114 | 117 … | } | |
115 | 118 … | ||
@@ -143,7 +146,4 @@ | |||
143 | 146 … | appKey: require('./lib/ssb-cap') | |
144 | 147 … | }) | |
145 | 148 … | .use(SSB) | |
146 | 149 … | ||
147 | - | ||
148 | - | ||
149 | - |
Built with git-ssb-web