@causa/runtime-google 1.4.0 → 1.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/spanner/entity-manager.js +5 -1
- package/package.json +11 -11
|
@@ -283,7 +283,11 @@ let SpannerEntityManager = class SpannerEntityManager {
|
|
|
283
283
|
await this.transaction(options, (transaction) => transaction.runUpdate(`DELETE FROM \`${tableName}\` WHERE TRUE`));
|
|
284
284
|
}
|
|
285
285
|
async query(optionsOrStatement, statement) {
|
|
286
|
-
|
|
286
|
+
const results = [];
|
|
287
|
+
for await (const row of this.queryStream(optionsOrStatement, statement)) {
|
|
288
|
+
results.push(row);
|
|
289
|
+
}
|
|
290
|
+
return results;
|
|
287
291
|
}
|
|
288
292
|
async *queryStream(optionsOrStatement, statement) {
|
|
289
293
|
const options = statement
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@causa/runtime-google",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "An extension to the Causa runtime SDK (`@causa/runtime`), providing Google-specific features.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,29 +37,29 @@
|
|
|
37
37
|
"@google-cloud/pubsub": "^5.2.0",
|
|
38
38
|
"@google-cloud/spanner": "^8.2.2",
|
|
39
39
|
"@google-cloud/tasks": "^6.2.1",
|
|
40
|
-
"@grpc/grpc-js": "^1.14.
|
|
41
|
-
"@nestjs/common": "^11.1.
|
|
40
|
+
"@grpc/grpc-js": "^1.14.1",
|
|
41
|
+
"@nestjs/common": "^11.1.9",
|
|
42
42
|
"@nestjs/config": "^4.0.2",
|
|
43
|
-
"@nestjs/core": "^11.1.
|
|
43
|
+
"@nestjs/core": "^11.1.9",
|
|
44
44
|
"@nestjs/passport": "^11.0.5",
|
|
45
45
|
"@nestjs/terminus": "^11.0.0",
|
|
46
46
|
"class-transformer": "^0.5.1",
|
|
47
47
|
"class-validator": "^0.14.2",
|
|
48
48
|
"express": "^5.1.0",
|
|
49
|
-
"firebase-admin": "^13.
|
|
49
|
+
"firebase-admin": "^13.6.0",
|
|
50
50
|
"jsonwebtoken": "^9.0.2",
|
|
51
51
|
"passport-http-bearer": "^1.0.1",
|
|
52
52
|
"pino": "^9.14.0",
|
|
53
53
|
"reflect-metadata": "^0.2.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@nestjs/testing": "^11.1.
|
|
57
|
-
"@swc/core": "^1.15.
|
|
56
|
+
"@nestjs/testing": "^11.1.9",
|
|
57
|
+
"@swc/core": "^1.15.2",
|
|
58
58
|
"@swc/jest": "^0.2.39",
|
|
59
|
-
"@tsconfig/
|
|
59
|
+
"@tsconfig/node20": "^20.1.7",
|
|
60
60
|
"@types/jest": "^30.0.0",
|
|
61
61
|
"@types/jsonwebtoken": "^9.0.10",
|
|
62
|
-
"@types/node": "^
|
|
62
|
+
"@types/node": "^20.19.25",
|
|
63
63
|
"@types/passport-http-bearer": "^1.0.42",
|
|
64
64
|
"@types/supertest": "^6.0.3",
|
|
65
65
|
"@types/uuid": "^11.0.0",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"eslint-config-prettier": "^10.1.8",
|
|
69
69
|
"eslint-plugin-prettier": "^5.5.4",
|
|
70
70
|
"jest": "^30.2.0",
|
|
71
|
-
"jest-extended": "^
|
|
71
|
+
"jest-extended": "^7.0.0",
|
|
72
72
|
"pino-pretty": "^13.1.2",
|
|
73
73
|
"rimraf": "^6.1.0",
|
|
74
74
|
"supertest": "^7.1.4",
|
|
75
75
|
"typescript": "^5.9.3",
|
|
76
|
-
"typescript-eslint": "^8.46.
|
|
76
|
+
"typescript-eslint": "^8.46.4",
|
|
77
77
|
"uuid": "^13.0.0"
|
|
78
78
|
}
|
|
79
79
|
}
|