@graphql-mesh/transport-grpc 0.2.5 → 0.2.6-alpha-20250212143840-31f05e0058c8a194977f210671de19e8e0e43599
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/cjs/index.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +3 -3
package/cjs/index.js
CHANGED
|
@@ -126,7 +126,7 @@ class GrpcTransportHelper extends disposablestack_1.DisposableStack {
|
|
|
126
126
|
const grpcObjectByRootJsonName = new Map();
|
|
127
127
|
for (let { name, rootJson, loadOptions } of roots) {
|
|
128
128
|
rootJson = typeof rootJson === 'string' ? JSON.parse(rootJson) : rootJson;
|
|
129
|
-
const rootLogger = this.logger.child(name);
|
|
129
|
+
const rootLogger = this.logger.child({ root: name });
|
|
130
130
|
grpcObjectByRootJsonName.set(name, this.getGrpcObject({ rootJson, loadOptions, rootLogger }));
|
|
131
131
|
}
|
|
132
132
|
const rootTypes = (0, utils_1.getRootTypes)(schema);
|
package/esm/index.js
CHANGED
|
@@ -122,7 +122,7 @@ export class GrpcTransportHelper extends DisposableStack {
|
|
|
122
122
|
const grpcObjectByRootJsonName = new Map();
|
|
123
123
|
for (let { name, rootJson, loadOptions } of roots) {
|
|
124
124
|
rootJson = typeof rootJson === 'string' ? JSON.parse(rootJson) : rootJson;
|
|
125
|
-
const rootLogger = this.logger.child(name);
|
|
125
|
+
const rootLogger = this.logger.child({ root: name });
|
|
126
126
|
grpcObjectByRootJsonName.set(name, this.getGrpcObject({ rootJson, loadOptions, rootLogger }));
|
|
127
127
|
}
|
|
128
128
|
const rootTypes = getRootTypes(schema);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/transport-grpc",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6-alpha-20250212143840-31f05e0058c8a194977f210671de19e8e0e43599",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "*"
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"@graphql-mesh/cross-helpers": "^0.4.10",
|
|
10
10
|
"@graphql-mesh/string-interpolation": "^0.5.8",
|
|
11
11
|
"@graphql-mesh/transport-common": "^0.7.13",
|
|
12
|
-
"@graphql-mesh/types": "
|
|
13
|
-
"@graphql-mesh/utils": "
|
|
12
|
+
"@graphql-mesh/types": "0.103.16-alpha-20250212143840-31f05e0058c8a194977f210671de19e8e0e43599",
|
|
13
|
+
"@graphql-mesh/utils": "0.103.16-alpha-20250212143840-31f05e0058c8a194977f210671de19e8e0e43599",
|
|
14
14
|
"@graphql-tools/utils": "^10.8.0",
|
|
15
15
|
"@grpc/grpc-js": "^1.1.7",
|
|
16
16
|
"@grpc/proto-loader": "^0.7.8",
|