@base44-preview/sdk 0.8.32-pr.198.5317b98 → 0.8.32-pr.198.6a53bcd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -135,10 +135,6 @@ export function createAxiosClient({ baseURL, headers = {}, token, interceptRespo
|
|
|
135
135
|
// On unauthenticated clients, attach a stable anonymous visitor id so the
|
|
136
136
|
// backend can support anonymous agent access (conversation grouping +
|
|
137
137
|
// ownership). Authenticated clients are identified by their token instead.
|
|
138
|
-
// Reuses the persisted analytics session id so an anonymous agent
|
|
139
|
-
// conversation and that visitor's analytics events share one identity.
|
|
140
|
-
// (Hardening this id to crypto-strength + decoupling from analytics is a
|
|
141
|
-
// tracked follow-up.)
|
|
142
138
|
if (!token) {
|
|
143
139
|
config.headers.set("X-Base44-Anonymous-Id", getAnalyticsSessionId());
|
|
144
140
|
}
|