@reservamos/browser-analytics 1.0.22-alpha.0 → 1.1.1

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.
@@ -13395,14 +13395,18 @@ function loadNoop(_src, onload) {
13395
13395
  onload();
13396
13396
  }
13397
13397
  var mixpanel = init_as_module(loadNoop);
13398
- const version = "1.0.22-alpha.0";
13398
+ const version = "1.1.1";
13399
13399
  const MIXPANEL_DISTINCT_ID_CACHE_KEY = "mp_distinct_id";
13400
+ const EVENT_SOURCE_SUPER_PROPERTY = {
13401
+ "Event Source": "sdk"
13402
+ };
13400
13403
  function init$2(mixpanelToken, debug = false, proxyUrl) {
13401
13404
  return new Promise((resolve) => {
13402
13405
  mixpanel.init(mixpanelToken, {
13403
13406
  debug,
13404
13407
  loaded: () => {
13405
13408
  window.mixpanel = mixpanel;
13409
+ mixpanel.register({ ...EVENT_SOURCE_SUPER_PROPERTY });
13406
13410
  resolve();
13407
13411
  },
13408
13412
  ...proxyUrl && { api_host: proxyUrl }