Skip to content

Commit eac819f

Browse files
committed
Revert "feat: ID continuity"
This reverts commit f74e8df.
1 parent 5be4da2 commit eac819f

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

src/segment_payload.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,9 @@ impl SegmentPayload {
5858
segment_payload.user_id = Some(edgee_event.context.user.user_id.clone());
5959
}
6060
// anonymous_id
61+
// todo: ID continuity
6162
if !edgee_event.context.user.anonymous_id.is_empty() {
6263
segment_payload.anonymous_id = Some(edgee_event.context.user.anonymous_id.clone());
63-
} else if !edgee_event.context.user.component_id.is_empty() {
64-
segment_payload.anonymous_id = Some(edgee_event.context.user.component_id.clone());
6564
} else {
6665
segment_payload.anonymous_id = Some(edgee_event.context.user.edgee_id.to_string());
6766
}

wit/deps.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[protocols]
2-
url = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.5.tar.gz"
3-
sha256 = "e9f41f356e8be23e62f0fea3604efbbefc7aca08301efca6bbd35c967997fa4d"
4-
sha512 = "9e7c1a8574f29009228318c9f22a7a32b6b294a11d9dadaeac28f3e16d94fe302a5401d7137f846c1dbdb1b5f91fe68eca284f8c2fd9f7cbd1c1f69bea77c8dc"
2+
url = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.4.tar.gz"
3+
sha256 = "9085b0ef016f6c1135e7175fe44db4f9694ce94c8cb9dd0e4b45b330610e4abb"
4+
sha512 = "f06230b4471cb4c09b7a31830e0b1f77e58eba56fe7e6d1c764cbba7193cfc1f7396b520afa1d3a8961f86da3643bca37adca6b81fb5cdf92212a41a54fd5275"

wit/deps.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
protocols="https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.5.tar.gz"
1+
protocols="https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.2.4.tar.gz"

wit/deps/protocols/protocols.wit

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ type dict = list<tuple<string,string>>;
3838
user-id: string,
3939
anonymous-id: string,
4040
edgee-id: string,
41-
component-id: string,
4241
properties: dict,
4342
}
4443

0 commit comments

Comments
 (0)