diff --git a/apps/hermes/Cargo.lock b/apps/hermes/Cargo.lock index 1673f8ef6f..1c3356ea64 100644 --- a/apps/hermes/Cargo.lock +++ b/apps/hermes/Cargo.lock @@ -1796,7 +1796,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermes" -version = "0.5.9" +version = "0.5.10" dependencies = [ "anyhow", "async-trait", diff --git a/apps/hermes/Cargo.toml b/apps/hermes/Cargo.toml index be7b88d0b6..158cf6d914 100644 --- a/apps/hermes/Cargo.toml +++ b/apps/hermes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hermes" -version = "0.5.9" +version = "0.5.10" description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle." edition = "2021" diff --git a/apps/hermes/src/api/rest/v2/latest_price_updates.rs b/apps/hermes/src/api/rest/v2/latest_price_updates.rs index 301272c57d..f5ff341074 100644 --- a/apps/hermes/src/api/rest/v2/latest_price_updates.rs +++ b/apps/hermes/src/api/rest/v2/latest_price_updates.rs @@ -50,7 +50,7 @@ pub struct LatestPriceUpdatesQueryParams { #[param(example = "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43")] ids: Vec, - /// If true, include the parsed price update in the `parsed` field of each returned feed. Default is `hex`. + /// Optional encoding type. If true, return the price update in the encoding specified by the encoding parameter. Default is `hex`. #[serde(default)] encoding: EncodingType, diff --git a/apps/hermes/src/api/rest/v2/sse.rs b/apps/hermes/src/api/rest/v2/sse.rs index e1d55dde70..782cae3534 100644 --- a/apps/hermes/src/api/rest/v2/sse.rs +++ b/apps/hermes/src/api/rest/v2/sse.rs @@ -58,7 +58,7 @@ pub struct StreamPriceUpdatesQueryParams { #[param(example = "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43")] ids: Vec, - /// If true, include the parsed price update in the `parsed` field of each returned feed. Default is `hex`. + /// Optional encoding type. If true, return the price update in the encoding specified by the encoding parameter. Default is `hex`. #[serde(default)] encoding: EncodingType, diff --git a/apps/hermes/src/api/rest/v2/timestamp_price_updates.rs b/apps/hermes/src/api/rest/v2/timestamp_price_updates.rs index d6ecaa5d15..618227fc5a 100644 --- a/apps/hermes/src/api/rest/v2/timestamp_price_updates.rs +++ b/apps/hermes/src/api/rest/v2/timestamp_price_updates.rs @@ -60,7 +60,7 @@ pub struct TimestampPriceUpdatesQueryParams { #[param(example = "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43")] ids: Vec, - /// If true, include the parsed price update in the `parsed` field of each returned feed. Default is `hex`. + /// Optional encoding type. If true, return the price update in the encoding specified by the encoding parameter. Default is `hex`. #[serde(default)] encoding: EncodingType,