Commit Graph

3 Commits

Author SHA1 Message Date
Aleksei Voronov 35ee1b0a1f Simplify Bluesky api usage
`atrium-api` now includes an `AtpAgent` which takes care of creating
and refreshing sessions automatically, so we no longer need our
custom xrpc client and session management logic.

This is nice.
2023-11-06 08:53:23 +01:00
Aleksei Voronov 3b03b11d58 Remove auth hack
atrium_api 0.9.1 forwards auth stuff properly to clients, so we don't need this anymore
2023-10-30 21:38:15 +01:00
Aleksei Voronov 5eeb0e45b1 Restructure Bluesky-related code a bit
- Put internal stuff (cbor, ipld deserialization, xprc client) into internals module
- Move various record types into separate modules under entities
- Also move session into entities as well
- Simplify CBOR conversion stuff by liberal usage of TryFrom

This will all make it a little easier to implement additional things, like filtering out replies
2023-10-15 11:47:56 +02:00