@walkeros/server-destination-gcp 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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$meta": {
3
3
  "package": "@walkeros/server-destination-gcp",
4
- "version": "3.3.1",
4
+ "version": "3.4.0",
5
5
  "type": "destination",
6
6
  "platform": [
7
7
  "server"
@@ -65,7 +65,7 @@
65
65
  "env": {
66
66
  "push": {
67
67
  "BigQuery": {
68
- "$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 vh}}"
68
+ "$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 wh}}"
69
69
  }
70
70
  },
71
71
  "simulation": [
@@ -124,7 +124,7 @@
124
124
  "group": "gr0up",
125
125
  "count": 1,
126
126
  "version": {
127
- "source": "3.3.1",
127
+ "source": "3.4.0",
128
128
  "tagging": 1
129
129
  },
130
130
  "source": {
@@ -133,10 +133,36 @@
133
133
  "previous_id": ""
134
134
  }
135
135
  },
136
- "out": {
137
- "title": "Documentation",
138
- "url": "https://example.com/docs"
139
- }
136
+ "out": [
137
+ [
138
+ "dataset.table.insert",
139
+ "test-dataset",
140
+ "test-table",
141
+ [
142
+ {
143
+ "name": "page view",
144
+ "data": "{\"title\":\"Documentation\",\"url\":\"https://example.com/docs\"}",
145
+ "context": "{\"dev\":[\"test\",1]}",
146
+ "globals": "{\"pagegroup\":\"docs\"}",
147
+ "custom": "{\"completely\":\"random\"}",
148
+ "user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
149
+ "nested": "[{\"entity\":\"child\",\"data\":{\"is\":\"subordinated\"},\"nested\":[],\"context\":{\"element\":[\"child\",0]}}]",
150
+ "consent": "{\"functional\":true}",
151
+ "id": "1700001100-gr0up-1",
152
+ "trigger": "load",
153
+ "entity": "page",
154
+ "action": "view",
155
+ "timestamp": {},
156
+ "timing": 3.14,
157
+ "group": "gr0up",
158
+ "count": 1,
159
+ "version": "{\"source\":\"3.4.0\",\"tagging\":1}",
160
+ "source": "{\"type\":\"server\",\"id\":\"\",\"previous_id\":\"\"}",
161
+ "createdAt": {}
162
+ }
163
+ ]
164
+ ]
165
+ ]
140
166
  },
141
167
  "purchase": {
142
168
  "in": {
@@ -228,7 +254,7 @@
228
254
  "group": "gr0up",
229
255
  "count": 1,
230
256
  "version": {
231
- "source": "3.3.1",
257
+ "source": "3.4.0",
232
258
  "tagging": 1
233
259
  },
234
260
  "source": {
@@ -237,11 +263,36 @@
237
263
  "previous_id": ""
238
264
  }
239
265
  },
240
- "out": {
241
- "id": "ORD-500",
242
- "total": 199.99,
243
- "items": "[{\"sku\":\"SKU-1\",\"qty\":2}]"
244
- }
266
+ "out": [
267
+ [
268
+ "dataset.table.insert",
269
+ "test-dataset",
270
+ "test-table",
271
+ [
272
+ {
273
+ "name": "order complete",
274
+ "data": "{\"id\":\"ORD-500\",\"total\":199.99,\"items\":[{\"sku\":\"SKU-1\",\"qty\":2}]}",
275
+ "context": "{\"shopping\":[\"complete\",0]}",
276
+ "globals": "{\"pagegroup\":\"shop\"}",
277
+ "custom": "{\"completely\":\"random\"}",
278
+ "user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
279
+ "nested": "[{\"entity\":\"product\",\"data\":{\"id\":\"ers\",\"name\":\"Everyday Ruck Snack\",\"color\":\"black\",\"size\":\"l\",\"price\":420},\"context\":{\"shopping\":[\"complete\",0]},\"nested\":[]},{\"entity\":\"product\",\"data\":{\"id\":\"cc\",\"name\":\"Cool Cap\",\"size\":\"one size\",\"price\":42},\"context\":{\"shopping\":[\"complete\",0]},\"nested\":[]},{\"entity\":\"gift\",\"data\":{\"name\":\"Surprise\"},\"context\":{\"shopping\":[\"complete\",0]},\"nested\":[]}]",
280
+ "consent": "{\"functional\":true}",
281
+ "id": "1700001101-gr0up-1",
282
+ "trigger": "load",
283
+ "entity": "order",
284
+ "action": "complete",
285
+ "timestamp": {},
286
+ "timing": 3.14,
287
+ "group": "gr0up",
288
+ "count": 1,
289
+ "version": "{\"source\":\"3.4.0\",\"tagging\":1}",
290
+ "source": "{\"type\":\"server\",\"id\":\"\",\"previous_id\":\"\"}",
291
+ "createdAt": {}
292
+ }
293
+ ]
294
+ ]
295
+ ]
245
296
  }
246
297
  }
247
298
  },
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": "3.3.1",
4
+ "version": "3.4.0",
5
5
  "license": "MIT",
6
6
  "exports": {
7
7
  ".": {
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@google-cloud/bigquery": "^8.1.1",
33
- "@walkeros/server-core": "3.3.1"
33
+ "@walkeros/server-core": "3.4.0"
34
34
  },
35
35
  "devDependencies": {},
36
36
  "repository": {