@walkeros/web-destination-linkedin 3.3.1 → 3.4.0

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.
@@ -98,9 +98,9 @@ var c = {};
98
98
  for (var o in n) e(t, o, { get: n[o], enumerable: true });
99
99
  })(c, { Level: () => u });
100
100
  var u = ((e2) => (e2[e2.ERROR = 0] = "ERROR", e2[e2.WARN = 1] = "WARN", e2[e2.INFO = 2] = "INFO", e2[e2.DEBUG = 3] = "DEBUG", e2))(u || {});
101
- var F = { merge: true, shallow: true, extend: true };
101
+ var W = { merge: true, shallow: true, extend: true };
102
102
  function L(e2, t = {}, n = {}) {
103
- n = { ...F, ...n };
103
+ n = { ...W, ...n };
104
104
  const o = Object.entries(t).reduce((t2, [o2, r]) => {
105
105
  const i = e2[o2];
106
106
  return n.merge && Array.isArray(i) && Array.isArray(r) ? t2[o2] = r.reduce((e3, t3) => e3.includes(t3) ? e3 : [...e3, t3], [...i]) : (n.extend || o2 in e2) && (t2[o2] = r), t2;
@@ -109,7 +109,7 @@ function L(e2, t = {}, n = {}) {
109
109
  }
110
110
  function fe(e2 = {}) {
111
111
  var _a;
112
- 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 });
112
+ 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.0", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
113
113
  if (e2.name) {
114
114
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
115
115
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -137,7 +137,7 @@ var simpleConversionId = {
137
137
  }
138
138
  }
139
139
  },
140
- out: ["lintrk", "track", { conversion_id: 12345 }]
140
+ out: [["lintrk", "track", { conversion_id: 12345 }]]
141
141
  };
142
142
  var orderCompleteFullConversion = {
143
143
  in: le("order complete", { timestamp: 1700000102 }),
@@ -154,14 +154,16 @@ var orderCompleteFullConversion = {
154
154
  }
155
155
  },
156
156
  out: [
157
- "lintrk",
158
- "track",
159
- {
160
- conversion_id: 67890,
161
- conversion_value: 555,
162
- currency: "EUR",
163
- event_id: "1700000102-gr0up-1"
164
- }
157
+ [
158
+ "lintrk",
159
+ "track",
160
+ {
161
+ conversion_id: 67890,
162
+ conversion_value: 555,
163
+ currency: "EUR",
164
+ event_id: "1700000102-gr0up-1"
165
+ }
166
+ ]
165
167
  ]
166
168
  };
167
169
  var pageViewConversion = {
@@ -177,12 +179,14 @@ var pageViewConversion = {
177
179
  }
178
180
  },
179
181
  out: [
180
- "lintrk",
181
- "track",
182
- {
183
- conversion_id: 11111,
184
- event_id: "1700000103-gr0up-1"
185
- }
182
+ [
183
+ "lintrk",
184
+ "track",
185
+ {
186
+ conversion_id: 11111,
187
+ event_id: "1700000103-gr0up-1"
188
+ }
189
+ ]
186
190
  ]
187
191
  };
188
192
  var demoRequestLead = {
@@ -198,12 +202,14 @@ var demoRequestLead = {
198
202
  }
199
203
  },
200
204
  out: [
201
- "lintrk",
202
- "track",
203
- {
204
- conversion_id: 44444,
205
- event_id: "1700000104-gr0up-1"
206
- }
205
+ [
206
+ "lintrk",
207
+ "track",
208
+ {
209
+ conversion_id: 44444,
210
+ event_id: "1700000104-gr0up-1"
211
+ }
212
+ ]
207
213
  ]
208
214
  };
209
215
  var conversionSkipped = {
@@ -247,12 +253,14 @@ var partialFieldsOmitted = {
247
253
  }
248
254
  },
249
255
  out: [
250
- "lintrk",
251
- "track",
252
- {
253
- conversion_id: 67890,
254
- event_id: "1700000107-gr0up-1"
255
- }
256
+ [
257
+ "lintrk",
258
+ "track",
259
+ {
260
+ conversion_id: 67890,
261
+ event_id: "1700000107-gr0up-1"
262
+ }
263
+ ]
256
264
  ]
257
265
  };
258
266
  // Annotate the CommonJS export names for ESM import in node:
@@ -77,9 +77,9 @@ var c = {};
77
77
  for (var o in n) e(t, o, { get: n[o], enumerable: true });
78
78
  })(c, { Level: () => u });
79
79
  var u = ((e2) => (e2[e2.ERROR = 0] = "ERROR", e2[e2.WARN = 1] = "WARN", e2[e2.INFO = 2] = "INFO", e2[e2.DEBUG = 3] = "DEBUG", e2))(u || {});
