@infrab4a/connect-nestjs 1.1.0-beta.4 → 1.1.0-beta.5
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
|
@@ -309,10 +309,11 @@ exports.NestElasticSeachModule = NestElasticSeachModule_1 = __decorate([
|
|
|
309
309
|
var NestFirestoreModule_1;
|
|
310
310
|
exports.NestFirestoreModule = NestFirestoreModule_1 = class NestFirestoreModule {
|
|
311
311
|
static initializeApp(options) {
|
|
312
|
+
var _a;
|
|
312
313
|
return {
|
|
313
314
|
module: NestFirestoreModule_1,
|
|
314
315
|
imports: [
|
|
315
|
-
options.firebase.googleApplicationCredential
|
|
316
|
+
((_a = options === null || options === void 0 ? void 0 : options.firebase) === null || _a === void 0 ? void 0 : _a.googleApplicationCredential)
|
|
316
317
|
? nestjsFirebase.FirebaseModule.forRoot({
|
|
317
318
|
googleApplicationCredential: options.firebase.googleApplicationCredential,
|
|
318
319
|
})
|
package/index.esm.js
CHANGED
|
@@ -305,10 +305,11 @@ NestElasticSeachModule = NestElasticSeachModule_1 = __decorate([
|
|
|
305
305
|
var NestFirestoreModule_1;
|
|
306
306
|
let NestFirestoreModule = NestFirestoreModule_1 = class NestFirestoreModule {
|
|
307
307
|
static initializeApp(options) {
|
|
308
|
+
var _a;
|
|
308
309
|
return {
|
|
309
310
|
module: NestFirestoreModule_1,
|
|
310
311
|
imports: [
|
|
311
|
-
options.firebase.googleApplicationCredential
|
|
312
|
+
((_a = options === null || options === void 0 ? void 0 : options.firebase) === null || _a === void 0 ? void 0 : _a.googleApplicationCredential)
|
|
312
313
|
? FirebaseModule.forRoot({
|
|
313
314
|
googleApplicationCredential: options.firebase.googleApplicationCredential,
|
|
314
315
|
})
|