Skip to content

Commit d169304

Browse files
committed
pre-commit check
1 parent 2d3133b commit d169304

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

lazer/sdk/js/examples/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { PythLazerClient } from "../src/index.js";
55

66
// Ignore debug messages
7-
console.debug = () => { };
7+
console.debug = () => {};
88

99
const client = await PythLazerClient.create(
1010
["wss://pyth-lazer.dourolabs.app/v1/stream"],

lazer/sdk/js/src/protocol.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
export type Chain = "evm" | "solana";
22
export type DeliveryFormat = "json" | "binary";
33
export type JsonBinaryEncoding = "base64" | "hex";
4-
export type PriceFeedProperty = "price" | "bestBidPrice" | "bestAskPrice" | "exponent" | "publisherCount";
4+
export type PriceFeedProperty =
5+
| "price"
6+
| "bestBidPrice"
7+
| "bestAskPrice"
8+
| "exponent"
9+
| "publisherCount";
510
export type Channel = "real_time" | "fixed_rate@50ms" | "fixed_rate@200ms";
611

712
export type Request =

0 commit comments

Comments
 (0)