@walkeros/web-destination-posthog 3.4.1 → 3.4.2

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.
@@ -96,7 +96,7 @@ function L(e2, t = {}, n = {}) {
96
96
  }
97
97
  function fe(e2 = {}) {
98
98
  var _a;
99
- const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = L({ name: "entity action", data: { string: "foo", number: 1, boolean: true, array: [0, "text", false], not: void 0 }, context: { dev: ["test", 1] }, globals: { lang: "elb" }, custom: { completely: "random" }, user: { id: "us3r", device: "c00k13", session: "s3ss10n" }, nested: [{ entity: "child", data: { is: "subordinated" }, nested: [], context: { element: ["child", 0] } }], consent: { functional: true }, id: `${t}-${n}-${o}`, trigger: "test", entity: "entity", action: "action", timestamp: t, timing: 3.14, group: n, count: o, version: { source: "3.4.1", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
99
+ const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = L({ name: "entity action", data: { string: "foo", number: 1, boolean: true, array: [0, "text", false], not: void 0 }, context: { dev: ["test", 1] }, globals: { lang: "elb" }, custom: { completely: "random" }, user: { id: "us3r", device: "c00k13", session: "s3ss10n" }, nested: [{ entity: "child", data: { is: "subordinated" }, nested: [], context: { element: ["child", 0] } }], consent: { functional: true }, id: `${t}-${n}-${o}`, trigger: "test", entity: "entity", action: "action", timestamp: t, timing: 3.14, group: n, count: o, version: { source: "3.4.2", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
100
100
  if (e2.name) {
101
101
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
102
102
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -75,7 +75,7 @@ function L(e2, t = {}, n = {}) {
75
75
  }
76
76
  function fe(e2 = {}) {
77
77
  var _a;
78
- const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = L({ name: "entity action", data: { string: "foo", number: 1, boolean: true, array: [0, "text", false], not: void 0 }, context: { dev: ["test", 1] }, globals: { lang: "elb" }, custom: { completely: "random" }, user: { id: "us3r", device: "c00k13", session: "s3ss10n" }, nested: [{ entity: "child", data: { is: "subordinated" }, nested: [], context: { element: ["child", 0] } }], consent: { functional: true }, id: `${t}-${n}-${o}`, trigger: "test", entity: "entity", action: "action", timestamp: t, timing: 3.14, group: n, count: o, version: { source: "3.4.1", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
78
+ const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = L({ name: "entity action", data: { string: "foo", number: 1, boolean: true, array: [0, "text", false], not: void 0 }, context: { dev: ["test", 1] }, globals: { lang: "elb" }, custom: { completely: "random" }, user: { id: "us3r", device: "c00k13", session: "s3ss10n" }, nested: [{ entity: "child", data: { is: "subordinated" }, nested: [], context: { element: ["child", 0] } }], consent: { functional: true }, id: `${t}-${n}-${o}`, trigger: "test", entity: "entity", action: "action", timestamp: t, timing: 3.14, group: n, count: o, version: { source: "3.4.2", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
79
79
  if (e2.name) {
80
80
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
81
81
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$meta": {
3
3
  "package": "@walkeros/web-destination-posthog",
4
- "version": "3.4.1",
4
+ "version": "3.4.2",
5
5
  "type": "destination",
6
6
  "platform": [
7
7
  "web"
@@ -282,7 +282,7 @@
282
282
  "group": "gr0up",
283
283
  "count": 1,
284
284
  "version": {
285
- "source": "3.4.1",
285
+ "source": "3.4.2",
286
286
  "tagging": 1
287
287
  },
288
288
  "source": {
@@ -356,7 +356,7 @@
356
356
  "group": "gr0up",
357
357
  "count": 1,
358
358
  "version": {
359
- "source": "3.4.1",
359
+ "source": "3.4.2",
360
360
  "tagging": 1
361
361
  },
362
362
  "source": {
@@ -426,7 +426,7 @@
426
426
  "group": "gr0up",
427
427
  "count": 1,
428
428
  "version": {
429
- "source": "3.4.1",
429
+ "source": "3.4.2",
430
430
  "tagging": 1
431
431
  },
432
432
  "source": {
@@ -507,7 +507,7 @@
507
507
  "group": "gr0up",
508
508
  "count": 1,
509
509
  "version": {
510
- "source": "3.4.1",
510
+ "source": "3.4.2",
511
511
  "tagging": 1
512
512
  },
513
513
  "source": {
@@ -638,7 +638,7 @@
638
638
  "group": "gr0up",
639
639
  "count": 1,
640
640
  "version": {
641
- "source": "3.4.1",
641
+ "source": "3.4.2",
642
642
  "tagging": 1
643
643
  },
644
644
  "source": {
@@ -721,7 +721,7 @@
721
721
  "group": "gr0up",
722
722
  "count": 1,
723
723
  "version": {
724
- "source": "3.4.1",
724
+ "source": "3.4.2",
725
725
  "tagging": 1
726
726
  },
727
727
  "source": {
@@ -849,7 +849,7 @@
849
849
  "group": "gr0up",
850
850
  "count": 1,
851
851
  "version": {
852
- "source": "3.4.1",
852
+ "source": "3.4.2",
853
853
  "tagging": 1
854
854
  },
855
855
  "source": {
@@ -932,7 +932,7 @@
932
932
  "group": "gr0up",
933
933
  "count": 1,
934
934
  "version": {
935
- "source": "3.4.1",
935
+ "source": "3.4.2",
936
936
  "tagging": 1
937
937
  },
938
938
  "source": {
@@ -1039,7 +1039,7 @@
1039
1039
  "group": "gr0up",
1040
1040
  "count": 1,
1041
1041
  "version": {
1042
- "source": "3.4.1",
1042
+ "source": "3.4.2",
1043
1043
  "tagging": 1
1044
1044
  },
1045
1045
  "source": {
@@ -1118,7 +1118,7 @@
1118
1118
  "group": "gr0up",
1119
1119
  "count": 1,
1120
1120
  "version": {
1121
- "source": "3.4.1",
1121
+ "source": "3.4.2",
1122
1122
  "tagging": 1
1123
1123
  },
1124
1124
  "source": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@walkeros/web-destination-posthog",
3
3
  "description": "PostHog web destination for walkerOS (product analytics, session replay, feature flags, surveys)",
4
- "version": "3.4.1",
4
+ "version": "3.4.2",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -38,10 +38,10 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "posthog-js": "^1.367.0",
41
- "@walkeros/web-core": "3.4.1"
41
+ "@walkeros/web-core": "3.4.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@walkeros/collector": "3.4.1"
44
+ "@walkeros/collector": "3.4.2"
45
45
  },
46
46
  "repository": {
47
47
  "url": "git+https://github.com/elbwalker/walkerOS.git",