80
- var F = { merge: true, shallow: true, extend: true };
80
+ var W = { merge: true, shallow: true, extend: true };
81
81
  function L(e2, t = {}, n = {}) {
82
- n = { ...F, ...n };
82
+ n = { ...W, ...n };
83
83
  const o = Object.entries(t).reduce((t2, [o2, r]) => {
84
84
  const i = e2[o2];
85
85
  return n.merge && Array.isArray(i) && Array.isArray(r) ? t2[o2] = r.reduce((e3, t3) => e3.includes(t3) ? e3 : [...e3, t3], [...i]) : (n.extend || o2 in e2) && (t2[o2] = r), t2;
@@ -88,7 +88,7 @@ function L(e2, t = {}, n = {}) {
88
88
  }
89
89
  function fe(e2 = {}) {
90
90
  var _a;
91
- 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 });
91
+ 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.0", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
92
92
  if (e2.name) {
93
93
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
94
94
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -116,7 +116,7 @@ var simpleConversionId = {
116
116
  }
117
117
  }
118
118
  },
119
- out: ["lintrk", "track", { conversion_id: 12345 }]
119
+ out: [["lintrk", "track", { conversion_id: 12345 }]]
120
120
  };
121
121
  var orderCompleteFullConversion = {
122
122
  in: le("order complete", { timestamp: 1700000102 }),
@@ -133,14 +133,16 @@ var orderCompleteFullConversion = {
133
133
  }
134
134
  },
135
135
  out: [
136
- "lintrk",
137
- "track",
138
- {
139
- conversion_id: 67890,
140
- conversion_value: 555,
141
- currency: "EUR",
142
- event_id: "1700000102-gr0up-1"
143
- }
136
+ [
137
+ "lintrk",
138
+ "track",
139
+ {
140
+ conversion_id: 67890,
141
+ conversion_value: 555,
142
+ currency: "EUR",
143
+ event_id: "1700000102-gr0up-1"
144
+ }
145
+ ]
144
146
  ]
145
147
  };
146
148
  var pageViewConversion = {
@@ -156,12 +158,14 @@ var pageViewConversion = {
156
158
  }
157
159
  },
158
160
  out: [
159
- "lintrk",
160
- "track",
161
- {
162
- conversion_id: 11111,
163
- event_id: "1700000103-gr0up-1"
164
- }
161
+ [
162
+ "lintrk",
163
+ "track",
164
+ {
165
+ conversion_id: 11111,
166
+ event_id: "1700000103-gr0up-1"
167
+ }
168
+ ]
165
169
  ]
166
170
  };
167
171
  var demoRequestLead = {
@@ -177,12 +181,14 @@ var demoRequestLead = {
177
181
  }
178
182
  },
179
183
  out: [
180
- "lintrk",
181
- "track",
182
- {
183
- conversion_id: 44444,
184
- event_id: "1700000104-gr0up-1"
185
- }
184
+ [
185
+ "lintrk",
186
+ "track",
187
+ {
188
+ conversion_id: 44444,
189
+ event_id: "1700000104-gr0up-1"
190
+ }
191
+ ]
186
192
  ]
187
193
  };
188
194
  var conversionSkipped = {
@@ -226,12 +232,14 @@ var partialFieldsOmitted = {
226
232
  }
227
233
  },
228
234
  out: [
229
- "lintrk",
230
- "track",
231
- {
232
- conversion_id: 67890,
233
- event_id: "1700000107-gr0up-1"
234
- }
235
+ [
236
+ "lintrk",
237
+ "track",
238
+ {
239
+ conversion_id: 67890,
240
+ event_id: "1700000107-gr0up-1"
241
+ }
242
+ ]
235
243
  ]
236
244
  };
237
245
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$meta": {
3
3
  "package": "@walkeros/web-destination-linkedin",
4
- "version": "3.3.1",
4
+ "version": "3.4.0",
5
5
  "type": "destination",
6
6
  "platform": [
7
7
  "web"
@@ -141,7 +141,7 @@
141
141
  "group": "gr0up",
142
142
  "count": 1,
143
143
  "version": {
144
- "source": "3.3.1",
144
+ "source": "3.4.0",
145
145
  "tagging": 1
146
146
  },
147
147
  "source": {
@@ -221,7 +221,7 @@
221
221
  "group": "gr0up",
222
222
  "count": 1,
223
223
  "version": {
224
- "source": "3.3.1",
224
+ "source": "3.4.0",
225
225
  "tagging": 1
226
226
  },
227
227
  "source": {
@@ -243,12 +243,14 @@
243
243
  }
244
244
  },
245
245
  "out": [
246
- "lintrk",
247
- "track",
248
- {
249
- "conversion_id": 44444,
250
- "event_id": "1700000104-gr0up-1"
251
- }
246
+ [
247
+ "lintrk",
248
+ "track",
249
+ {
250
+ "conversion_id": 44444,
251
+ "event_id": "1700000104-gr0up-1"
252
+ }
253
+ ]
252
254
  ]
253
255
  },
