@walkeros/web-destination-amplitude 3.3.0 → 3.3.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.
@@ -210,7 +210,7 @@ function L(e2, t = {}, n = {}) {
210
210
  }
211
211
  function fe(e2 = {}) {
212
212
  var _a;
213
- 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.2.0", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
213
+ 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.3.1", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
214
214
  if (e2.name) {
215
215
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
216
216
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -189,7 +189,7 @@ function L(e2, t = {}, n = {}) {
189
189
  }
190
190
  function fe(e2 = {}) {
191
191
  var _a;
192
- 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.2.0", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
192
+ 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.3.1", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
193
193
  if (e2.name) {
194
194
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
195
195
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$meta": {
3
3
  "package": "@walkeros/web-destination-amplitude",
4
- "version": "3.2.0",
4
+ "version": "3.3.1",
5
5
  "type": "destination",
6
6
  "platform": [
7
7
  "web"
@@ -280,7 +280,7 @@
280
280
  "group": "gr0up",
281
281
  "count": 1,
282
282
  "version": {
283
- "source": "3.2.0",
283
+ "source": "3.3.1",
284
284
  "tagging": 1
285
285
  },
286
286
  "source": {
@@ -350,7 +350,7 @@
350
350
  "group": "gr0up",
351
351
  "count": 1,
352
352
  "version": {
353
- "source": "3.2.0",
353
+ "source": "3.3.1",
354
354
  "tagging": 1
355
355
  },
356
356
  "source": {
@@ -428,7 +428,7 @@
428
428
  "group": "gr0up",
429
429
  "count": 1,
430
430
  "version": {
431
- "source": "3.2.0",
431
+ "source": "3.3.1",
432
432
  "tagging": 1
433
433
  },
434
434
  "source": {
@@ -505,7 +505,7 @@
505
505
  "group": "gr0up",
506
506
  "count": 1,
507
507
  "version": {
508
- "source": "3.2.0",
508
+ "source": "3.3.1",
509
509
  "tagging": 1
510
510
  },
511
511
  "source": {
@@ -655,7 +655,7 @@
655
655
  "group": "gr0up",
656
656
  "count": 1,
657
657
  "version": {
658
- "source": "3.2.0",
658
+ "source": "3.3.1",
659
659
  "tagging": 1
660
660
  },
661
661
  "source": {
@@ -819,7 +819,7 @@
819
819
  "group": "gr0up",
820
820
  "count": 1,
821
821
  "version": {
822
- "source": "3.2.0",
822
+ "source": "3.3.1",
823
823
  "tagging": 1
824
824
  },
825
825
  "source": {
@@ -895,7 +895,7 @@
895
895
  "group": "gr0up",
896
896
  "count": 1,
897
897
  "version": {
898
- "source": "3.2.0",
898
+ "source": "3.3.1",
899
899
  "tagging": 1
900
900
  },
901
901
  "source": {
@@ -985,7 +985,7 @@
985
985
  "group": "gr0up",
986
986
  "count": 1,
987
987
  "version": {
988
- "source": "3.2.0",
988
+ "source": "3.3.1",
989
989
  "tagging": 1
990
990
  },
991
991
  "source": {
@@ -1103,7 +1103,7 @@
1103
1103
  "group": "gr0up",
1104
1104
  "count": 1,
1105
1105
  "version": {
1106
- "source": "3.2.0",
1106
+ "source": "3.3.1",
1107
1107
  "tagging": 1
1108
1108
  },
1109
1109
  "source": {
@@ -1179,7 +1179,7 @@
1179
1179
  "group": "gr0up",
1180
1180
  "count": 1,
1181
1181
  "version": {
1182
- "source": "3.2.0",
1182
+ "source": "3.3.1",
1183
1183
  "tagging": 1
1184
1184
  },
1185
1185
  "source": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@walkeros/web-destination-amplitude",
3
3
  "description": "Amplitude web destination for walkerOS (analytics, session replay, experiments, guides & surveys)",
4
- "version": "3.3.0",
4
+ "version": "3.3.1",
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
  "@amplitude/unified": "^1.0.16",
41
- "@walkeros/web-core": "3.3.0"
41
+ "@walkeros/web-core": "3.3.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@walkeros/collector": "3.3.0"
44
+ "@walkeros/collector": "3.3.1"
45
45
  },
46
46
  "repository": {
47
47
  "url": "git+https://github.com/elbwalker/walkerOS.git",