@walkeros/server-destination-aws 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.
- 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.js +7 -1
- package/dist/examples/index.mjs +7 -1
- package/dist/schemas.js +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/walkerOS.json +25 -13
- package/package.json +2 -2
package/dist/examples/index.js
CHANGED
|
@@ -92,7 +92,7 @@ function L(e2, t = {}, n = {}) {
|
|
|
92
92
|
}
|
|
93
93
|
function fe(e2 = {}) {
|
|
94
94
|
var _a;
|
|
95
|
-
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.
|
|
95
|
+
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 });
|
|
96
96
|
if (e2.name) {
|
|
97
97
|
const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
|
|
98
98
|
t2 && n2 && (r.entity = t2, r.action = n2);
|
|
@@ -106,6 +106,8 @@ function le(e2 = "entity action", t = {}) {
|
|
|
106
106
|
|
|
107
107
|
// src/firehose/examples/step.ts
|
|
108
108
|
var firehoseRecord = {
|
|
109
|
+
title: "Page view record",
|
|
110
|
+
description: "A page view is sent to Kinesis Firehose as a single record with the full event JSON-stringified into the Data buffer.",
|
|
109
111
|
in: le("page view", {
|
|
110
112
|
timestamp: 1700001e3,
|
|
111
113
|
data: { title: "Home", url: "https://example.com/" },
|
|
@@ -135,6 +137,8 @@ var firehoseRecord = {
|
|
|
135
137
|
]
|
|
136
138
|
};
|
|
137
139
|
var orderEvent = {
|
|
140
|
+
title: "Order record",
|
|
141
|
+
description: "An order complete event is serialized and delivered to Firehose as a batch record for downstream storage.",
|
|
138
142
|
in: le("order complete", {
|
|
139
143
|
timestamp: 1700001001,
|
|
140
144
|
data: { id: "ORD-400", total: 99.99, currency: "EUR" },
|
|
@@ -164,6 +168,8 @@ var orderEvent = {
|
|
|
164
168
|
]
|
|
165
169
|
};
|
|
166
170
|
var userSignupEvent = {
|
|
171
|
+
title: "User signup record",
|
|
172
|
+
description: "A user signup event including user fields is streamed to Firehose as a JSON record.",
|
|
167
173
|
in: le("user signup", {
|
|
168
174
|
timestamp: 1700001002,
|
|
169
175
|
data: { plan: "pro", source: "landing-page" },
|
package/dist/examples/index.mjs
CHANGED
|
@@ -70,7 +70,7 @@ function L(e2, t = {}, n = {}) {
|
|
|
70
70
|
}
|
|
71
71
|
function fe(e2 = {}) {
|
|
72
72
|
var _a;
|
|
73
|
-
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.
|
|
73
|
+
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 });
|
|
74
74
|
if (e2.name) {
|
|
75
75
|
const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
|
|
76
76
|
t2 && n2 && (r.entity = t2, r.action = n2);
|
|
@@ -84,6 +84,8 @@ function le(e2 = "entity action", t = {}) {
|
|
|
84
84
|
|
|
85
85
|
// src/firehose/examples/step.ts
|
|
86
86
|
var firehoseRecord = {
|
|
87
|
+
title: "Page view record",
|
|
88
|
+
description: "A page view is sent to Kinesis Firehose as a single record with the full event JSON-stringified into the Data buffer.",
|
|
87
89
|
in: le("page view", {
|
|
88
90
|
timestamp: 1700001e3,
|
|
89
91
|
data: { title: "Home", url: "https://example.com/" },
|
|
@@ -113,6 +115,8 @@ var firehoseRecord = {
|
|
|
113
115
|
]
|
|
114
116
|
};
|
|
115
117
|
var orderEvent = {
|
|
118
|
+
title: "Order record",
|
|
119
|
+
description: "An order complete event is serialized and delivered to Firehose as a batch record for downstream storage.",
|
|
116
120
|
in: le("order complete", {
|
|
117
121
|
timestamp: 1700001001,
|
|
118
122
|
data: { id: "ORD-400", total: 99.99, currency: "EUR" },
|
|
@@ -142,6 +146,8 @@ var orderEvent = {
|
|
|
142
146
|
]
|
|
143
147
|
};
|
|
144
148
|
var userSignupEvent = {
|
|
149
|
+
title: "User signup record",
|
|
150
|
+
description: "A user signup event including user fields is streamed to Firehose as a JSON record.",
|
|
145
151
|
in: le("user signup", {
|
|
146
152
|
timestamp: 1700001002,
|
|
147
153
|
data: { plan: "pro", source: "landing-page" },
|