Skip to content

Commit

Permalink
[sync] Fix types for Firehose options (#3599)
Browse files Browse the repository at this point in the history
* add @types/ws to sync

* changeset

* fix typo
  • Loading branch information
mozzius authored Mar 7, 2025
1 parent d96b039 commit b20907a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-apples-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@atproto/sync": patch
---

Fix types of `FirehoseOptions`
1 change: 1 addition & 0 deletions packages/sync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"ws": "^8.12.0"
},
"devDependencies": {
"@types/ws": "^8.5.4",
"jest": "^28.1.2",
"typescript": "^5.6.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/sync/src/runner/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ export interface EventRunner {
trackEvent(
did: string,
seq: number,
hanlder: () => Promise<void>,
handler: () => Promise<void>,
): Promise<void>
}
5 changes: 4 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b20907a

Please sign in to comment.