···11+---
22+'@atcute/bluesky-threading': patch
33+---
44+55+fix incorrect omit on publishThread
+5-5
packages/bluesky/threading/lib/index.ts
···34343535/**
3636 * Create post records and publish them
3737- * @param rpc An authenticated Bluesky RPC client
3737+ * @param client An authenticated Bluesky RPC client
3838 * @param thread Composed thread
3939 * @returns An array of post records that were published
4040 */
4141export async function publishThread(
4242- rpc: Client,
4343- thread: Omit<ComposedThread, 'rpc'>,
4242+ client: Client,
4343+ thread: Omit<ComposedThread, 'client'>,
4444): Promise<$type.enforce<ComAtprotoRepoApplyWrites.Create>[]> {
4545- const records = await createThread({ ...thread, client: rpc });
4545+ const records = await createThread({ ...thread, client: client });
46464747 await ok(
4848- rpc.post('com.atproto.repo.applyWrites', {
4848+ client.post('com.atproto.repo.applyWrites', {
4949 signal: thread.signal,
5050 input: {
5151 repo: thread.author,
+1-1
packages/bluesky/threading/lib/types.ts
···190190 /**
191191 * The post it should reply to, accepts either an AT-URI of the post, a view
192192 * of the post, or an embed view of the post. Supplying an AT-URI requires you
193193- * to also supply an PRC instance for it to be able to make query calls.
193193+ * to also supply an RPC instance for it to be able to make query calls.
194194 */
195195 reply?: string | AppBskyFeedDefs.PostView | AppBskyEmbedRecord.ViewRecord;
196196 /**