Skip to content

Commit 30c889e

Browse files
sij411claude
andcommitted
Fix JSDoc example in factory.ts to include subscriptionHandler
The example code in the JSDoc comment was missing the now-required subscriptionHandler option, causing TypeScript compilation to fail. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 1661d5f commit 30c889e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/relay/src/factory.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import type { RelayOptions, RelayType } from "./types.ts";
1919
* const relay = createRelay("mastodon", {
2020
* kv: new MemoryKvStore(),
2121
* domain: "relay.example.com",
22+
* subscriptionHandler: async (ctx, actor) => true,
2223
* });
2324
* ```
2425
*

0 commit comments

Comments
 (0)