Skip to content

Commit

Permalink
docs(hermes-client): Correct function name from getStreamingPriceUpda…
Browse files Browse the repository at this point in the history
…tes to getPriceUpdatesStream in README.md (#2247)
  • Loading branch information
ryunix authored Jan 15, 2025
1 parent eb7f460 commit 072bee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/hermes/client/js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ console.log(priceUpdates);

```typescript
// Streaming price updates
const eventSource = await connection.getStreamingPriceUpdates(priceIds);
const eventSource = await connection.getPriceUpdatesStream(priceIds);

eventSource.onmessage = (event) => {
console.log("Received price update:", event.data);
Expand Down

0 comments on commit 072bee2

Please sign in to comment.