@graphql-hive/gateway 2.0.4 → 2.0.5-alpha-dc9016969bbe97993dc5911adc19fa2f6781f0b9
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 +7 -0
- package/dist/bin.cjs +1 -1
- package/dist/bin.js +1 -1
- package/dist/index.cjs +14 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @graphql-hive/gateway
|
|
2
2
|
|
|
3
|
+
## 2.0.5-alpha-dc9016969bbe97993dc5911adc19fa2f6781f0b9
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- [#1462](https://github.com/graphql-hive/gateway/pull/1462) [`dc90169`](https://github.com/graphql-hive/gateway/commit/dc9016969bbe97993dc5911adc19fa2f6781f0b9) Thanks [@ardatan](https://github.com/ardatan)! - Export RedisPubSub and NATSPubSub from `@graphql-hive/gateway` package
|
|
9
|
+
|
|
3
10
|
## 2.0.4
|
|
4
11
|
### Patch Changes
|
|
5
12
|
|
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.0.
|
|
31
|
+
globalThis.__VERSION__ = '2.0.5-alpha-dc9016969bbe97993dc5911adc19fa2f6781f0b9';
|
|
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.0.
|
|
25
|
+
globalThis.__VERSION__ = '2.0.5-alpha-dc9016969bbe97993dc5911adc19fa2f6781f0b9';
|
|
26
26
|
module.register("@graphql-hive/importer/hooks", {
|
|
27
27
|
parentURL: (
|
|
28
28
|
// @ts-ignore bob will complain when bundling for cjs
|
package/dist/index.cjs
CHANGED
|
@@ -4,6 +4,8 @@ var cli = require('./cli-Bmg2AY5W.cjs');
|
|
|
4
4
|
var logger = require('@graphql-hive/logger');
|
|
5
5
|
var gatewayRuntime = require('@graphql-hive/gateway-runtime');
|
|
6
6
|
var pubsub = require('@graphql-hive/pubsub');
|
|
7
|
+
var nats = require('@graphql-hive/pubsub/nats');
|
|
8
|
+
var redis = require('@graphql-hive/pubsub/redis');
|
|
7
9
|
var pluginJwtAuth = require('@graphql-mesh/plugin-jwt-auth');
|
|
8
10
|
var pluginPrometheus = require('@graphql-mesh/plugin-prometheus');
|
|
9
11
|
var pluginRateLimit = require('@graphql-mesh/plugin-rate-limit');
|
|
@@ -119,6 +121,18 @@ Object.keys(pubsub).forEach(function (k) {
|
|
|
119
121
|
get: function () { return pubsub[k]; }
|
|
120
122
|
});
|
|
121
123
|
});
|
|
124
|
+
Object.keys(nats).forEach(function (k) {
|
|
125
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
126
|
+
enumerable: true,
|
|
127
|
+
get: function () { return nats[k]; }
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
Object.keys(redis).forEach(function (k) {
|
|
131
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () { return redis[k]; }
|
|
134
|
+
});
|
|
135
|
+
});
|
|
122
136
|
Object.keys(pluginJwtAuth).forEach(function (k) {
|
|
123
137
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
124
138
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -16,6 +16,8 @@ import { PrometheusPluginOptions } from '@graphql-mesh/plugin-prometheus';
|
|
|
16
16
|
export * from '@graphql-mesh/plugin-prometheus';
|
|
17
17
|
export { default as usePrometheus } from '@graphql-mesh/plugin-prometheus';
|
|
18
18
|
import { YamlConfig, KeyValueCache } from '@graphql-mesh/types';
|
|
19
|
+
export * from '@graphql-hive/pubsub/nats';
|
|
20
|
+
export * from '@graphql-hive/pubsub/redis';
|
|
19
21
|
export { default as useRateLimit } from '@graphql-mesh/plugin-rate-limit';
|
|
20
22
|
export { default as useHttpCache } from '@graphql-mesh/plugin-http-cache';
|
|
21
23
|
export { default as useSnapshot } from '@graphql-mesh/plugin-snapshot';
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ import { PrometheusPluginOptions } from '@graphql-mesh/plugin-prometheus';
|
|
|
16
16
|
export * from '@graphql-mesh/plugin-prometheus';
|
|
17
17
|
export { default as usePrometheus } from '@graphql-mesh/plugin-prometheus';
|
|
18
18
|
import { YamlConfig, KeyValueCache } from '@graphql-mesh/types';
|
|
19
|
+
export * from '@graphql-hive/pubsub/nats';
|
|
20
|
+
export * from '@graphql-hive/pubsub/redis';
|
|
19
21
|
export { default as useRateLimit } from '@graphql-mesh/plugin-rate-limit';
|
|
20
22
|
export { default as useHttpCache } from '@graphql-mesh/plugin-http-cache';
|
|
21
23
|
export { default as useSnapshot } from '@graphql-mesh/plugin-snapshot';
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,8 @@ export { b as defaultOptions, d as defineConfig, e as enableModuleCachingIfPossi
|
|
|
2
2
|
export * from '@graphql-hive/logger';
|
|
3
3
|
export * from '@graphql-hive/gateway-runtime';
|
|
4
4
|
export * from '@graphql-hive/pubsub';
|
|
5
|
+
export * from '@graphql-hive/pubsub/nats';
|
|
6
|
+
export * from '@graphql-hive/pubsub/redis';
|
|
5
7
|
export * from '@graphql-mesh/plugin-jwt-auth';
|
|
6
8
|
export * from '@graphql-mesh/plugin-prometheus';
|
|
7
9
|
export { default as usePrometheus } from '@graphql-mesh/plugin-prometheus';
|