From 878f63e2c6a430a5272747a88f2deaf8310ea43e Mon Sep 17 00:00:00 2001 From: Sacha Morard <2254275+SachaMorard@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:57:24 +0100 Subject: [PATCH] Revert "feat: ID continuity" This reverts commit 34c89b84c572c1926f6af5f8e596e3f602408a2b. --- src/piano_payload.rs | 8 ++------ wit/deps.lock | 6 +++--- wit/deps.toml | 2 +- wit/deps/protocols/protocols.wit | 1 - 4 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/piano_payload.rs b/src/piano_payload.rs index 771e04e..a10208a 100644 --- a/src/piano_payload.rs +++ b/src/piano_payload.rs @@ -35,12 +35,8 @@ impl PianoPayload { } .to_string(); - // client_id with ID continuity if enabled - let id_client = if !edgee_event.context.user.component_id.is_empty() { - edgee_event.context.user.component_id.to_string() - } else { - edgee_event.context.user.edgee_id.to_string() - }; + // todo: ID continuity + let id_client = edgee_event.context.user.edgee_id.to_string(); Ok(Self { site_id, diff --git a/wit/deps.lock b/wit/deps.lock index 0b86f69..16908de 100644 --- a/wit/deps.lock +++ b/wit/deps.lock @@ -1,4 +1,4 @@ [protocols] -url = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.5.tar.gz" -sha256 = "e9f41f356e8be23e62f0fea3604efbbefc7aca08301efca6bbd35c967997fa4d" -sha512 = "9e7c1a8574f29009228318c9f22a7a32b6b294a11d9dadaeac28f3e16d94fe302a5401d7137f846c1dbdb1b5f91fe68eca284f8c2fd9f7cbd1c1f69bea77c8dc" +url = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.4.tar.gz" +sha256 = "9085b0ef016f6c1135e7175fe44db4f9694ce94c8cb9dd0e4b45b330610e4abb" +sha512 = "f06230b4471cb4c09b7a31830e0b1f77e58eba56fe7e6d1c764cbba7193cfc1f7396b520afa1d3a8961f86da3643bca37adca6b81fb5cdf92212a41a54fd5275" diff --git a/wit/deps.toml b/wit/deps.toml index 7b3b80d..3d22e76 100644 --- a/wit/deps.toml +++ b/wit/deps.toml @@ -1 +1 @@ -protocols="https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.5.tar.gz" \ No newline at end of file +protocols="https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.4.tar.gz" \ No newline at end of file diff --git a/wit/deps/protocols/protocols.wit b/wit/deps/protocols/protocols.wit index 74e2ff8..aaac806 100644 --- a/wit/deps/protocols/protocols.wit +++ b/wit/deps/protocols/protocols.wit @@ -38,7 +38,6 @@ type dict = list>; user-id: string, anonymous-id: string, edgee-id: string, - component-id: string, properties: dict, }