@walkeros/server-destination-gcp 4.0.1 → 4.0.2
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.mjs +1 -1
- package/dist/schemas.js +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/walkerOS.json +7 -7
- 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-gcp",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.2",
|
|
5
5
|
"type": "destination",
|
|
6
6
|
"platform": [
|
|
7
7
|
"server"
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"$code": "class{calls;options;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 Ch}}"
|
|
176
176
|
},
|
|
177
177
|
"WriterClient": {
|
|
178
|
-
"$code": "class{constructor(e){Dh.push({method:\"WriterClient.ctor\",args:[e]})}async createStreamConnection(e){if(\"DEFAULT\"!==e.streamId)throw new Error(`mock createStreamConnection: expected streamId='DEFAULT', got ${JSON.stringify(e)}`);Dh.push({method:\"createStreamConnection\",args:[e]});const t=
|
|
178
|
+
"$code": "class{constructor(e){Dh.push({method:\"WriterClient.ctor\",args:[e]})}async createStreamConnection(e){if(\"DEFAULT\"!==e.streamId)throw new Error(`mock createStreamConnection: expected streamId='DEFAULT', got ${JSON.stringify(e)}`);Dh.push({method:\"createStreamConnection\",args:[e]});const t=Eh;if(null!==t)throw Eh=null,t;return{getStreamId:()=>`${e.destinationTable}/streams/_default`}}async getWriteStream(e){return Dh.push({method:\"getWriteStream\",args:[e]}),{tableSchema:{fields:[]}}}close(){Dh.push({method:\"WriterClient.close\",args:[]})}}"
|
|
179
179
|
},
|
|
180
180
|
"JSONWriter": {
|
|
181
181
|
"$code": "class{constructor(e){Dh.push({method:\"JSONWriter.ctor\",args:[e]})}appendRows(e,t){Dh.push({method:\"appendRows\",args:[e,t]});const n=Ph;return Ph=null,{getResult:async()=>({appendResult:{offset:{value:\"0\"}},rowErrors:n??[],writeStream:\"projects/p/datasets/d/tables/t/streams/_default\"})}}close(){Dh.push({method:\"JSONWriter.close\",args:[]})}}"
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
},
|
|
188
188
|
"managedwriterModule": {
|
|
189
189
|
"WriterClient": {
|
|
190
|
-
"$code": "class{constructor(e){Dh.push({method:\"WriterClient.ctor\",args:[e]})}async createStreamConnection(e){if(\"DEFAULT\"!==e.streamId)throw new Error(`mock createStreamConnection: expected streamId='DEFAULT', got ${JSON.stringify(e)}`);Dh.push({method:\"createStreamConnection\",args:[e]});const t=
|
|
190
|
+
"$code": "class{constructor(e){Dh.push({method:\"WriterClient.ctor\",args:[e]})}async createStreamConnection(e){if(\"DEFAULT\"!==e.streamId)throw new Error(`mock createStreamConnection: expected streamId='DEFAULT', got ${JSON.stringify(e)}`);Dh.push({method:\"createStreamConnection\",args:[e]});const t=Eh;if(null!==t)throw Eh=null,t;return{getStreamId:()=>`${e.destinationTable}/streams/_default`}}async getWriteStream(e){return Dh.push({method:\"getWriteStream\",args:[e]}),{tableSchema:{fields:[]}}}close(){Dh.push({method:\"WriterClient.close\",args:[]})}}"
|
|
191
191
|
},
|
|
192
192
|
"JSONWriter": {
|
|
193
193
|
"$code": "class{constructor(e){Dh.push({method:\"JSONWriter.ctor\",args:[e]})}appendRows(e,t){Dh.push({method:\"appendRows\",args:[e,t]});const n=Ph;return Ph=null,{getResult:async()=>({appendResult:{offset:{value:\"0\"}},rowErrors:n??[],writeStream:\"projects/p/datasets/d/tables/t/streams/_default\"})}}close(){Dh.push({method:\"JSONWriter.close\",args:[]})}}"
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
"consent": {
|
|
241
241
|
"functional": true
|
|
242
242
|
},
|
|
243
|
-
"id": "
|
|
243
|
+
"id": "fc8a0c81ef44a2a8",
|
|
244
244
|
"trigger": "load",
|
|
245
245
|
"entity": "page",
|
|
246
246
|
"action": "view",
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
"user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
|
|
265
265
|
"nested": "[{\"entity\":\"child\",\"data\":{\"is\":\"subordinated\"}}]",
|
|
266
266
|
"consent": "{\"functional\":true}",
|
|
267
|
-
"id": "
|
|
267
|
+
"id": "fc8a0c81ef44a2a8",
|
|
268
268
|
"trigger": "load",
|
|
269
269
|
"entity": "page",
|
|
270
270
|
"action": "view",
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"consent": {
|
|
360
360
|
"functional": true
|
|
361
361
|
},
|
|
362
|
-
"id": "
|
|
362
|
+
"id": "4b62a9714d26d116",
|
|
363
363
|
"trigger": "load",
|
|
364
364
|
"entity": "order",
|
|
365
365
|
"action": "complete",
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
"user": "{\"id\":\"us3r\",\"device\":\"c00k13\",\"session\":\"s3ss10n\"}",
|
|
384
384
|
"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\":[]}]",
|
|
385
385
|
"consent": "{\"functional\":true}",
|
|
386
|
-
"id": "
|
|
386
|
+
"id": "4b62a9714d26d116",
|
|
387
387
|
"trigger": "load",
|
|
388
388
|
"entity": "order",
|
|
389
389
|
"action": "complete",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/server-destination-gcp",
|
|
3
3
|
"description": "Google Cloud Platform server destinations for walkerOS (BigQuery, Pub/Sub)",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@google-cloud/bigquery": "^8.1.1",
|
|
33
33
|
"@google-cloud/bigquery-storage": "^5.1.0",
|
|
34
34
|
"@google-cloud/pubsub": "^5.3.0",
|
|
35
|
-
"@walkeros/server-core": "4.0.
|
|
35
|
+
"@walkeros/server-core": "4.0.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {},
|
|
38
38
|
"repository": {
|