@graphql-hive/gateway 2.1.24-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c → 2.2.0-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed

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,14 +1,24 @@
1
1
  # @graphql-hive/gateway
2
2
 
3
- ## 2.1.24-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c
3
+ ## 2.2.0-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed
4
+ ### Minor Changes
5
+
6
+
7
+
8
+ - [#1791](https://github.com/graphql-hive/gateway/pull/1791) [`890e234`](https://github.com/graphql-hive/gateway/commit/890e2341fd5496d95ff75411a0fd8c717d6639ed) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Added `@graphql-hive/gateway/opentelemetry/attributes` module entrypoint exposing graphql and hive
9
+ specific attributes. This was already exposed by the default entrypoint, but it now also has its own one.
10
+
11
+ This fixes an issue with some bundler (like vite) that doesn't support importing non existent `.js`
12
+ when only a `.d.ts` file exists.
13
+
4
14
  ### Patch Changes
5
15
 
6
- - Updated dependencies [[`15b9e50`](https://github.com/graphql-hive/gateway/commit/15b9e5037fa74f8c1a8e662e196268a88642c27d), [`abd350b`](https://github.com/graphql-hive/gateway/commit/abd350b913c8938cf173a4a5e25b3ba6c04016fc), [`a50d93a`](https://github.com/graphql-hive/gateway/commit/a50d93a0bc8f3c67de7449ad9102d3f3b60ea96a)]:
7
- - @graphql-hive/gateway-runtime@2.5.0-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c
8
- - @graphql-hive/plugin-opentelemetry@1.3.0-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c
16
+ - Updated dependencies [[`15b9e50`](https://github.com/graphql-hive/gateway/commit/15b9e5037fa74f8c1a8e662e196268a88642c27d), [`abd350b`](https://github.com/graphql-hive/gateway/commit/abd350b913c8938cf173a4a5e25b3ba6c04016fc), [`890e234`](https://github.com/graphql-hive/gateway/commit/890e2341fd5496d95ff75411a0fd8c717d6639ed), [`a50d93a`](https://github.com/graphql-hive/gateway/commit/a50d93a0bc8f3c67de7449ad9102d3f3b60ea96a)]:
17
+ - @graphql-hive/gateway-runtime@2.5.0-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed
18
+ - @graphql-hive/plugin-opentelemetry@1.3.0-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed
9
19
  - @graphql-hive/plugin-aws-sigv4@2.0.20
10
20
  - @graphql-mesh/hmac-upstream-signature@2.0.8
11
- - @graphql-mesh/plugin-prometheus@2.1.10-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c
21
+ - @graphql-mesh/plugin-prometheus@2.1.10-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed
12
22
 
13
23
  ## 2.1.23
14
24
  ### Patch Changes
package/dist/bin.cjs CHANGED
@@ -28,7 +28,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
28
28
 
29
29
  var module__default = /*#__PURE__*/_interopDefault(module$1);
30
30
 
31
- globalThis.__VERSION__ = '2.1.24-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c';
31
+ globalThis.__VERSION__ = '2.2.0-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed';
32
32
  module__default.default.register("@graphql-hive/importer/hooks", {
33
33
  parentURL: (
34
34
  // @ts-ignore bob will complain when bundling for cjs
package/dist/bin.js CHANGED
@@ -22,7 +22,7 @@ import '@graphql-tools/code-file-loader';
22
22
  import '@graphql-tools/graphql-file-loader';
23
23
  import '@graphql-tools/load';
24
24
 
25
- globalThis.__VERSION__ = '2.1.24-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c';
25
+ globalThis.__VERSION__ = '2.2.0-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed';
26
26
  module$1.register("@graphql-hive/importer/hooks", {
27
27
  parentURL: (
28
28
  // @ts-ignore bob will complain when bundling for cjs
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var attributes = require('@graphql-hive/plugin-opentelemetry/attributes');
4
+
5
+
6
+
7
+ Object.keys(attributes).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return attributes[k]; }
11
+ });
12
+ });
@@ -0,0 +1 @@
1
+ export * from '@graphql-hive/plugin-opentelemetry/attributes';
@@ -0,0 +1 @@
1
+ export * from '@graphql-hive/plugin-opentelemetry/attributes';
@@ -0,0 +1 @@
1
+ export * from '@graphql-hive/plugin-opentelemetry/attributes';
@@ -1,3 +1,4 @@
1
1
  export * from '@graphql-hive/plugin-opentelemetry';
2
2
  import '@graphql-hive/plugin-opentelemetry/api';
3
3
  import '@graphql-hive/plugin-opentelemetry/setup';
4
+ import '@graphql-hive/plugin-opentelemetry/attributes';
@@ -1,3 +1,4 @@
1
1
  export * from '@graphql-hive/plugin-opentelemetry';
2
2
  import '@graphql-hive/plugin-opentelemetry/api';
3
3
  import '@graphql-hive/plugin-opentelemetry/setup';
4
+ import '@graphql-hive/plugin-opentelemetry/attributes';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway",
3
- "version": "2.1.24-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c",
3
+ "version": "2.2.0-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -63,6 +63,16 @@
63
63
  "default": "./dist/opentelemetry/setup.js"
64
64
  }
65
65
  },
66
+ "./opentelemetry/attributes": {
67
+ "require": {
68
+ "types": "./dist/opentelemetry/attributes.d.cts",
69
+ "default": "./dist/opentelemetry/attributes.cjs"
70
+ },
71
+ "import": {
72
+ "types": "./dist/opentelemetry/attributes.d.ts",
73
+ "default": "./dist/opentelemetry/attributes.js"
74
+ }
75
+ },
66
76
  "./package.json": "./package.json"
67
77
  },
68
78
  "files": [
@@ -84,11 +94,11 @@
84
94
  "@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
85
95
  "@escape.tech/graphql-armor-max-depth": "^2.4.2",
86
96
  "@escape.tech/graphql-armor-max-tokens": "^2.5.0",
87
- "@graphql-hive/gateway-runtime": "2.5.0-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c",
97
+ "@graphql-hive/gateway-runtime": "2.5.0-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed",
88
98
  "@graphql-hive/importer": "^2.0.0",
89
99
  "@graphql-hive/logger": "^1.0.9",
90
100
  "@graphql-hive/plugin-aws-sigv4": "^2.0.20",
91
- "@graphql-hive/plugin-opentelemetry": "1.3.0-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c",
101
+ "@graphql-hive/plugin-opentelemetry": "1.3.0-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed",
92
102
  "@graphql-hive/pubsub": "^2.1.1",
93
103
  "@graphql-mesh/cache-cfw-kv": "^0.105.16",
94
104
  "@graphql-mesh/cache-localforage": "^0.105.17",
@@ -99,7 +109,7 @@
99
109
  "@graphql-mesh/plugin-http-cache": "^0.105.17",
100
110
  "@graphql-mesh/plugin-jit": "^0.2.16",
101
111
  "@graphql-mesh/plugin-jwt-auth": "^2.0.9",
102
- "@graphql-mesh/plugin-prometheus": "2.1.10-rc-7573a59370ec8d3696eb773d7005a4f7eaff834c",
112
+ "@graphql-mesh/plugin-prometheus": "2.1.10-alpha-890e2341fd5496d95ff75411a0fd8c717d6639ed",
103
113
  "@graphql-mesh/plugin-rate-limit": "^0.105.5",
104
114
  "@graphql-mesh/plugin-snapshot": "^0.104.16",
105
115
  "@graphql-mesh/transport-http": "^1.0.12",