@geodedb/client 1.1.0 → 1.3.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/README.md +12 -0
- package/dist/index.d.ts +295 -89
- package/dist/index.js +1484 -777
- package/dist/index.js.map +1 -1
- package/package.json +9 -8
- package/proto/geode.proto +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geodedb/client",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Node.js client library for Geode graph database (QUIC/gRPC + TLS 1.3)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -66,24 +66,25 @@
|
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@bufbuild/protobuf": "^2.12.0",
|
|
68
68
|
"@grpc/grpc-js": "^1.12.0",
|
|
69
|
-
"@grpc/proto-loader": "^0.
|
|
69
|
+
"@grpc/proto-loader": "^0.8.0",
|
|
70
70
|
"@matrixai/quic": "^2.0.9",
|
|
71
71
|
"decimal.js-light": "^2.5.1",
|
|
72
|
-
"protobufjs": "^
|
|
72
|
+
"protobufjs": "^8.0.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@
|
|
75
|
+
"@eslint/js": "^10.0.1",
|
|
76
|
+
"@types/node": "^26.0.0",
|
|
76
77
|
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
77
78
|
"@typescript-eslint/parser": "^8.54.0",
|
|
78
79
|
"@vitest/coverage-v8": "^4.0.18",
|
|
79
|
-
"eslint": "^
|
|
80
|
-
"eslint-config-prettier": "^
|
|
80
|
+
"eslint": "^10.0.0",
|
|
81
|
+
"eslint-config-prettier": "^10.0.0",
|
|
81
82
|
"fast-check": "^4.5.3",
|
|
82
83
|
"prettier": "^3.2.0",
|
|
83
|
-
"testcontainers": "^
|
|
84
|
+
"testcontainers": "^12.0.0",
|
|
84
85
|
"ts-proto": "^2.11.8",
|
|
85
86
|
"tsup": "^8.0.0",
|
|
86
|
-
"typescript": "^5.3
|
|
87
|
+
"typescript": "^5.9.3",
|
|
87
88
|
"typescript-eslint": "^8.54.0",
|
|
88
89
|
"vitest": "^4.0.18"
|
|
89
90
|
}
|
package/proto/geode.proto
CHANGED
|
@@ -101,6 +101,9 @@ message ExecuteRequest {
|
|
|
101
101
|
string session_id = 1;
|
|
102
102
|
string query = 2;
|
|
103
103
|
repeated Param params = 3;
|
|
104
|
+
bytes principal_envelope_bytes = 4; // GPS wire principal (federation-trusted only)
|
|
105
|
+
string idempotency_key = 5; // RC-3 write dedup
|
|
106
|
+
bool read_only = 6; // reject mutating statements when set
|
|
104
107
|
}
|
|
105
108
|
|
|
106
109
|
message Param {
|
|
@@ -483,7 +486,9 @@ message RollbackToResponse {
|
|
|
483
486
|
// ============================================================================
|
|
484
487
|
// CDC
|
|
485
488
|
// ============================================================================
|
|
486
|
-
message CdcDiagnosticsRequest {
|
|
489
|
+
message CdcDiagnosticsRequest {
|
|
490
|
+
string session_id = 1;
|
|
491
|
+
}
|
|
487
492
|
message CdcDiagnosticsConfig {
|
|
488
493
|
bool enabled = 1;
|
|
489
494
|
uint64 malformed_snapshot_interval = 2;
|
|
@@ -536,6 +541,7 @@ message CdcDiagnosticsResponse {
|
|
|
536
541
|
}
|
|
537
542
|
message CdcControlRequest {
|
|
538
543
|
string action = 1;
|
|
544
|
+
string session_id = 2;
|
|
539
545
|
}
|
|
540
546
|
message CdcControlResponse {
|
|
541
547
|
bool success = 1;
|