@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 +2 -1
- package/index.esm.js +2 -1
- package/package.json +1 -1
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
|
|
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
|
|
524
|
+
imports: [NestFirestoreModule],
|
|
524
525
|
})
|
|
525
526
|
], NestConnectModule);
|
|
526
527
|
|