import { getAuthorFeed } from './client.ts'
import type { GetAuthorFeedInput } from './types.ts'
/**
* Read an author's Bluesky feed.
* @param params.actor - Handle or DID; defaults to `blueskyHandle`.
* @param params.authenticated - When true, create a session and read via `bsky.social`. Defaults to the public AppView.
* @returns Author feed page with `feed` items and optional `cursor`.
* @example
* import getAuthorFeed from 'kody:@kody/bluesky/get-author-feed'
* const result = await getAuthorFeed({ actor: 'bsky.app', limit: 10 })
* // => { feed: [...], cursor: '...' }
*/
export default async function getAuthorFeedEntrypoint(params: GetAuthorFeedInput = {}) {
return await getAuthorFeed(params)
}