@graphql-mesh/transport-http-callback 0.5.20-alpha-6934f538fb331d0cfc945e10b8493776065e9e90 → 0.5.20-alpha-44d18a951f283f9d06dfec322e947a1a5c82728a

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphql-mesh/transport-http-callback
2
2
 
3
- ## 0.5.20-alpha-6934f538fb331d0cfc945e10b8493776065e9e90
3
+ ## 0.5.20-alpha-44d18a951f283f9d06dfec322e947a1a5c82728a
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -8,9 +8,11 @@
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) [`3ed97fa`](https://github.com/graphql-hive/gateway/commit/3ed97fab63db6673728f59b00dc6bba83ee12768) Thanks [@ardatan](https://github.com/ardatan)! - New JSON-based logger
12
+
11
13
  - 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-6934f538fb331d0cfc945e10b8493776065e9e90
13
- - @graphql-tools/executor-common@0.0.2-alpha-6934f538fb331d0cfc945e10b8493776065e9e90
14
+ - @graphql-mesh/transport-common@0.7.29-alpha-44d18a951f283f9d06dfec322e947a1a5c82728a
15
+ - @graphql-tools/executor-common@0.0.2-alpha-44d18a951f283f9d06dfec322e947a1a5c82728a
14
16
 
15
17
  ## 0.5.19
16
18
 
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(subscriptionId);
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(subscriptionId);
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-6934f538fb331d0cfc945e10b8493776065e9e90",
3
+ "version": "0.5.20-alpha-44d18a951f283f9d06dfec322e947a1a5c82728a",
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-6934f538fb331d0cfc945e10b8493776065e9e90",
47
+ "@graphql-mesh/transport-common": "0.7.29-alpha-44d18a951f283f9d06dfec322e947a1a5c82728a",
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-6934f538fb331d0cfc945e10b8493776065e9e90",
50
+ "@graphql-tools/executor-common": "0.0.2-alpha-44d18a951f283f9d06dfec322e947a1a5c82728a",
51
51
  "@graphql-tools/utils": "^10.8.1",
52
52
  "@repeaterjs/repeater": "^3.0.6",
53
53
  "@whatwg-node/fetch": "^0.10.1",