@infrab4a/connect-angular 4.0.0-beta.14 → 4.0.0-beta.16
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.
|
@@ -9,11 +9,13 @@ import { Where, Shops, CheckoutTypes, CouponTypes, Exclusivities, isNil, NotFoun
|
|
|
9
9
|
import cookie from 'js-cookie';
|
|
10
10
|
import { CustomError } from 'ts-custom-error';
|
|
11
11
|
import * as i1$1 from '@angular/fire/firestore';
|
|
12
|
-
import { docSnapshots, doc, Firestore, provideFirestore
|
|
12
|
+
import { docSnapshots, doc, Firestore, provideFirestore } from '@angular/fire/firestore';
|
|
13
13
|
import * as i1$2 from '@angular/common/http';
|
|
14
14
|
import * as i1$3 from '@angular/fire/app';
|
|
15
15
|
import { provideFirebaseApp, initializeApp } from '@angular/fire/app';
|
|
16
16
|
import { isPlatformBrowser } from '@angular/common';
|
|
17
|
+
import { initializeApp as initializeApp$1 } from 'firebase/app';
|
|
18
|
+
import { getFirestore } from 'firebase/firestore';
|
|
17
19
|
|
|
18
20
|
class AuthService {
|
|
19
21
|
constructor(angularFireAuth, userRepository) {
|
|
@@ -1206,8 +1208,8 @@ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
1206
1208
|
provideFirebaseApp((injector) => {
|
|
1207
1209
|
const appName = injector.get(FIREBASE_APP_NAME);
|
|
1208
1210
|
return appName
|
|
1209
|
-
? initializeApp(injector.get(FIREBASE_OPTIONS), appName)
|
|
1210
|
-
: initializeApp(injector.get(FIREBASE_OPTIONS));
|
|
1211
|
+
? initializeApp$1(injector.get(FIREBASE_OPTIONS), appName)
|
|
1212
|
+
: initializeApp$1(injector.get(FIREBASE_OPTIONS));
|
|
1211
1213
|
}),
|
|
1212
1214
|
provideFirestore(() => getFirestore())] });
|
|
1213
1215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, decorators: [{
|
|
@@ -1218,8 +1220,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
1218
1220
|
provideFirebaseApp((injector) => {
|
|
1219
1221
|
const appName = injector.get(FIREBASE_APP_NAME);
|
|
1220
1222
|
return appName
|
|
1221
|
-
? initializeApp(injector.get(FIREBASE_OPTIONS), appName)
|
|
1222
|
-
: initializeApp(injector.get(FIREBASE_OPTIONS));
|
|
1223
|
+
? initializeApp$1(injector.get(FIREBASE_OPTIONS), appName)
|
|
1224
|
+
: initializeApp$1(injector.get(FIREBASE_OPTIONS));
|
|
1223
1225
|
}),
|
|
1224
1226
|
provideFirestore(() => getFirestore()),
|
|
1225
1227
|
],
|