git ssb

7+

dinoworm 🐛 / patchcore



Commit 5684156e40abbb0334ade076bf036971abb714d1

remove some old APIs, about to bump major, why not clean-up?

Matt McKegg committed on 6/12/2017, 1:37:42 PM
Parent: b148361cb34214f26c1e35030d95aa785ca1a5e2

Files changed

sbot.jschanged
sbot.jsView
@@ -28,13 +28,10 @@
2828 pull: {
2929 log: true,
3030 userFeed: true,
3131 messagesByType: true,
32- query: true,
3332 feed: true,
3433 links: true,
35- search: true,
36- replicateProgress: true,
3734 backlinks: true
3835 },
3936 obs: {
4037 connectionStatus: true,
@@ -172,11 +169,8 @@
172169 sbot.gossip.connect(opts, cb)
173170 })
174171 },
175172 pull: {
176- query: rec.source(query => {
177- return sbot.query.read(query)
178- }),
179173 backlinks: rec.source(query => {
180174 return sbot.backlinks.read(query)
181175 }),
182176 userFeed: rec.source(opts => {
@@ -198,14 +192,8 @@
198192 )
199193 }),
200194 links: rec.source(function (query) {
201195 return sbot.links(query)
202- }),
203- search: rec.source(function (opts) {
204- return sbot.fulltext.search(opts)
205- }),
206- replicateProgress: rec.source(function (opts) {
207- return sbot.replicate.changes()
208196 })
209197 },
210198 obs: {
211199 connectionStatus: (listener) => connectionStatus(listener),

Built with git-ssb-web