Skip to content

Commit

Permalink
fix(lazer-protocol): Latest Price Inner Fields Public (#2231)
Browse files Browse the repository at this point in the history
* Make inner fields public

* Bump version for hopefully the last time

* Bump lock file version too
  • Loading branch information
darunrs authored Jan 8, 2025
1 parent 4621b98 commit 89f424d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lazer/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lazer/sdk/rust/protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pyth-lazer-protocol"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
description = "Pyth Lazer SDK - protocol types."
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions lazer/sdk/rust/protocol/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ pub struct LatestPriceResponse {
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct LatestPrice {
id: PriceFeedId,
prices: AggregatedPriceFeedData,
pub id: PriceFeedId,
pub prices: AggregatedPriceFeedData,
}

0 comments on commit 89f424d

Please sign in to comment.