Skip to content

Commit

Permalink
pre-commit check
Browse files Browse the repository at this point in the history
  • Loading branch information
darunrs committed Jan 22, 2025
1 parent 2d3133b commit d169304
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lazer/sdk/js/examples/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { PythLazerClient } from "../src/index.js";

// Ignore debug messages
console.debug = () => { };
console.debug = () => {};

const client = await PythLazerClient.create(
["wss://pyth-lazer.dourolabs.app/v1/stream"],
Expand Down
7 changes: 6 additions & 1 deletion lazer/sdk/js/src/protocol.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
export type Chain = "evm" | "solana";
export type DeliveryFormat = "json" | "binary";
export type JsonBinaryEncoding = "base64" | "hex";
export type PriceFeedProperty = "price" | "bestBidPrice" | "bestAskPrice" | "exponent" | "publisherCount";
export type PriceFeedProperty =
| "price"
| "bestBidPrice"
| "bestAskPrice"
| "exponent"
| "publisherCount";
export type Channel = "real_time" | "fixed_rate@50ms" | "fixed_rate@200ms";

export type Request =
Expand Down

0 comments on commit d169304

Please sign in to comment.