git ssb

4+

Dominic / scuttlebot



Commit 0cd58652563ce86bd6be1809c271805692470a58

add methods needed for epidemic-broadcast-trees

Dominic Tarr committed on 4/4/2017, 7:58:18 AM
Parent: 483100052a6cca6309037475e220f6272a8ef11b

Files changed

index.jschanged
index.jsView
@@ -14,9 +14,11 @@
1414 function isObject(o) { return 'object' === typeof o }
1515 function isFunction (f) { return 'function' === typeof f }
1616 // create SecretStack definition
1717 var manifest = mdm.manifest(apidocs._)
18 +manifest.seq = 'async'
1819 manifest.usage = 'sync'
20 +manifest.clock = 'async'
1921 var SSB = {
2022 manifest: manifest,
2123 permissions: {
2224 master: {allow: null, deny: null},
@@ -107,9 +109,10 @@
107109 links : valid.source(ssb.links, 'linksOpts'),
108110 sublevel : ssb.sublevel,
109111 messagesByType : valid.source(ssb.messagesByType, 'string|messagesByTypeOpts'),
110112 createWriteStream : ssb.createWriteStream,
111-// createLatestLookupStream : ssb.createLatestLookupStream,
113 + getVectorClock : ssb.getVectorClock,
114 + getAtSequence : ssb.getAtSequence,
112115 }
113116 }
114117 }
115118
@@ -143,7 +146,4 @@
143146 appKey: require('./lib/ssb-cap')
144147 })
145148 .use(SSB)
146149
147-
148-
149-

Built with git-ssb-web