diff --git a/CHANGELOG.md b/CHANGELOG.md index 77b6fbaa..70e41577 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased * Types passed to the `to_request_id` function can now contain nested structs, signed integers, and externally tagged enums. +* `Envelope` struct is public also outside of the crate. ## [0.29.0] - 2023-09-29 diff --git a/ic-agent/src/agent/mod.rs b/ic-agent/src/agent/mod.rs index 2d6bcd6e..d7d45f99 100644 --- a/ic-agent/src/agent/mod.rs +++ b/ic-agent/src/agent/mod.rs @@ -12,7 +12,8 @@ pub use agent_error::AgentError; pub use builder::AgentBuilder; #[doc(inline)] pub use ic_transport_types::{ - signed, EnvelopeContent, RejectCode, RejectResponse, ReplyResponse, RequestStatusResponse, + signed, Envelope, EnvelopeContent, RejectCode, RejectResponse, ReplyResponse, + RequestStatusResponse, }; pub use nonce::{NonceFactory, NonceGenerator}; use time::OffsetDateTime; @@ -33,7 +34,7 @@ use backoff::{backoff::Backoff, ExponentialBackoffBuilder}; use ic_certification::{Certificate, Delegation, Label}; use ic_transport_types::{ signed::{SignedQuery, SignedRequestStatus, SignedUpdate}, - Envelope, QueryResponse, ReadStateResponse, + QueryResponse, ReadStateResponse, }; use serde::Serialize; use status::Status;