@graphql-hive/gateway-runtime 2.5.0-alpha-f341ce2a784bd96b413ee38f511f1ebd2183e3d2 → 2.5.0-alpha-6dfd4d2ab9f375cb744664f66267cdad125540c5

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,11 +1,11 @@
1
1
  # @graphql-hive/gateway-runtime
2
2
 
3
- ## 2.5.0-alpha-f341ce2a784bd96b413ee38f511f1ebd2183e3d2
3
+ ## 2.5.0-alpha-6dfd4d2ab9f375cb744664f66267cdad125540c5
4
4
  ### Minor Changes
5
5
 
6
6
 
7
7
 
8
- - [#1786](https://github.com/graphql-hive/gateway/pull/1786) [`b079a26`](https://github.com/graphql-hive/gateway/commit/b079a2654a7efe1afbc720b58220e3474da04a3a) Thanks [@ardatan](https://github.com/ardatan)! - Respect both \`graphql-client-name\` and \`x-graphql-client-name\` for client name header, and both \`graphql-client-version\` and \`x-graphql-client-version\` for client version header by default if not configured otherwise.
8
+ - [#1786](https://github.com/graphql-hive/gateway/pull/1786) [`abd350b`](https://github.com/graphql-hive/gateway/commit/abd350b913c8938cf173a4a5e25b3ba6c04016fc) Thanks [@ardatan](https://github.com/ardatan)! - Respect both \`graphql-client-name\` and \`x-graphql-client-name\` for client name header, and both \`graphql-client-version\` and \`x-graphql-client-version\` for client version header by default if not configured otherwise.
9
9
 
10
10
 
11
11
  ### Patch Changes
@@ -15,6 +15,10 @@
15
15
  - [#1784](https://github.com/graphql-hive/gateway/pull/1784) [`15b9e50`](https://github.com/graphql-hive/gateway/commit/15b9e5037fa74f8c1a8e662e196268a88642c27d) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
16
16
 
17
17
  - Updated dependency [`@types/node@^25.0.0` ↗︎](https://www.npmjs.com/package/@types/node/v/25.0.0) (from `^24.10.1`, in `dependencies`)
18
+
19
+
20
+ - [#1787](https://github.com/graphql-hive/gateway/pull/1787) [`a50d93a`](https://github.com/graphql-hive/gateway/commit/a50d93a0bc8f3c67de7449ad9102d3f3b60ea96a) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Usage reporting clientInfo context inherits Hive Gateway context
21
+
18
22
  - Updated dependencies []:
19
23
  - @graphql-mesh/hmac-upstream-signature@2.0.8
20
24
  - @graphql-mesh/fusion-runtime@1.6.2
package/dist/index.d.cts CHANGED
@@ -81,7 +81,7 @@ interface HiveConsoleUsagePluginOptions extends Omit<HiveUsagePluginOptions, 'cl
81
81
  /**
82
82
  * Extract client info from the GraphQL Context.
83
83
  */
84
- clientInfo?: HiveConsoleUsageClientInfo | ((context: any) => null | undefined | HiveConsoleUsageClientInfo);
84
+ clientInfo?: HiveConsoleUsageClientInfo | ((context: GatewayContext) => null | undefined | HiveConsoleUsageClientInfo);
85
85
  }
86
86
  interface HiveConsoleUsageClientInfo {
87
87
  name: string;
package/dist/index.d.ts CHANGED
@@ -81,7 +81,7 @@ interface HiveConsoleUsagePluginOptions extends Omit<HiveUsagePluginOptions, 'cl
81
81
  /**
82
82
  * Extract client info from the GraphQL Context.
83
83
  */
84
- clientInfo?: HiveConsoleUsageClientInfo | ((context: any) => null | undefined | HiveConsoleUsageClientInfo);
84
+ clientInfo?: HiveConsoleUsageClientInfo | ((context: GatewayContext) => null | undefined | HiveConsoleUsageClientInfo);
85
85
  }
86
86
  interface HiveConsoleUsageClientInfo {
87
87
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway-runtime",
3
- "version": "2.5.0-alpha-f341ce2a784bd96b413ee38f511f1ebd2183e3d2",
3
+ "version": "2.5.0-alpha-6dfd4d2ab9f375cb744664f66267cdad125540c5",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",