@graphql-mesh/transport-http-callback 0.5.20-rc-8e35bbcfc4ac6766046f3e0f31ec28a807f42113 → 0.5.20-rc-0f4cb6b94c8aa4251c6608e9d149df46311e7a66
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -3
- package/dist/index.cjs +4 -1
- package/dist/index.js +4 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @graphql-mesh/transport-http-callback
|
2
2
|
|
3
|
-
## 0.5.20-rc-
|
3
|
+
## 0.5.20-rc-0f4cb6b94c8aa4251c6608e9d149df46311e7a66
|
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-rc-
|
13
|
-
- @graphql-tools/executor-common@0.0.2-rc-
|
17
|
+
- @graphql-mesh/transport-common@0.7.29-rc-0f4cb6b94c8aa4251c6608e9d149df46311e7a66
|
18
|
+
- @graphql-tools/executor-common@0.0.2-rc-0f4cb6b94c8aa4251c6608e9d149df46311e7a66
|
14
19
|
|
15
20
|
## 0.5.19
|
16
21
|
|
package/dist/index.cjs
CHANGED
@@ -51,7 +51,10 @@ var index = {
|
|
51
51
|
const heartbeatIntervalMs = transportEntry.options?.heartbeat_interval || 5e4;
|
52
52
|
const httpCallbackExecutor = function httpCallbackExecutor2(executionRequest) {
|
53
53
|
const subscriptionId = fetch.crypto.randomUUID();
|
54
|
-
const subscriptionLogger = logger?.child(
|
54
|
+
const subscriptionLogger = logger?.child({
|
55
|
+
executor: "http-callback",
|
56
|
+
subscription: subscriptionId
|
57
|
+
});
|
55
58
|
const callbackUrl = `${publicUrl}${callbackPath}/${subscriptionId}`;
|
56
59
|
const subscriptionCallbackPath = `${callbackPath}/${subscriptionId}`;
|
57
60
|
const serializedParams = executorCommon.serializeExecutionRequest({
|
package/dist/index.js
CHANGED
@@ -49,7 +49,10 @@ var index = {
|
|
49
49
|
const heartbeatIntervalMs = transportEntry.options?.heartbeat_interval || 5e4;
|
50
50
|
const httpCallbackExecutor = function httpCallbackExecutor2(executionRequest) {
|
51
51
|
const subscriptionId = crypto.randomUUID();
|
52
|
-
const subscriptionLogger = logger?.child(
|
52
|
+
const subscriptionLogger = logger?.child({
|
53
|
+
executor: "http-callback",
|
54
|
+
subscription: subscriptionId
|
55
|
+
});
|
53
56
|
const callbackUrl = `${publicUrl}${callbackPath}/${subscriptionId}`;
|
54
57
|
const subscriptionCallbackPath = `${callbackPath}/${subscriptionId}`;
|
55
58
|
const serializedParams = serializeExecutionRequest({
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-mesh/transport-http-callback",
|
3
|
-
"version": "0.5.20-rc-
|
3
|
+
"version": "0.5.20-rc-0f4cb6b94c8aa4251c6608e9d149df46311e7a66",
|
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-rc-
|
47
|
+
"@graphql-mesh/transport-common": "0.7.29-rc-0f4cb6b94c8aa4251c6608e9d149df46311e7a66",
|
48
48
|
"@graphql-mesh/types": "^0.103.6",
|
49
49
|
"@graphql-mesh/utils": "^0.103.6",
|
50
|
-
"@graphql-tools/executor-common": "0.0.2-rc-
|
50
|
+
"@graphql-tools/executor-common": "0.0.2-rc-0f4cb6b94c8aa4251c6608e9d149df46311e7a66",
|
51
51
|
"@graphql-tools/utils": "^10.8.1",
|
52
52
|
"@repeaterjs/repeater": "^3.0.6",
|
53
53
|
"@whatwg-node/fetch": "^0.10.1",
|