From c4e98a764ebd59a052b0ed2562fe8e3e5af822e0 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:16:36 +0100 Subject: [PATCH 1/2] Update grpcapi.md --- docs/reference/hubble/grpcapi/grpcapi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/hubble/grpcapi/grpcapi.md b/docs/reference/hubble/grpcapi/grpcapi.md index f6ae3dd3..c7f8a0de 100644 --- a/docs/reference/hubble/grpcapi/grpcapi.md +++ b/docs/reference/hubble/grpcapi/grpcapi.md @@ -18,5 +18,5 @@ bindings for other clients built using other languages. Note that by default, hu javascript [ts-proto](https://www.npmjs.com/package/ts-proto) library's serialization byte order to verify messages hashes. If you are using a different client, you may need to use the `data_bytes` field with the raw serialized bytes when calling `SubmitMessage` in order for the message to be considered valid. Refer to -the [SubmitMessage HTTP API docs](/reference/hubble/httpapi/message#using-with-rust-go-or-other-programing-languages) +the [SubmitMessage HTTP API docs](/reference/hubble/httpapi/message#using-with-rust-go-or-other-programming-languages) for more details. From 91c1d50c728b0bc364f27130ed9481e0694eef18 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Fri, 21 Feb 2025 21:09:40 +0100 Subject: [PATCH 2/2] Update message.md --- docs/reference/hubble/httpapi/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/hubble/httpapi/message.md b/docs/reference/hubble/httpapi/message.md index d3f1f557..58294619 100644 --- a/docs/reference/hubble/httpapi/message.md +++ b/docs/reference/hubble/httpapi/message.md @@ -196,7 +196,7 @@ async fn main() { let msg_data_bytes = msg_data.write_to_bytes().unwrap(); - // Calculate the blake3 hash, trucated to 20 bytes + // Calculate the blake3 hash, truncated to 20 bytes let hash = blake3::hash(&msg_data_bytes).as_bytes()[0..20].to_vec(); // Construct the actual message