Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make Envelope struct public #482

Merged
merged 3 commits into from
Oct 31, 2023
Merged

Conversation

massimoalbarello
Copy link
Contributor

Description

For the IC WebSocket Gateway we need the Envelope struct to be public also outside the ic-agent crate as the gateway needs to deserialize messages coming from clients and containing a serialized envelope.

How Has This Been Tested?

Only made Envelope struct public.

@@ -12,7 +12,7 @@ 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,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
signed, Envelope, EnvelopeContent, RejectCode, RejectResponse, ReplyResponse, RequestStatusResponse,
signed, Envelope, EnvelopeContent, RejectCode, RejectResponse, ReplyResponse,
RequestStatusResponse,

rustfmt complains about this

@sesi200 sesi200 merged commit 3a4cc37 into dfinity:main Oct 31, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants