@rxdi/graphql-pubsub 0.7.171 → 0.7.172
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/dist/helpers/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DocumentNode } from '@apollo/client/core';
|
|
2
2
|
import { WebSocketLink } from '@apollo/client/link/ws';
|
|
3
3
|
import { ClientOptions } from 'subscriptions-transport-ws';
|
|
4
|
-
import { Server } from 'hapi';
|
|
4
|
+
import { Server } from '@hapi/hapi';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
export interface WSLinkOptions extends ClientOptions {
|
|
7
7
|
server?: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PluginInterface } from '@rxdi/core';
|
|
2
|
-
import { Server } from 'hapi';
|
|
2
|
+
import { Server } from '@hapi/hapi';
|
|
3
3
|
import { GRAPHQL_PLUGIN_CONFIG } from '@rxdi/graphql';
|
|
4
4
|
import { GRAPHQL_PUB_SUB_DI_CONFIG } from '../config.tokens';
|
|
5
5
|
export declare class SubscriptionService implements PluginInterface {
|
|
@@ -27,7 +27,7 @@ const subscriptions_transport_ws_1 = require("subscriptions-transport-ws");
|
|
|
27
27
|
const subscription_1 = require("graphql/subscription");
|
|
28
28
|
const execution_1 = require("graphql/execution");
|
|
29
29
|
const hapi_1 = require("@rxdi/hapi");
|
|
30
|
-
const hapi_2 = require("hapi");
|
|
30
|
+
const hapi_2 = require("@hapi/hapi");
|
|
31
31
|
const graphql_1 = require("@rxdi/graphql");
|
|
32
32
|
const config_tokens_1 = require("../config.tokens");
|
|
33
33
|
let SubscriptionService = class SubscriptionService {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdi/graphql-pubsub",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.172",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/rxdi/graphql-pubsub"
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/rxdi/graphql-pubsub#readme",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@rxdi/graphql-rabbitmq-subscriptions": "^0.7.
|
|
33
|
+
"@rxdi/graphql-rabbitmq-subscriptions": "^0.7.171",
|
|
34
34
|
"@apollo/client": "^3.7.3",
|
|
35
35
|
"graphql-request": "^1.8.2",
|
|
36
36
|
"subscriptions-transport-ws": "^0.9.19",
|
|
37
37
|
"ws": "6.2.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@rxdi/core": "^0.7.
|
|
41
|
-
"@rxdi/graphql": "^0.7.
|
|
42
|
-
"@rxdi/hapi": "^0.7.
|
|
40
|
+
"@rxdi/core": "^0.7.171",
|
|
41
|
+
"@rxdi/graphql": "^0.7.171",
|
|
42
|
+
"@rxdi/hapi": "^0.7.171",
|
|
43
43
|
"@types/graphql": "^14.5.0",
|
|
44
44
|
"@types/hapi": "^18.0.4",
|
|
45
45
|
"@types/jest": "^24.0.22",
|