@walkeros/server-destination-gcp 2.0.1 → 2.1.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$meta": {
3
3
  "package": "@walkeros/server-destination-gcp",
4
- "version": "2.0.0",
4
+ "version": "2.1.0",
5
5
  "type": "destination",
6
6
  "platform": "server"
7
7
  },
@@ -58,12 +58,184 @@
58
58
  "env": {
59
59
  "push": {
60
60
  "BigQuery": {
61
- "$code": "class{constructor(e){this.options=e,this.calls=[]}dataset(e){return this.calls.push({method:\"dataset\",args:[e]}),this}table(e){return this.calls.push({method:\"table\",args:[e]}),this}async insert(e){return this.calls.push({method:\"insert\",args:[e]}),Promise.resolve()}get mockFn(){return Dg}}"
61
+ "$code": "class{constructor(e){this.options=e,this.calls=[]}dataset(e){return this.calls.push({method:\"dataset\",args:[e]}),this}table(e){return this.calls.push({method:\"table\",args:[e]}),this}async insert(e){return this.calls.push({method:\"insert\",args:[e]}),Promise.resolve()}get mockFn(){return Xg}}"
62
62
  }
63
63
  },
64
64
  "simulation": [
65
65
  "BigQuery"
66
66
  ]
67
+ },
68
+ "step": {
69
+ "pageView": {
70
+ "in": {
71
+ "name": "page view",
72
+ "data": {
73
+ "title": "Documentation",
74
+ "url": "https://example.com/docs"
75
+ },
76
+ "context": {
77
+ "dev": [
78
+ "test",
79
+ 1
80
+ ]
81
+ },
82
+ "globals": {
83
+ "pagegroup": "docs"
84
+ },
85
+ "custom": {
86
+ "completely": "random"
87
+ },
88
+ "user": {
89
+ "id": "us3r",
90
+ "device": "c00k13",
91
+ "session": "s3ss10n"
92
+ },
93
+ "nested": [
94
+ {
95
+ "entity": "child",
96
+ "data": {
97
+ "is": "subordinated"
98
+ },
99
+ "nested": [],
100
+ "context": {
101
+ "element": [
102
+ "child",
103
+ 0
104
+ ]
105
+ }
106
+ }
107
+ ],
108
+ "consent": {
109
+ "functional": true
110
+ },
111
+ "id": "1700001100-gr0up-1",
112
+ "trigger": "load",
113
+ "entity": "page",
114
+ "action": "view",
115
+ "timestamp": 1700001100,
116
+ "timing": 3.14,
117
+ "group": "gr0up",
118
+ "count": 1,
119
+ "version": {
120
+ "source": "2.1.0",
121
+ "tagging": 1
122
+ },
123
+ "source": {
124
+ "type": "server",
125
+ "id": "",
126
+ "previous_id": ""
127
+ }
128
+ },
129
+ "out": {
130
+ "title": "Documentation",
131
+ "url": "https://example.com/docs"
132
+ }
133
+ },
134
+ "purchase": {
135
+ "in": {
136
+ "name": "order complete",
137
+ "data": {
138
+ "id": "ORD-500",
139
+ "total": 199.99,
140
+ "items": [
141
+ {
142
+ "sku": "SKU-1",
143
+ "qty": 2
144
+ }
145
+ ]
146
+ },
147
+ "context": {
148
+ "shopping": [
149
+ "complete",
150
+ 0
151
+ ]
152
+ },
153
+ "globals": {
154
+ "pagegroup": "shop"
155
+ },
156
+ "custom": {
157
+ "completely": "random"
158
+ },
159
+ "user": {
160
+ "id": "us3r",
161
+ "device": "c00k13",
162
+ "session": "s3ss10n"
163
+ },
164
+ "nested": [
165
+ {
166
+ "entity": "product",
167
+ "data": {
168
+ "id": "ers",
169
+ "name": "Everyday Ruck Snack",
170
+ "color": "black",
171
+ "size": "l",
172
+ "price": 420
173
+ },
174
+ "context": {
175
+ "shopping": [
176
+ "complete",
177
+ 0
178
+ ]
179
+ },
180
+ "nested": []
181
+ },
182
+ {
183
+ "entity": "product",
184
+ "data": {
185
+ "id": "cc",
186
+ "name": "Cool Cap",
187
+ "size": "one size",
188
+ "price": 42
189
+ },
190
+ "context": {
191
+ "shopping": [
192
+ "complete",
193
+ 0
194
+ ]
195
+ },
196
+ "nested": []
197
+ },
198
+ {
199
+ "entity": "gift",
200
+ "data": {
201
+ "name": "Surprise"
202
+ },
203
+ "context": {
204
+ "shopping": [
205
+ "complete",
206
+ 0
207
+ ]
208
+ },
209
+ "nested": []
210
+ }
211
+ ],
212
+ "consent": {
213
+ "functional": true
214
+ },
215
+ "id": "1700001101-gr0up-1",
216
+ "trigger": "load",
217
+ "entity": "order",
218
+ "action": "complete",
219
+ "timestamp": 1700001101,
220
+ "timing": 3.14,
221
+ "group": "gr0up",
222
+ "count": 1,
223
+ "version": {
224
+ "source": "2.1.0",
225
+ "tagging": 1
226
+ },
227
+ "source": {
228
+ "type": "server",
229
+ "id": "",
230
+ "previous_id": ""
231
+ }
232
+ },
233
+ "out": {
234
+ "id": "ORD-500",
235
+ "total": 199.99,
236
+ "items": "[{\"sku\":\"SKU-1\",\"qty\":2}]"
237
+ }
238
+ }
67
239
  }
68
240
  }
69
241
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@walkeros/server-destination-gcp",
3
3
  "description": "Google Cloud Platform server destination for walkerOS (BigQuery)",
4
- "version": "2.0.1",
4
+ "version": "2.1.1",
5
5
  "license": "MIT",
6
6
  "exports": {
7
7
  ".": {
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@google-cloud/bigquery": "^8.1.1",
32
- "@walkeros/server-core": "^2.0.0"
32
+ "@walkeros/server-core": "^2.1.1"
33
33
  },
34
34
  "devDependencies": {},
35
35
  "repository": {