Skip to content

Commit

Permalink
Export AtpAgentOptions type from @atproto/api (#2708)
Browse files Browse the repository at this point in the history
Export AtpAgentOptions type to better support extending AtpAgent.
  • Loading branch information
devinivy authored Aug 12, 2024
1 parent 24fa446 commit 22af354
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/purple-fishes-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@atproto/api": patch
---

Export AtpAgentOptions type to better support extending AtpAgent.
2 changes: 1 addition & 1 deletion packages/api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export * from './mocker'
export { LABELS, DEFAULT_LABEL_SETTINGS } from './moderation/const/labels'
export { Agent } from './agent'

export { AtpAgent } from './atp-agent'
export { AtpAgent, type AtpAgentOptions } from './atp-agent'
export { BskyAgent } from './bsky-agent'

/** @deprecated */
Expand Down

0 comments on commit 22af354

Please sign in to comment.