@graphql-mesh/transport-ws 1.0.3-alpha-747d0dbd71bd9a66959f394f316bf4e091cefec4 → 1.0.3-alpha-5a4d45f9baa4c4ea3e5b6e2d1534acd3ea006731
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/CHANGELOG.md +8 -3
- package/dist/index.cjs +6 -1
- package/dist/index.js +6 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @graphql-mesh/transport-ws
|
2
2
|
|
3
|
-
## 1.0.3-alpha-
|
3
|
+
## 1.0.3-alpha-5a4d45f9baa4c4ea3e5b6e2d1534acd3ea006731
|
4
4
|
|
5
5
|
### Patch Changes
|
6
6
|
|
@@ -8,9 +8,14 @@
|
|
8
8
|
|
9
9
|
- Updated dependency [`@graphql-tools/utils@^10.8.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.8.1) (from `^10.7.0`, in `dependencies`)
|
10
10
|
|
11
|
+
- [#642](https://github.com/graphql-hive/gateway/pull/642) [`30e41a6`](https://github.com/graphql-hive/gateway/commit/30e41a6f5b97c42ae548564bce3f6e4a92b1225f) Thanks [@ardatan](https://github.com/ardatan)! - New JSON-based logger
|
12
|
+
|
13
|
+
By default, it prints pretty still to the console unless NODE_ENV is production.
|
14
|
+
For JSON output, set the `LOG_FORMAT` environment variable to `json`.
|
15
|
+
|
11
16
|
- Updated dependencies [[`d72209a`](https://github.com/graphql-hive/gateway/commit/d72209ad82ec53689f93ce5d81bfa52493919ad9), [`d72209a`](https://github.com/graphql-hive/gateway/commit/d72209ad82ec53689f93ce5d81bfa52493919ad9)]:
|
12
|
-
- @graphql-mesh/transport-common@0.7.29-alpha-
|
13
|
-
- @graphql-tools/executor-graphql-ws@2.0.2-alpha-
|
17
|
+
- @graphql-mesh/transport-common@0.7.29-alpha-5a4d45f9baa4c4ea3e5b6e2d1534acd3ea006731
|
18
|
+
- @graphql-tools/executor-graphql-ws@2.0.2-alpha-5a4d45f9baa4c4ea3e5b6e2d1534acd3ea006731
|
14
19
|
|
15
20
|
## 1.0.2
|
16
21
|
|
package/dist/index.cjs
CHANGED
@@ -43,7 +43,12 @@ var index = {
|
|
43
43
|
const hash = JSON.stringify({ wsUrl, connectionParams, headers });
|
44
44
|
let wsExecutor = wsExecutorMap.get(hash);
|
45
45
|
if (!wsExecutor) {
|
46
|
-
const executorLogger = logger?.child(
|
46
|
+
const executorLogger = logger?.child({
|
47
|
+
executor: "GraphQL WS",
|
48
|
+
wsUrl,
|
49
|
+
connectionParams,
|
50
|
+
headers
|
51
|
+
});
|
47
52
|
wsExecutor = executorGraphqlWs.buildGraphQLWSExecutor({
|
48
53
|
headers,
|
49
54
|
url: wsUrl,
|
package/dist/index.js
CHANGED
@@ -41,7 +41,12 @@ var index = {
|
|
41
41
|
const hash = JSON.stringify({ wsUrl, connectionParams, headers });
|
42
42
|
let wsExecutor = wsExecutorMap.get(hash);
|
43
43
|
if (!wsExecutor) {
|
44
|
-
const executorLogger = logger?.child(
|
44
|
+
const executorLogger = logger?.child({
|
45
|
+
executor: "GraphQL WS",
|
46
|
+
wsUrl,
|
47
|
+
connectionParams,
|
48
|
+
headers
|
49
|
+
});
|
45
50
|
wsExecutor = buildGraphQLWSExecutor({
|
46
51
|
headers,
|
47
52
|
url: wsUrl,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-mesh/transport-ws",
|
3
|
-
"version": "1.0.3-alpha-
|
3
|
+
"version": "1.0.3-alpha-5a4d45f9baa4c4ea3e5b6e2d1534acd3ea006731",
|
4
4
|
"type": "module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -44,10 +44,10 @@
|
|
44
44
|
"dependencies": {
|
45
45
|
"@graphql-mesh/cross-helpers": "^0.4.9",
|
46
46
|
"@graphql-mesh/string-interpolation": "^0.5.6",
|
47
|
-
"@graphql-mesh/transport-common": "0.7.29-alpha-
|
47
|
+
"@graphql-mesh/transport-common": "0.7.29-alpha-5a4d45f9baa4c4ea3e5b6e2d1534acd3ea006731",
|
48
48
|
"@graphql-mesh/types": "^0.103.6",
|
49
49
|
"@graphql-mesh/utils": "^0.103.6",
|
50
|
-
"@graphql-tools/executor-graphql-ws": "2.0.2-alpha-
|
50
|
+
"@graphql-tools/executor-graphql-ws": "2.0.2-alpha-5a4d45f9baa4c4ea3e5b6e2d1534acd3ea006731",
|
51
51
|
"@graphql-tools/utils": "^10.8.1",
|
52
52
|
"graphql-ws": "^6.0.3",
|
53
53
|
"tslib": "^2.8.1",
|