@infrab4a/connect-nestjs 1.0.0-beta.2 → 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 +3 -1
- package/index.esm.js +3 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -516,14 +516,16 @@ 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 }])],
|
|
522
|
+
exports: [...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [HASURA_OPTIONS])],
|
|
521
523
|
};
|
|
522
524
|
}
|
|
523
525
|
};
|
|
524
526
|
exports.NestConnectModule = NestConnectModule_1 = __decorate([
|
|
525
527
|
common.Module({
|
|
526
|
-
imports: [exports.NestFirestoreModule
|
|
528
|
+
imports: [exports.NestFirestoreModule],
|
|
527
529
|
})
|
|
528
530
|
], exports.NestConnectModule);
|
|
529
531
|
|
package/index.esm.js
CHANGED
|
@@ -512,14 +512,16 @@ 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 }])],
|
|
518
|
+
exports: [...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [HASURA_OPTIONS])],
|
|
517
519
|
};
|
|
518
520
|
}
|
|
519
521
|
};
|
|
520
522
|
NestConnectModule = NestConnectModule_1 = __decorate([
|
|
521
523
|
Module({
|
|
522
|
-
imports: [NestFirestoreModule
|
|
524
|
+
imports: [NestFirestoreModule],
|
|
523
525
|
})
|
|
524
526
|
], NestConnectModule);
|
|
525
527
|
|