@dotcms/analytics 0.0.1-beta.29 → 0.0.1-beta.30

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.
@@ -1,4 +1,4 @@
1
- import { ANALYTICS_PAGEVIEW_EVENT as n, ANALYTICS_SOURCE_TYPE as r, EventType as o } from "../shared/dot-content-analytics.constants.js";
1
+ import { EventType as n, ANALYTICS_SOURCE_TYPE as r, ANALYTICS_PAGEVIEW_EVENT as o } from "../shared/dot-content-analytics.constants.js";
2
2
  import { getBrowserEventData as i } from "../shared/dot-content-analytics.utils.js";
3
3
  const p = {
4
4
  name: "enrich-dot-analytics",
@@ -6,7 +6,7 @@ const p = {
6
6
  const t = {
7
7
  ...i(window.location),
8
8
  ...e.properties,
9
- event_type: n,
9
+ event_type: o,
10
10
  anonymousId: e.anonymousId || void 0,
11
11
  src: r
12
12
  };
@@ -16,7 +16,7 @@ const p = {
16
16
  const t = {
17
17
  ...e.properties,
18
18
  custom_event: e.event,
19
- event_type: o.Track,
19
+ event_type: n.Track,
20
20
  anonymousId: e.anonymousId || void 0,
21
21
  src: r
22
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/analytics",
3
- "version": "0.0.1-beta.29",
3
+ "version": "0.0.1-beta.30",
4
4
  "description": "Official JavaScript library for Content Analytics with DotCMS.",
5
5
  "repository": {
6
6
  "type": "git",