@walkeros/server-destination-aws 2.0.0 → 2.1.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.
- package/dist/dev.d.mts +14 -2
- package/dist/dev.d.ts +14 -2
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/examples/index.d.mts +13 -2
- package/dist/examples/index.d.ts +13 -2
- package/dist/examples/index.js +84 -3
- package/dist/examples/index.mjs +82 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/schemas.js +1 -1
- package/dist/schemas.js.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/schemas.mjs.map +1 -1
- package/dist/walkerOS.json +349 -1
- package/package.json +2 -2
package/dist/walkerOS.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$meta": {
|
|
3
3
|
"package": "@walkeros/server-destination-aws",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"type": "destination",
|
|
6
6
|
"platform": "server"
|
|
7
7
|
},
|
|
@@ -101,6 +101,354 @@
|
|
|
101
101
|
"simulation": [
|
|
102
102
|
"AWS.FirehoseClient"
|
|
103
103
|
]
|
|
104
|
+
},
|
|
105
|
+
"step": {
|
|
106
|
+
"firehoseRecord": {
|
|
107
|
+
"in": {
|
|
108
|
+
"name": "page view",
|
|
109
|
+
"data": {
|
|
110
|
+
"title": "Home",
|
|
111
|
+
"url": "https://example.com/"
|
|
112
|
+
},
|
|
113
|
+
"context": {
|
|
114
|
+
"dev": [
|
|
115
|
+
"test",
|
|
116
|
+
1
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"globals": {
|
|
120
|
+
"pagegroup": "docs"
|
|
121
|
+
},
|
|
122
|
+
"custom": {
|
|
123
|
+
"completely": "random"
|
|
124
|
+
},
|
|
125
|
+
"user": {
|
|
126
|
+
"id": "us3r",
|
|
127
|
+
"device": "c00k13",
|
|
128
|
+
"session": "s3ss10n"
|
|
129
|
+
},
|
|
130
|
+
"nested": [
|
|
131
|
+
{
|
|
132
|
+
"entity": "child",
|
|
133
|
+
"data": {
|
|
134
|
+
"is": "subordinated"
|
|
135
|
+
},
|
|
136
|
+
"nested": [],
|
|
137
|
+
"context": {
|
|
138
|
+
"element": [
|
|
139
|
+
"child",
|
|
140
|
+
0
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"consent": {
|
|
146
|
+
"functional": true
|
|
147
|
+
},
|
|
148
|
+
"id": "1700001000-gr0up-1",
|
|
149
|
+
"trigger": "load",
|
|
150
|
+
"entity": "page",
|
|
151
|
+
"action": "view",
|
|
152
|
+
"timestamp": 1700001000,
|
|
153
|
+
"timing": 3.14,
|
|
154
|
+
"group": "gr0up",
|
|
155
|
+
"count": 1,
|
|
156
|
+
"version": {
|
|
157
|
+
"source": "2.0.1",
|
|
158
|
+
"tagging": 1
|
|
159
|
+
},
|
|
160
|
+
"source": {
|
|
161
|
+
"type": "server",
|
|
162
|
+
"id": "",
|
|
163
|
+
"previous_id": ""
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"out": {
|
|
167
|
+
"DeliveryStreamName": "walkeros-events",
|
|
168
|
+
"Records": [
|
|
169
|
+
{
|
|
170
|
+
"Data": "{\"title\":\"Home\",\"url\":\"https://example.com/\"}"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"orderEvent": {
|
|
176
|
+
"in": {
|
|
177
|
+
"name": "order complete",
|
|
178
|
+
"data": {
|
|
179
|
+
"id": "ORD-400",
|
|
180
|
+
"total": 99.99,
|
|
181
|
+
"currency": "EUR"
|
|
182
|
+
},
|
|
183
|
+
"context": {
|
|
184
|
+
"shopping": [
|
|
185
|
+
"complete",
|
|
186
|
+
0
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"globals": {
|
|
190
|
+
"pagegroup": "shop"
|
|
191
|
+
},
|
|
192
|
+
"custom": {
|
|
193
|
+
"completely": "random"
|
|
194
|
+
},
|
|
195
|
+
"user": {
|
|
196
|
+
"id": "us3r",
|
|
197
|
+
"device": "c00k13",
|
|
198
|
+
"session": "s3ss10n"
|
|
199
|
+
},
|
|
200
|
+
"nested": [
|
|
201
|
+
{
|
|
202
|
+
"entity": "product",
|
|
203
|
+
"data": {
|
|
204
|
+
"id": "ers",
|
|
205
|
+
"name": "Everyday Ruck Snack",
|
|
206
|
+
"color": "black",
|
|
207
|
+
"size": "l",
|
|
208
|
+
"price": 420
|
|
209
|
+
},
|
|
210
|
+
"context": {
|
|
211
|
+
"shopping": [
|
|
212
|
+
"complete",
|
|
213
|
+
0
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"nested": []
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"entity": "product",
|
|
220
|
+
"data": {
|
|
221
|
+
"id": "cc",
|
|
222
|
+
"name": "Cool Cap",
|
|
223
|
+
"size": "one size",
|
|
224
|
+
"price": 42
|
|
225
|
+
},
|
|
226
|
+
"context": {
|
|
227
|
+
"shopping": [
|
|
228
|
+
"complete",
|
|
229
|
+
0
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"nested": []
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"entity": "gift",
|
|
236
|
+
"data": {
|
|
237
|
+
"name": "Surprise"
|
|
238
|
+
},
|
|
239
|
+
"context": {
|
|
240
|
+
"shopping": [
|
|
241
|
+
"complete",
|
|
242
|
+
0
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
"nested": []
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"consent": {
|
|
249
|
+
"functional": true
|
|
250
|
+
},
|
|
251
|
+
"id": "1700001001-gr0up-1",
|
|
252
|
+
"trigger": "load",
|
|
253
|
+
"entity": "order",
|
|
254
|
+
"action": "complete",
|
|
255
|
+
"timestamp": 1700001001,
|
|
256
|
+
"timing": 3.14,
|
|
257
|
+
"group": "gr0up",
|
|
258
|
+
"count": 1,
|
|
259
|
+
"version": {
|
|
260
|
+
"source": "2.0.1",
|
|
261
|
+
"tagging": 1
|
|
262
|
+
},
|
|
263
|
+
"source": {
|
|
264
|
+
"type": "server",
|
|
265
|
+
"id": "",
|
|
266
|
+
"previous_id": ""
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"out": {
|
|
270
|
+
"DeliveryStreamName": "walkeros-events",
|
|
271
|
+
"Records": [
|
|
272
|
+
{
|
|
273
|
+
"Data": "{\"id\":\"ORD-400\",\"total\":99.99,\"currency\":\"EUR\"}"
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"step": {
|
|
281
|
+
"firehoseRecord": {
|
|
282
|
+
"in": {
|
|
283
|
+
"name": "page view",
|
|
284
|
+
"data": {
|
|
285
|
+
"title": "Home",
|
|
286
|
+
"url": "https://example.com/"
|
|
287
|
+
},
|
|
288
|
+
"context": {
|
|
289
|
+
"dev": [
|
|
290
|
+
"test",
|
|
291
|
+
1
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
"globals": {
|
|
295
|
+
"pagegroup": "docs"
|
|
296
|
+
},
|
|
297
|
+
"custom": {
|
|
298
|
+
"completely": "random"
|
|
299
|
+
},
|
|
300
|
+
"user": {
|
|
301
|
+
"id": "us3r",
|
|
302
|
+
"device": "c00k13",
|
|
303
|
+
"session": "s3ss10n"
|
|
304
|
+
},
|
|
305
|
+
"nested": [
|
|
306
|
+
{
|
|
307
|
+
"entity": "child",
|
|
308
|
+
"data": {
|
|
309
|
+
"is": "subordinated"
|
|
310
|
+
},
|
|
311
|
+
"nested": [],
|
|
312
|
+
"context": {
|
|
313
|
+
"element": [
|
|
314
|
+
"child",
|
|
315
|
+
0
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
],
|
|
320
|
+
"consent": {
|
|
321
|
+
"functional": true
|
|
322
|
+
},
|
|
323
|
+
"id": "1700001000-gr0up-1",
|
|
324
|
+
"trigger": "load",
|
|
325
|
+
"entity": "page",
|
|
326
|
+
"action": "view",
|
|
327
|
+
"timestamp": 1700001000,
|
|
328
|
+
"timing": 3.14,
|
|
329
|
+
"group": "gr0up",
|
|
330
|
+
"count": 1,
|
|
331
|
+
"version": {
|
|
332
|
+
"source": "2.0.1",
|
|
333
|
+
"tagging": 1
|
|
334
|
+
},
|
|
335
|
+
"source": {
|
|
336
|
+
"type": "server",
|
|
337
|
+
"id": "",
|
|
338
|
+
"previous_id": ""
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"out": {
|
|
342
|
+
"DeliveryStreamName": "walkeros-events",
|
|
343
|
+
"Records": [
|
|
344
|
+
{
|
|
345
|
+
"Data": "{\"title\":\"Home\",\"url\":\"https://example.com/\"}"
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"orderEvent": {
|
|
351
|
+
"in": {
|
|
352
|
+
"name": "order complete",
|
|
353
|
+
"data": {
|
|
354
|
+
"id": "ORD-400",
|
|
355
|
+
"total": 99.99,
|
|
356
|
+
"currency": "EUR"
|
|
357
|
+
},
|
|
358
|
+
"context": {
|
|
359
|
+
"shopping": [
|
|
360
|
+
"complete",
|
|
361
|
+
0
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
"globals": {
|
|
365
|
+
"pagegroup": "shop"
|
|
366
|
+
},
|
|
367
|
+
"custom": {
|
|
368
|
+
"completely": "random"
|
|
369
|
+
},
|
|
370
|
+
"user": {
|
|
371
|
+
"id": "us3r",
|
|
372
|
+
"device": "c00k13",
|
|
373
|
+
"session": "s3ss10n"
|
|
374
|
+
},
|
|
375
|
+
"nested": [
|
|
376
|
+
{
|
|
377
|
+
"entity": "product",
|
|
378
|
+
"data": {
|
|
379
|
+
"id": "ers",
|
|
380
|
+
"name": "Everyday Ruck Snack",
|
|
381
|
+
"color": "black",
|
|
382
|
+
"size": "l",
|
|
383
|
+
"price": 420
|
|
384
|
+
},
|
|
385
|
+
"context": {
|
|
386
|
+
"shopping": [
|
|
387
|
+
"complete",
|
|
388
|
+
0
|
|
389
|
+
]
|
|
390
|
+
},
|
|
391
|
+
"nested": []
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"entity": "product",
|
|
395
|
+
"data": {
|
|
396
|
+
"id": "cc",
|
|
397
|
+
"name": "Cool Cap",
|
|
398
|
+
"size": "one size",
|
|
399
|
+
"price": 42
|
|
400
|
+
},
|
|
401
|
+
"context": {
|
|
402
|
+
"shopping": [
|
|
403
|
+
"complete",
|
|
404
|
+
0
|
|
405
|
+
]
|
|
406
|
+
},
|
|
407
|
+
"nested": []
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"entity": "gift",
|
|
411
|
+
"data": {
|
|
412
|
+
"name": "Surprise"
|
|
413
|
+
},
|
|
414
|
+
"context": {
|
|
415
|
+
"shopping": [
|
|
416
|
+
"complete",
|
|
417
|
+
0
|
|
418
|
+
]
|
|
419
|
+
},
|
|
420
|
+
"nested": []
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
"consent": {
|
|
424
|
+
"functional": true
|
|
425
|
+
},
|
|
426
|
+
"id": "1700001001-gr0up-1",
|
|
427
|
+
"trigger": "load",
|
|
428
|
+
"entity": "order",
|
|
429
|
+
"action": "complete",
|
|
430
|
+
"timestamp": 1700001001,
|
|
431
|
+
"timing": 3.14,
|
|
432
|
+
"group": "gr0up",
|
|
433
|
+
"count": 1,
|
|
434
|
+
"version": {
|
|
435
|
+
"source": "2.0.1",
|
|
436
|
+
"tagging": 1
|
|
437
|
+
},
|
|
438
|
+
"source": {
|
|
439
|
+
"type": "server",
|
|
440
|
+
"id": "",
|
|
441
|
+
"previous_id": ""
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"out": {
|
|
445
|
+
"DeliveryStreamName": "walkeros-events",
|
|
446
|
+
"Records": [
|
|
447
|
+
{
|
|
448
|
+
"Data": "{\"id\":\"ORD-400\",\"total\":99.99,\"currency\":\"EUR\"}"
|
|
449
|
+
}
|
|
450
|
+
]
|
|
451
|
+
}
|
|
104
452
|
}
|
|
105
453
|
}
|
|
106
454
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/server-destination-aws",
|
|
3
3
|
"description": "AWS server destination for walkerOS",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@aws-sdk/client-firehose": "^3.952.0",
|
|
37
|
-
"@walkeros/server-core": "^2.
|
|
37
|
+
"@walkeros/server-core": "^2.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {},
|
|
40
40
|
"repository": {
|