From 77276f2e3e5df213a7cece4b83da4aaa300367a8 Mon Sep 17 00:00:00 2001 From: Pedro Mantica Date: Mon, 13 Jan 2025 21:44:26 +0000 Subject: [PATCH] Expose TLS Config as part of the client --- CHANGELOG.md | 8 ++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- yellowstone-grpc-client/Cargo.toml | 2 +- yellowstone-grpc-client/src/lib.rs | 4 ++-- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e4afd53..809b397d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,14 @@ The minor version will be incremented upon a breaking change and the patch versi ### Breaking +## 2025-01-13 + +- yellowstone-grpc-client-4.1.1 + +### Fixes + +- client: re-export `ClientTlsConfig` ([#512](https://github.com/rpcpool/yellowstone-grpc/pull/512)) + ## 2025-01-07 - @triton-one/yellowstone-grpc@2.0.0 diff --git a/Cargo.lock b/Cargo.lock index 68165c1f..c4d19e23 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5960,7 +5960,7 @@ checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" [[package]] name = "yellowstone-grpc-client" -version = "4.1.0" +version = "4.1.1" dependencies = [ "bytes", "futures", diff --git a/Cargo.toml b/Cargo.toml index f355184f..981a2f2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ resolver = "2" members = [ "examples/rust", # 4.3.0 - "yellowstone-grpc-client", # 4.1.0 + "yellowstone-grpc-client", # 4.1.1 "yellowstone-grpc-geyser", # 4.2.2 "yellowstone-grpc-proto", # 4.1.1 ] diff --git a/yellowstone-grpc-client/Cargo.toml b/yellowstone-grpc-client/Cargo.toml index 467c439a..13892a89 100644 --- a/yellowstone-grpc-client/Cargo.toml +++ b/yellowstone-grpc-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yellowstone-grpc-client" -version = "4.1.0" +version = "4.1.1" authors = { workspace = true } edition = { workspace = true } description = "Yellowstone gRPC Geyser Simple Client" diff --git a/yellowstone-grpc-client/src/lib.rs b/yellowstone-grpc-client/src/lib.rs index f3066f57..c821871a 100644 --- a/yellowstone-grpc-client/src/lib.rs +++ b/yellowstone-grpc-client/src/lib.rs @@ -1,4 +1,4 @@ -pub use tonic::service::Interceptor; +pub use tonic::{service::Interceptor, transport::ClientTlsConfig}; use { bytes::Bytes, futures::{ @@ -11,7 +11,7 @@ use { codec::{CompressionEncoding, Streaming}, metadata::{errors::InvalidMetadataValue, AsciiMetadataValue, MetadataValue}, service::interceptor::InterceptedService, - transport::channel::{Channel, ClientTlsConfig, Endpoint}, + transport::channel::{Channel, Endpoint}, Request, Response, Status, }, tonic_health::pb::{health_client::HealthClient, HealthCheckRequest, HealthCheckResponse},