Commit 5684156e40abbb0334ade076bf036971abb714d1
remove some old APIs, about to bump major, why not clean-up?
Matt McKegg committed on 6/12/2017, 1:37:42 PMParent: b148361cb34214f26c1e35030d95aa785ca1a5e2
Files changed
sbot.js | changed |
sbot.js | ||
---|---|---|
@@ -28,13 +28,10 @@ | ||
28 | 28 … | pull: { |
29 | 29 … | log: true, |
30 | 30 … | userFeed: true, |
31 | 31 … | messagesByType: true, |
32 | - query: true, | |
33 | 32 … | feed: true, |
34 | 33 … | links: true, |
35 | - search: true, | |
36 | - replicateProgress: true, | |
37 | 34 … | backlinks: true |
38 | 35 … | }, |
39 | 36 … | obs: { |
40 | 37 … | connectionStatus: true, |
@@ -172,11 +169,8 @@ | ||
172 | 169 … | sbot.gossip.connect(opts, cb) |
173 | 170 … | }) |
174 | 171 … | }, |
175 | 172 … | pull: { |
176 | - query: rec.source(query => { | |
177 | - return sbot.query.read(query) | |
178 | - }), | |
179 | 173 … | backlinks: rec.source(query => { |
180 | 174 … | return sbot.backlinks.read(query) |
181 | 175 … | }), |
182 | 176 … | userFeed: rec.source(opts => { |
@@ -198,14 +192,8 @@ | ||
198 | 192 … | ) |
199 | 193 … | }), |
200 | 194 … | links: rec.source(function (query) { |
201 | 195 … | 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() | |
208 | 196 … | }) |
209 | 197 … | }, |
210 | 198 … | obs: { |
211 | 199 … | connectionStatus: (listener) => connectionStatus(listener), |
Built with git-ssb-web