Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/bluesky

src/unfollow.ts

15 lines · 591 B · TypeScript
import { unfollow } from './client.ts'
import type { UnfollowInput } from './types.ts'

/**
 * Unfollow a Bluesky actor. Requires `confirm: true` after explicit user approval.
 * @param params.uri - Follow record AT URI, or pass `actor` for a followed profile.
 * @returns Deletion result or dry-run payload.
 * @example
 * import unfollow from 'kody:@kody/bluesky/unfollow'
 * const result = await unfollow({ actor: 'example.bsky.social', confirm: true })
 * // => { ... }
 */
export default async function unfollowEntrypoint(params: UnfollowInput = {}) {
  return await unfollow(params)
}