254
256
  "missingConversionIdIgnored": {
@@ -308,7 +310,7 @@
308
310
  "group": "gr0up",
309
311
  "count": 1,
310
312
  "version": {
311
- "source": "3.3.1",
313
+ "source": "3.4.0",
312
314
  "tagging": 1
313
315
  },
314
316
  "source": {
@@ -415,7 +417,7 @@
415
417
  "group": "gr0up",
416
418
  "count": 1,
417
419
  "version": {
418
- "source": "3.3.1",
420
+ "source": "3.4.0",
419
421
  "tagging": 1
420
422
  },
421
423
  "source": {
@@ -442,14 +444,16 @@
442
444
  }
443
445
  },
444
446
  "out": [
445
- "lintrk",
446
- "track",
447
- {
448
- "conversion_id": 67890,
449
- "conversion_value": 555,
450
- "currency": "EUR",
451
- "event_id": "1700000102-gr0up-1"
452
- }
447
+ [
448
+ "lintrk",
449
+ "track",
450
+ {
451
+ "conversion_id": 67890,
452
+ "conversion_value": 555,
453
+ "currency": "EUR",
454
+ "event_id": "1700000102-gr0up-1"
455
+ }
456
+ ]
453
457
  ]
454
458
  },
455
459
  "pageViewConversion": {
@@ -507,7 +511,7 @@
507
511
  "group": "gr0up",
508
512
  "count": 1,
509
513
  "version": {
510
- "source": "3.3.1",
514
+ "source": "3.4.0",
511
515
  "tagging": 1
512
516
  },
513
517
  "source": {
@@ -529,12 +533,14 @@
529
533
  }
530
534
  },
531
535
  "out": [
532
- "lintrk",
533
- "track",
534
- {
535
- "conversion_id": 11111,
536
- "event_id": "1700000103-gr0up-1"
537
- }
536
+ [
537
+ "lintrk",
538
+ "track",
539
+ {
540
+ "conversion_id": 11111,
541
+ "event_id": "1700000103-gr0up-1"
542
+ }
543
+ ]
538
544
  ]
539
545
  },
540
546
  "partialFieldsOmitted": {
@@ -624,7 +630,7 @@
624
630
  "group": "gr0up",
625
631
  "count": 1,
626
632
  "version": {
627
- "source": "3.3.1",
633
+ "source": "3.4.0",
628
634
  "tagging": 1
629
635
  },
630
636
  "source": {
@@ -647,12 +653,14 @@
647
653
  }
648
654
  },
649
655
  "out": [
650
- "lintrk",
651
- "track",
652
- {
653
- "conversion_id": 67890,
654
- "event_id": "1700000107-gr0up-1"
655
- }
656
+ [
657
+ "lintrk",
658
+ "track",
659
+ {
660
+ "conversion_id": 67890,
661
+ "event_id": "1700000107-gr0up-1"
662
+ }
663
+ ]
656
664
  ]
657
665
  },
658
666
  "simpleConversionId": {
@@ -712,7 +720,7 @@
712
720
  "group": "gr0up",
713
721
  "count": 1,
714
722
  "version": {
715
- "source": "3.3.1",
723
+ "source": "3.4.0",
716
724
  "tagging": 1
717
725
  },
718
726
  "source": {
@@ -733,11 +741,13 @@
733
741
  }
734
742
  },
735
743
  "out": [
736
- "lintrk",
737
- "track",
738
- {
739
- "conversion_id": 12345
740
- }
744
+ [
745
+ "lintrk",
746
+ "track",
747
+ {
748
+ "conversion_id": 12345
749
+ }
750
+ ]
741
751
  ]
742
752
  },
743
753
  "unmappedEventIgnored": {
@@ -780,7 +790,7 @@
780
790
  "group": "gr0up",
781
791
  "count": 1,
782
792
  "version": {
783
- "source": "3.3.1",
793
+ "source": "3.4.0",
784
794
  "tagging": 1
785
795
  },
786
796
  "source": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@walkeros/web-destination-linkedin",
3
3
  "description": "LinkedIn Insight Tag web destination for walkerOS (conversion tracking, retargeting, demographic insights)",
4
- "version": "3.3.1",
4
+ "version": "3.4.0",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -37,10 +37,10 @@
37
37
  "update": "npx npm-check-updates -u && npm update"
38
38
  },
39
39
  "dependencies": {
40
- "@walkeros/web-core": "3.3.1"
40
+ "@walkeros/web-core": "3.4.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@walkeros/collector": "3.3.1"
43
+ "@walkeros/collector": "3.4.0"
44
44
  },
45
45
  "repository": {
46
46
  "url": "git+https://github.com/elbwalker/walkerOS.git",