Skip to content

Commit 072bee2

Browse files
authored
docs(hermes-client): Correct function name from getStreamingPriceUpdates to getPriceUpdatesStream in README.md (#2247)
1 parent eb7f460 commit 072bee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/hermes/client/js/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ console.log(priceUpdates);
4444

4545
```typescript
4646
// Streaming price updates
47-
const eventSource = await connection.getStreamingPriceUpdates(priceIds);
47+
const eventSource = await connection.getPriceUpdatesStream(priceIds);
4848

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

0 commit comments

Comments
 (0)