-
Notifications
You must be signed in to change notification settings - Fork 35
Lazer doc updates #569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazer doc updates #569
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -2,12 +2,12 @@ import { Callout, Steps } from "nextra/components"; | |||
|
|||
# How to Subscribe to Price Updates from Pyth Lazer | |||
|
|||
This guide explains how to subscribe to price updates from Pyth Lazer. This guide will also explain various properties and channels that one can use to customize the price updates. | |||
This guide explains how to subscribe to price updates from Pyth Lazer. This guide will also explain various properties and configuration options to customize the price updates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the "one" wording in this doc was weird. I made everything imperative.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I tried not to use personal "You" and "your" initially.
const client = new PythLazerClient( | ||
"wss://pyth-lazer.dourolabs.app/v1/stream", | ||
"ctoken1" | ||
const client = await PythLazerClient.create( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like the SDK interface changed since this was written
(by the way the example is wrong now as well)
Description
I ran through these instructions and fixed a couple bugs. I also improved wording in a few places.
Type of Change
Areas Affected
Lazer