From 099b5c5ad80908ab9584da3b1e2631b8d1ecbd98 Mon Sep 17 00:00:00 2001 From: Matthew Paul Date: Fri, 31 Jan 2025 16:38:20 +0100 Subject: [PATCH 1/2] Add preflight check message (#40) * Add preflight check message * formatting --- proto/self_serve/orb/v1/orb.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/proto/self_serve/orb/v1/orb.proto b/proto/self_serve/orb/v1/orb.proto index 0af7cc4..f92d721 100644 --- a/proto/self_serve/orb/v1/orb.proto +++ b/proto/self_serve/orb/v1/orb.proto @@ -11,6 +11,7 @@ message W { CaptureEnded capture_ended = 3; SignupEnded signup_ended = 4; AgeVerificationRequiredFromOperator age_verification_required_from_operator = 5; + PreflightCheck preflight_check = 6; } } @@ -47,3 +48,9 @@ message SignupEnded { repeated FailureFeedbackType failure_feedback = 2; } message AgeVerificationRequiredFromOperator {} + +message PreflightCheck { + bool is_user_seen = 1; + bool is_not_too_far = 2; + bool is_not_too_close = 3; +} From 1d4f63039f794eb21faa4970dd69b902c0155ec2 Mon Sep 17 00:00:00 2001 From: Matthew Paul Date: Mon, 3 Feb 2025 01:33:56 +0100 Subject: [PATCH 2/2] Fix spelling error in cargo.toml (#42) --- relay-client/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay-client/Cargo.toml b/relay-client/Cargo.toml index 50a7d68..5228118 100644 --- a/relay-client/Cargo.toml +++ b/relay-client/Cargo.toml @@ -11,7 +11,7 @@ rust-version.workspace = true [dependencies] orb-relay-messages = { workspace = true, features = ["client"] } -tokio = { workspace = true, fetures = ["full"] } +tokio = { workspace = true, features = ["full"] } tokio-util.workspace = true tonic = { workspace = true, features = ["tls-roots"] } derive_more.workspace = true