@walkeros/web-destination-plausible 3.0.0 → 3.0.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.
@@ -103,7 +103,7 @@ function W(e2, t = {}, n = {}) {
103
103
  }
104
104
  function re(e2 = {}) {
105
105
  var _a;
106
- const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = W({ 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: "2.1.1", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
106
+ const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = W({ 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.0.0", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
107
107
  if (e2.name) {
108
108
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
109
109
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -82,7 +82,7 @@ function W(e2, t = {}, n = {}) {
82
82
  }
83
83
  function re(e2 = {}) {
84
84
  var _a;
85
- const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = W({ 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: "2.1.1", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
85
+ const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = W({ 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.0.0", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
86
86
  if (e2.name) {
87
87
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
88
88
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$meta": {
3
3
  "package": "@walkeros/web-destination-plausible",
4
- "version": "2.1.1",
4
+ "version": "3.0.0",
5
5
  "type": "destination",
6
6
  "platform": "web",
7
7
  "docs": "https://www.walkeros.io/docs/destinations/web/plausible",
@@ -127,7 +127,7 @@
127
127
  "group": "gr0up",
128
128
  "count": 1,
129
129
  "version": {
130
- "source": "2.1.1",
130
+ "source": "3.0.0",
131
131
  "tagging": 1
132
132
  },
133
133
  "source": {
@@ -249,7 +249,7 @@
249
249
  "group": "gr0up",
250
250
  "count": 1,
251
251
  "version": {
252
- "source": "2.1.1",
252
+ "source": "3.0.0",
253
253
  "tagging": 1
254
254
  },
255
255
  "source": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@walkeros/web-destination-plausible",
3
3
  "description": "Plausible web destination for walkerOS",
4
- "version": "3.0.0",
4
+ "version": "3.0.1",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -36,10 +36,10 @@
36
36
  "update": "npx npm-check-updates -u && npm update"
37
37
  },
38
38
  "dependencies": {
39
- "@walkeros/web-core": "^3.0.0"
39
+ "@walkeros/web-core": "^3.0.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@walkeros/collector": "^3.0.0"
42
+ "@walkeros/collector": "^3.0.1"
43
43
  },
44
44
  "repository": {
45
45
  "url": "git+https://github.com/elbwalker/walkerOS.git",