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.js CHANGED
@@ -544,7 +544,10 @@ const fetchProfilePictureAsBlobUrl = async (baseUrl = "http://objectstore.impact
544
544
  const accessToken = (typeof accessTokenOverride === "string" && accessTokenOverride.length > 0
545
545
  ? accessTokenOverride
546
546
  : null) ?? getAccessTokenForRequest();
547
- const headers = {};
547
+ const headers = {
548
+ "X-Message-Id": `msg-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`,
549
+ "X-Correlation-Id": `corr-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`,
550
+ };
548
551
  if (accessToken) {
549
552
  headers["Authorization"] = `Bearer ${accessToken}`;
550
553
  }