@walkeros/web-destination-fullstory 3.4.0 → 3.4.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.
@@ -99,7 +99,7 @@ function L(e2, t = {}, n = {}) {
99
99
  }
100
100
  function fe(e2 = {}) {
101
101
  var _a;
102
- 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 });
102
+ 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 });
103
103
  if (e2.name) {
104
104
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
105
105
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -113,15 +113,20 @@ function le(e2 = "entity action", t = {}) {
113
113
 
114
114
  // src/examples/step.ts
115
115
  var defaultEventForwarding = {
116
+ title: "Default event",
117
+ description: "A walker event becomes a FullStory trackEvent call with the event name and empty properties.",
116
118
  in: le("product view", { timestamp: 1700000100 }),
117
119
  out: [["fullstory.trackEvent", { name: "product view", properties: {} }]]
118
120
  };
119
121
  var wildcardIgnored = {
122
+ public: false,
120
123
  in: le("debug noise", { timestamp: 1700000101 }),
121
124
  mapping: { ignore: true },
122
125
  out: []
123
126
  };
124
127
  var mappedEventName = {
128
+ title: "Renamed event",
129
+ description: "A mapping renames the event so the FullStory trackEvent uses Purchase instead of the walker name.",
125
130
  in: le("order complete", { timestamp: 1700000102 }),
126
131
  mapping: {
127
132
  name: "Purchase"
@@ -129,6 +134,8 @@ var mappedEventName = {
129
134
  out: [["fullstory.trackEvent", { name: "Purchase", properties: {} }]]
130
135
  };
131
136
  var userLoginIdentify = {
137
+ title: "User login identify",
138
+ description: "A user login fires FullStory setIdentity with uid and profile properties before tracking the event.",
132
139
  in: le("user login", {
133
140
  timestamp: 1700000103,
134
141
  data: { id: "u-123", name: "Jane Doe", email: "jane@example.com" }
@@ -160,6 +167,8 @@ var userLoginIdentify = {
160
167
  ]
161
168
  };
162
169
  var destinationLevelIdentify = {
170
+ title: "Destination identify",
171
+ description: "Destination-level identify fires FullStory setIdentity with the user id before every track call.",
163
172
  in: le("page view", { timestamp: 1700000104 }),
164
173
  settings: {
165
174
  identify: {
@@ -174,6 +183,8 @@ var destinationLevelIdentify = {
174
183
  ]
175
184
  };
176
185
  var setUserProperties = {
186
+ title: "Set user properties",
187
+ description: "A purchase sets user-level FullStory properties such as revenue and currency alongside the tracked event.",
177
188
  in: le("order complete", { timestamp: 1700000105 }),
178
189
  mapping: {
179
190
  name: "Purchase",
@@ -195,6 +206,8 @@ var setUserProperties = {
195
206
  ]
196
207
  };
197
208
  var setPageProperties = {
209
+ title: "Set page properties",
210
+ description: "A page view sets FullStory page-type properties without firing a track, since FullStory auto-captures navigation.",
198
211
  in: le("page view", {
199
212
  timestamp: 1700000106,
200
213
  data: { id: "/docs/", title: "Getting Started" }
@@ -218,6 +231,8 @@ var setPageProperties = {
218
231
  ]
219
232
  };
220
233
  var combinedFeatures = {
234
+ title: "Combined features",
235
+ description: "A purchase fires FullStory setIdentity, setProperties, and trackEvent in the canonical execution order.",
221
236
  in: le("order complete", { timestamp: 1700000107 }),
222
237
  mapping: {
223
238
  name: "Purchase",
@@ -236,6 +251,7 @@ var combinedFeatures = {
236
251
  ]
237
252
  };
238
253
  var skipWithIdentify = {
254
+ public: false,
239
255
  in: le("user login", {
240
256
  timestamp: 1700000108,
241
257
  data: { id: "u-123", name: "Jane Doe" }
@@ -263,6 +279,8 @@ var skipWithIdentify = {
263
279
  ]
264
280
  };
265
281
  var consentGrantCapture = {
282
+ title: "Start capture",
283
+ description: "A walker consent grant for analytics calls FullStory start to resume session recording.",
266
284
  command: "consent",
267
285
  in: { analytics: true },
268
286
  settings: {
@@ -273,6 +291,8 @@ var consentGrantCapture = {
273
291
  out: [["fullstory.start"]]
274
292
  };
275
293
  var consentRevokeCapture = {
294
+ title: "Shutdown capture",
295
+ description: "A walker consent revoke for analytics calls FullStory shutdown to stop session recording.",
276
296
  command: "consent",
277
297
  in: { analytics: false },
278
298
  settings: {
@@ -283,6 +303,8 @@ var consentRevokeCapture = {
283
303
  out: [["fullstory.shutdown"]]
284
304
  };
285
305
  var consentGrantFlag = {
306
+ title: "Consent flag granted",
307
+ description: "A walker consent grant with action consent sets the FullStory identity consent flag to true.",
286
308
  command: "consent",
287
309
  in: { marketing: true },
288
310
  settings: {
@@ -293,6 +315,8 @@ var consentGrantFlag = {
293
315
  out: [["fullstory.setIdentity", { consent: true }]]
294
316
  };
295
317
  var consentRevokeFlag = {
318
+ title: "Consent flag revoked",
319
+ description: "A walker consent revoke with action consent sets the FullStory identity consent flag to false.",
296
320
  command: "consent",
297
321
  in: { marketing: false },
298
322
  settings: {
@@ -78,7 +78,7 @@ function L(e2, t = {}, n = {}) {
78
78
  }
79
79
  function fe(e2 = {}) {
80
80
  var _a;
81
- 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 });
81
+ 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 });
82
82
  if (e2.name) {
83
83
  const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
84
84
  t2 && n2 && (r.entity = t2, r.action = n2);
@@ -92,15 +92,20 @@ function le(e2 = "entity action", t = {}) {
92
92
 
93
93
  // src/examples/step.ts
94
94
  var defaultEventForwarding = {
95
+ title: "Default event",
96
+ description: "A walker event becomes a FullStory trackEvent call with the event name and empty properties.",
95
97
  in: le("product view", { timestamp: 1700000100 }),
96
98
  out: [["fullstory.trackEvent", { name: "product view", properties: {} }]]
97
99
  };
98
100
  var wildcardIgnored = {
101
+ public: false,
99
102
  in: le("debug noise", { timestamp: 1700000101 }),
100
103
  mapping: { ignore: true },
101
104
  out: []
102
105
  };
103
106
  var mappedEventName = {
107
+ title: "Renamed event",
108
+ description: "A mapping renames the event so the FullStory trackEvent uses Purchase instead of the walker name.",
104
109
  in: le("order complete", { timestamp: 1700000102 }),
105
110
  mapping: {
106
111
  name: "Purchase"
@@ -108,6 +113,8 @@ var mappedEventName = {
108
113
  out: [["fullstory.trackEvent", { name: "Purchase", properties: {} }]]
109
114
  };
110
115
  var userLoginIdentify = {
116
+ title: "User login identify",
117
+ description: "A user login fires FullStory setIdentity with uid and profile properties before tracking the event.",
111
118
  in: le("user login", {
112
119
  timestamp: 1700000103,
113
120
  data: { id: "u-123", name: "Jane Doe", email: "jane@example.com" }
@@ -139,6 +146,8 @@ var userLoginIdentify = {
139
146
  ]
140
147
  };
141
148
  var destinationLevelIdentify = {
149
+ title: "Destination identify",
150
+ description: "Destination-level identify fires FullStory setIdentity with the user id before every track call.",
142
151
  in: le("page view", { timestamp: 1700000104 }),
143
152
  settings: {
144
153
  identify: {
@@ -153,6 +162,8 @@ var destinationLevelIdentify = {
153
162
  ]
154
163
  };
155
164
  var setUserProperties = {
165
+ title: "Set user properties",
166
+ description: "A purchase sets user-level FullStory properties such as revenue and currency alongside the tracked event.",
156
167
  in: le("order complete", { timestamp: 1700000105 }),
157
168
  mapping: {
158
169
  name: "Purchase",
@@ -174,6 +185,8 @@ var setUserProperties = {
174
185
  ]
175
186
  };
176
187
  var setPageProperties = {
188
+ title: "Set page properties",
189
+ description: "A page view sets FullStory page-type properties without firing a track, since FullStory auto-captures navigation.",
177
190
  in: le("page view", {
178
191
  timestamp: 1700000106,
179
192
  data: { id: "/docs/", title: "Getting Started" }
@@ -197,6 +210,8 @@ var setPageProperties = {
197
210
  ]
198
211
  };
199
212
  var combinedFeatures = {
213
+ title: "Combined features",
214
+ description: "A purchase fires FullStory setIdentity, setProperties, and trackEvent in the canonical execution order.",
200
215
  in: le("order complete", { timestamp: 1700000107 }),
201
216
  mapping: {
202
217
  name: "Purchase",
@@ -215,6 +230,7 @@ var combinedFeatures = {
215
230
  ]
216
231
  };
217
232
  var skipWithIdentify = {
233
+ public: false,
218
234
  in: le("user login", {
219
235
  timestamp: 1700000108,
220
236
  data: { id: "u-123", name: "Jane Doe" }
@@ -242,6 +258,8 @@ var skipWithIdentify = {
242
258
  ]
243
259
  };
244
260
  var consentGrantCapture = {
261
+ title: "Start capture",
262
+ description: "A walker consent grant for analytics calls FullStory start to resume session recording.",
245
263
  command: "consent",
246
264
  in: { analytics: true },
247
265
  settings: {
@@ -252,6 +270,8 @@ var consentGrantCapture = {
252
270
  out: [["fullstory.start"]]
253
271
  };
254
272
  var consentRevokeCapture = {
273
+ title: "Shutdown capture",
274
+ description: "A walker consent revoke for analytics calls FullStory shutdown to stop session recording.",
255
275
  command: "consent",
256
276
  in: { analytics: false },
257
277
  settings: {
@@ -262,6 +282,8 @@ var consentRevokeCapture = {
262
282
  out: [["fullstory.shutdown"]]
263
283
  };
264
284
  var consentGrantFlag = {
285
+ title: "Consent flag granted",
286
+ description: "A walker consent grant with action consent sets the FullStory identity consent flag to true.",
265
287
  command: "consent",
266
288
  in: { marketing: true },
267
289
  settings: {
@@ -272,6 +294,8 @@ var consentGrantFlag = {
272
294
  out: [["fullstory.setIdentity", { consent: true }]]
273
295
  };
274
296
  var consentRevokeFlag = {
297
+ title: "Consent flag revoked",
298
+ description: "A walker consent revoke with action consent sets the FullStory identity consent flag to false.",
275
299
  command: "consent",
276
300
  in: { marketing: false },
277
301
  settings: {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$meta": {
3
3
  "package": "@walkeros/web-destination-fullstory",
4
- "version": "3.4.0",
4
+ "version": "3.4.1",
5
5
  "type": "destination",
6
6
  "platform": [
7
7
  "web"
@@ -153,6 +153,8 @@
153
153
  },
154
154
  "step": {
155
155
  "combinedFeatures": {
156
+ "title": "Combined features",
157
+ "description": "A purchase fires FullStory setIdentity, setProperties, and trackEvent in the canonical execution order.",
156
158
  "in": {
157
159
  "name": "order complete",
158
160
  "data": {
@@ -239,7 +241,7 @@
239
241
  "group": "gr0up",
240
242
  "count": 1,
241
243
  "version": {
242
- "source": "3.4.0",
244
+ "source": "3.4.1",
243
245
  "tagging": 1
244
246
  },
245
247
  "source": {
@@ -289,6 +291,8 @@
289
291
  ]
290
292
  },
291
293
  "consentGrantCapture": {
294
+ "title": "Start capture",
295
+ "description": "A walker consent grant for analytics calls FullStory start to resume session recording.",
292
296
  "command": "consent",
293
297
  "in": {
294
298
  "analytics": true
@@ -305,6 +309,8 @@
305
309
  ]
306
310
  },
307
311
  "consentGrantFlag": {
312
+ "title": "Consent flag granted",
313
+ "description": "A walker consent grant with action consent sets the FullStory identity consent flag to true.",
308
314
  "command": "consent",
309
315
  "in": {
310
316
  "marketing": true
@@ -324,6 +330,8 @@
324
330
  ]
325
331
  },
326
332
  "consentRevokeCapture": {
333
+ "title": "Shutdown capture",
334
+ "description": "A walker consent revoke for analytics calls FullStory shutdown to stop session recording.",
327
335
  "command": "consent",
328
336
  "in": {
329
337
  "analytics": false
@@ -340,6 +348,8 @@
340
348
  ]
341
349
  },
342
350
  "consentRevokeFlag": {
351
+ "title": "Consent flag revoked",
352
+ "description": "A walker consent revoke with action consent sets the FullStory identity consent flag to false.",
343
353
  "command": "consent",
344
354
  "in": {
345
355
  "marketing": false
@@ -359,6 +369,8 @@
359
369
  ]
360
370
  },
361
371
  "defaultEventForwarding": {
372
+ "title": "Default event",
373
+ "description": "A walker event becomes a FullStory trackEvent call with the event name and empty properties.",
362
374
  "in": {
363
375
  "name": "product view",
364
376
  "data": {
@@ -398,7 +410,7 @@
398
410
  "group": "gr0up",
399
411
  "count": 1,
400
412
  "version": {
401
- "source": "3.4.0",
413
+ "source": "3.4.1",
402
414
  "tagging": 1
403
415
  },
404
416
  "source": {
@@ -418,6 +430,8 @@
418
430
  ]
419
431
  },
420
432
  "destinationLevelIdentify": {
433
+ "title": "Destination identify",
434
+ "description": "Destination-level identify fires FullStory setIdentity with the user id before every track call.",
421
435
  "in": {
422
436
  "name": "page view",
423
437
  "data": {
@@ -472,7 +486,7 @@
472
486
  "group": "gr0up",
473
487
  "count": 1,
474
488
  "version": {
475
- "source": "3.4.0",
489
+ "source": "3.4.1",
476
490
  "tagging": 1
477
491
  },
478
492
  "source": {
@@ -505,6 +519,8 @@
505
519
  ]
506
520
  },
507
521
  "mappedEventName": {
522
+ "title": "Renamed event",
523
+ "description": "A mapping renames the event so the FullStory trackEvent uses Purchase instead of the walker name.",
508
524
  "in": {
509
525
  "name": "order complete",
510
526
  "data": {
@@ -591,7 +607,7 @@
591
607
  "group": "gr0up",
592
608
  "count": 1,
593
609
  "version": {
594
- "source": "3.4.0",
610
+ "source": "3.4.1",
595
611
  "tagging": 1
596
612
  },
597
613
  "source": {
@@ -614,6 +630,8 @@
614
630
  ]
615
631
  },
616
632
  "setPageProperties": {
633
+ "title": "Set page properties",
634
+ "description": "A page view sets FullStory page-type properties without firing a track, since FullStory auto-captures navigation.",
617
635
  "in": {
618
636
  "name": "page view",
619
637
  "data": {
@@ -664,7 +682,7 @@
664
682
  "group": "gr0up",
665
683
  "count": 1,
666
684
  "version": {
667
- "source": "3.4.0",
685
+ "source": "3.4.1",
668
686
  "tagging": 1
669
687
  },
670
688
  "source": {
@@ -697,6 +715,8 @@
697
715
  ]
698
716
  },
699
717
  "setUserProperties": {
718
+ "title": "Set user properties",
719
+ "description": "A purchase sets user-level FullStory properties such as revenue and currency alongside the tracked event.",
700
720
  "in": {
701
721
  "name": "order complete",
702
722
  "data": {
@@ -783,7 +803,7 @@
783
803
  "group": "gr0up",
784
804
  "count": 1,
785
805
  "version": {
786
- "source": "3.4.0",
806
+ "source": "3.4.1",
787
807
  "tagging": 1
788
808
  },
789
809
  "source": {
@@ -824,6 +844,7 @@
824
844
  ]
825
845
  },
826
846
  "skipWithIdentify": {
847
+ "public": false,
827
848
  "in": {
828
849
  "name": "user login",
829
850
  "data": {
@@ -874,7 +895,7 @@
874
895
  "group": "gr0up",
875
896
  "count": 1,
876
897
  "version": {
877
- "source": "3.4.0",
898
+ "source": "3.4.1",
878
899
  "tagging": 1
879
900
  },
880
901
  "source": {
@@ -911,6 +932,8 @@
911
932
  ]
912
933
  },
913
934
  "userLoginIdentify": {
935
+ "title": "User login identify",
936
+ "description": "A user login fires FullStory setIdentity with uid and profile properties before tracking the event.",
914
937
  "in": {
915
938
  "name": "user login",
916
939
  "data": {
@@ -962,7 +985,7 @@
962
985
  "group": "gr0up",
963
986
  "count": 1,
964
987
  "version": {
965
- "source": "3.4.0",
988
+ "source": "3.4.1",
966
989
  "tagging": 1
967
990
  },
968
991
  "source": {
@@ -1007,6 +1030,7 @@
1007
1030
  ]
1008
1031
  },
1009
1032
  "wildcardIgnored": {
1033
+ "public": false,
1010
1034
  "in": {
1011
1035
  "name": "debug noise",
1012
1036
  "data": {
@@ -1063,7 +1087,7 @@
1063
1087
  "group": "gr0up",
1064
1088
  "count": 1,
1065
1089
  "version": {
1066
- "source": "3.4.0",
1090
+ "source": "3.4.1",
1067
1091
  "tagging": 1
1068
1092
  },
1069
1093
  "source": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@walkeros/web-destination-fullstory",
3
3
  "description": "FullStory web destination for walkerOS (session replay, custom events, user/page properties)",
4
- "version": "3.4.0",
4
+ "version": "3.4.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
  "@fullstory/browser": "^2.0.8",
41
- "@walkeros/web-core": "3.4.0"
41
+ "@walkeros/web-core": "3.4.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@walkeros/collector": "3.4.0"
44
+ "@walkeros/collector": "3.4.1"
45
45
  },
46
46
  "repository": {
47
47
  "url": "git+https://github.com/elbwalker/walkerOS.git",