@infrab4a/connect-nestjs 1.0.0-beta.3 → 1.0.0-beta.4

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/index.cjs.js CHANGED
@@ -516,6 +516,7 @@ exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
516
516
  nestjsFirebase.FirebaseModule.forRoot({
517
517
  googleApplicationCredential: options.firebase.googleApplicationCredential,
518
518
  }),
519
+ ...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [exports.NestHasuraGraphQLModule.initializeApp(options.hasura)]),
519
520
  ],
520
521
  providers: [...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [{ provide: HASURA_OPTIONS, useValue: options.hasura }])],
521
522
  exports: [...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [HASURA_OPTIONS])],
@@ -524,7 +525,7 @@ exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
524
525
  };
525
526
  exports.NestConnectModule = NestConnectModule_1 = __decorate([
526
527
  common.Module({
527
- imports: [exports.NestFirestoreModule, exports.NestHasuraGraphQLModule],
528
+ imports: [exports.NestFirestoreModule],
528
529
  })
529
530
  ], exports.NestConnectModule);
530
531
 
package/index.esm.js CHANGED
@@ -512,6 +512,7 @@ let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
512
512
  FirebaseModule.forRoot({
513
513
  googleApplicationCredential: options.firebase.googleApplicationCredential,
514
514
  }),
515
+ ...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [NestHasuraGraphQLModule.initializeApp(options.hasura)]),
515
516
  ],
516
517
  providers: [...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [{ provide: HASURA_OPTIONS, useValue: options.hasura }])],
517
518
  exports: [...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [HASURA_OPTIONS])],
@@ -520,7 +521,7 @@ let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
520
521
  };
521
522
  NestConnectModule = NestConnectModule_1 = __decorate([
522
523
  Module({
523
- imports: [NestFirestoreModule, NestHasuraGraphQLModule],
524
+ imports: [NestFirestoreModule],
524
525
  })
525
526
  ], NestConnectModule);
526
527
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect-nestjs",
3
- "version": "1.0.0-beta.3",
3
+ "version": "1.0.0-beta.4",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },