Explorar el Código

refactor: rename PublisherResponse -> ServerResponse (#2293)

Tejas Badadare hace 10 meses
padre
commit
c2716a2d9d

+ 1 - 1
lazer/Cargo.lock

@@ -3698,7 +3698,7 @@ dependencies = [
 
 [[package]]
 name = "pyth-lazer-protocol"
-version = "0.3.1"
+version = "0.3.2"
 dependencies = [
  "alloy-primitives",
  "anyhow",

+ 1 - 1
lazer/sdk/rust/protocol/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "pyth-lazer-protocol"
-version = "0.3.1"
+version = "0.3.2"
 edition = "2021"
 description = "Pyth Lazer SDK - protocol types."
 license = "Apache-2.0"

+ 1 - 1
lazer/sdk/rust/protocol/src/publisher.rs

@@ -38,7 +38,7 @@ pub struct PriceFeedData {
 #[derive(Debug, Clone, Serialize, Deserialize, From)]
 #[serde(tag = "type")]
 #[serde(rename_all = "camelCase")]
-pub enum PublisherResponse {
+pub enum ServerResponse {
     UpdateDeserializationError(UpdateDeserializationErrorResponse),
 }
 /// Sent to the publisher if the binary data could not be parsed