Paul Frazee 1ede96c4ad
Improve image quality ()
* Increase the allowed dimenions of all images

* Increase the size and quality of served images

* Update tests for larger res
2022-12-26 15:51:54 -06:00
..
2022-12-26 15:51:54 -06:00
2022-12-16 11:23:36 -06:00
2022-12-22 14:42:55 -06:00
2022-12-22 14:42:55 -06:00
2022-07-14 18:36:23 -05:00
2022-12-21 17:07:40 -06:00
2022-12-22 14:42:55 -06:00

ATP API

Usage

import API from '@atproto/api'

const client = API.service('http://example.com')

// xrpc methods
const res1 = await client.com.atproto.repo.createRecord(
  {
    did: alice.did,
    collection: 'app.bsky.feed.post',
    record: {
      $type: 'app.bsky.feed.post',
      text: 'Hello, world!',
      createdAt: (new Date()).toISOString()
    }
  }
)
const res2 = await client.com.atproto.repo.listRecords({did: alice.did, type: 'app.bsky.feed.post'})

// repo record methods
const res3 = await client.app.bsky.feed.post.create({did: alice.did}, {
  text: 'Hello, world!',
  createdAt: (new Date()).toISOString()
})
const res4 = await client.app.bsky.feed.post.list({did: alice.did})

License

MIT