Skip to content

Commit

Permalink
Revert "feat: ID continuity"
Browse files Browse the repository at this point in the history
This reverts commit 34c89b8.
  • Loading branch information
SachaMorard committed Jan 6, 2025
1 parent 31ef482 commit 878f63e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
8 changes: 2 additions & 6 deletions src/piano_payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions wit/deps.lock
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion wit/deps.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
protocols="https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.5.tar.gz"
protocols="https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.4.tar.gz"
1 change: 0 additions & 1 deletion wit/deps/protocols/protocols.wit
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ type dict = list<tuple<string,string>>;
user-id: string,
anonymous-id: string,
edgee-id: string,
component-id: string,
properties: dict,
}

Expand Down

0 comments on commit 878f63e

Please sign in to comment.