@rxdi/graphql-pubsub 0.7.240 → 0.7.242

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.
@@ -40,13 +40,10 @@ let PubSubService = class PubSubService {
40
40
  }
41
41
  }
42
42
  createNatsPubSub() {
43
- var _a;
44
43
  try {
45
44
  const { NatsClientService, NatsPubSub } = require('@rxdi/nats');
46
45
  const natsClient = core_1.Container.get(NatsClientService);
47
- if ((_a = natsClient === null || natsClient === void 0 ? void 0 : natsClient.isReady) === null || _a === void 0 ? void 0 : _a.call(natsClient)) {
48
- return new NatsPubSub(natsClient);
49
- }
46
+ return new NatsPubSub(natsClient);
50
47
  }
51
48
  catch (e) {
52
49
  console.warn('NATS PubSub not available, falling back to default PubSub');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdi/graphql-pubsub",
3
- "version": "0.7.240",
3
+ "version": "0.7.242",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rxdi/graphql-pubsub"
@@ -29,14 +29,14 @@
29
29
  },
30
30
  "homepage": "https://github.com/rxdi/graphql-pubsub#readme",
31
31
  "dependencies": {
32
- "@rxdi/graphql-rabbitmq-subscriptions": "^0.7.239",
33
- "@rxdi/rabbitmq-pubsub": "^0.7.239",
32
+ "@rxdi/graphql-rabbitmq-subscriptions": "^0.7.241",
33
+ "@rxdi/rabbitmq-pubsub": "^0.7.241",
34
34
  "subscriptions-transport-ws": "^0.9.19"
35
35
  },
36
36
  "devDependencies": {
37
- "@rxdi/core": "^0.7.239",
38
- "@rxdi/graphql": "^0.7.239",
39
- "@rxdi/hapi": "^0.7.239",
37
+ "@rxdi/core": "^0.7.241",
38
+ "@rxdi/graphql": "^0.7.241",
39
+ "@rxdi/hapi": "^0.7.241",
40
40
  "@types/graphql": "^14.5.0",
41
41
  "@types/hapi": "^18.0.4",
42
42
  "@types/node": "^25.0.3",