Skip to content

Commit 79796a1

Browse files
devin-ai-integration[bot]Jayant
andcommitted
Fix prettier formatting issues in Lazer getting started guide
- Apply prettier formatting to resolve pre-commit CI failure - Add blank lines and wrap long lines per prettier rules Co-Authored-By: Jayant <[email protected]>
1 parent 6a22dd2 commit 79796a1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pages/lazer/getting-started.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Pyth Lazer is a high-performance, low-latency price feed service that provides r
77
## What You'll Learn
88

99
In this guide, you'll learn how to:
10+
1011
- Set up the Pyth Lazer JavaScript SDK
1112
- Connect to the Lazer WebSocket stream
1213
- Subscribe to real-time price feeds
@@ -41,6 +42,7 @@ pnpm install
4142
```
4243

4344
This will install the following key packages:
45+
4446
- `@pythnetwork/pyth-lazer-sdk` - The main Lazer SDK
4547
- `@solana/web3.js` - For Solana blockchain interactions
4648
- Other supporting dependencies
@@ -54,7 +56,9 @@ export ACCESS_TOKEN=your_actual_token_here
5456
```
5557

5658
<Callout type="warning" emoji="⚠️">
57-
Replace `your_actual_token_here` with your actual Lazer access token. If you don't have one, follow the [access token guide](./acquire-access-token) to obtain it.
59+
Replace `your_actual_token_here` with your actual Lazer access token. If you
60+
don't have one, follow the [access token guide](./acquire-access-token) to
61+
obtain it.
5862
</Callout>
5963

6064
### Run the Basic WebSocket Example
@@ -66,6 +70,7 @@ pnpm run start
6670
```
6771

6872
This will execute the main example script that:
73+
6974
- Connects to the Pyth Lazer WebSocket server
7075
- Subscribes to price feeds (IDs 1 and 2)
7176
- Listens for both JSON and binary messages
@@ -98,6 +103,7 @@ client.subscribe({
98103
```
99104

100105
Key concepts:
106+
101107
- **PythLazerClient**: The main client for connecting to Lazer
102108
- **Subscription**: Defines which price feeds and properties you want to receive
103109
- **Message Listeners**: Handle incoming price updates and connection events

0 commit comments

Comments
 (0)