varminer-app-header 2.2.6 → 2.2.7

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.
package/dist/index.esm.js CHANGED
@@ -524,7 +524,10 @@ const fetchProfilePictureAsBlobUrl = async (baseUrl = "http://objectstore.impact
524
524
  const accessToken = (typeof accessTokenOverride === "string" && accessTokenOverride.length > 0
525
525
  ? accessTokenOverride
526
526
  : null) ?? getAccessTokenForRequest();
527
- const headers = {};
527
+ const headers = {
528
+ "X-Message-Id": `msg-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`,
529
+ "X-Correlation-Id": `corr-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`,
530
+ };
528
531
  if (accessToken) {
529
532
  headers["Authorization"] = `Bearer ${accessToken}`;
530
533
  }