Skip to content

Commit

Permalink
fix(apps/hermes): fix encoding description (#1640)
Browse files Browse the repository at this point in the history
* update encoding desc

* revert version

* bump version
  • Loading branch information
cctdaniel authored Jun 1, 2024
1 parent 223559e commit 5309b92
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/hermes/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 apps/hermes/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/src/api/rest/v2/latest_price_updates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub struct LatestPriceUpdatesQueryParams {
#[param(example = "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43")]
ids: Vec<PriceIdInput>,

/// 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,

Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/src/api/rest/v2/sse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub struct StreamPriceUpdatesQueryParams {
#[param(example = "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43")]
ids: Vec<PriceIdInput>,

/// 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,

Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/src/api/rest/v2/timestamp_price_updates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub struct TimestampPriceUpdatesQueryParams {
#[param(example = "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43")]
ids: Vec<PriceIdInput>,

/// 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,

Expand Down

0 comments on commit 5309b92

Please sign in to comment.