| … | … | @@ -395,6 +395,11 @@ export class DidPeer { |
| 395 | 395 | getPreferences ({ token } = {}) { return this._call('get-preferences', { token }, { readOnly: true }) } |
| 396 | 396 | putPreferences ({ preferences, token } = {}) { return this._call('put-preferences', { preferences, token }) } |
| 397 | 397 | getBlob (cid) { return this._call('get-blob', { cid }, { readOnly: true }) } |
| 398 | |
| 399 | // The peer's published blob inventory (com.atproto.sync.listBlobs). Read-only, same gate as getBlob. |
| 400 | // Returns { cids, cursor }. A peer too old to answer replies not-supported rather than erroring, so a |
| 401 | // mixed-version fleet degrades to "orphans unchecked" instead of failing the whole call. |
| 402 | listBlobs ({ limit, cursor } = {}) { return this._call('list-blobs', { limit, cursor }, { readOnly: true }) } |
| 398 | 403 | uploadBlob ({ bytes, mimeType, token } = {}) { return this._call('upload-blob', { bytes, mimeType, token }) } |
| 399 | 404 | |
| 400 | 405 | // Decode a #commit frame BODY (from firehose.decodeFrame) into normalized ops with the changed record |