@graphql-mesh/transport-http-callback 0.5.20-alpha-747d0dbd71bd9a66959f394f316bf4e091cefec4 → 0.5.20-alpha-b603ea4a954a3d9e37d80188f0d2ed8bf15fa318
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 +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-alpha-
|
3
|
+
## 0.5.20-alpha-b603ea4a954a3d9e37d80188f0d2ed8bf15fa318
|
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-common@0.0.2-alpha-
|
17
|
+
- @graphql-mesh/transport-common@0.7.29-alpha-b603ea4a954a3d9e37d80188f0d2ed8bf15fa318
|
18
|
+
- @graphql-tools/executor-common@0.0.2-alpha-b603ea4a954a3d9e37d80188f0d2ed8bf15fa318
|
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-alpha-
|
3
|
+
"version": "0.5.20-alpha-b603ea4a954a3d9e37d80188f0d2ed8bf15fa318",
|
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-b603ea4a954a3d9e37d80188f0d2ed8bf15fa318",
|
48
48
|
"@graphql-mesh/types": "^0.103.6",
|
49
49
|
"@graphql-mesh/utils": "^0.103.6",
|
50
|
-
"@graphql-tools/executor-common": "0.0.2-alpha-
|
50
|
+
"@graphql-tools/executor-common": "0.0.2-alpha-b603ea4a954a3d9e37d80188f0d2ed8bf15fa318",
|
51
51
|
"@graphql-tools/utils": "^10.8.1",
|
52
52
|
"@repeaterjs/repeater": "^3.0.6",
|
53
53
|
"@whatwg-node/fetch": "^0.10.1",
|