@infrab4a/connect-angular 4.0.0-beta.13 → 4.0.0-beta.15

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,12 @@ 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 } from '@angular/fire/firestore';
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 { getFirestore } from 'firebase/firestore';
17
18
 
18
19
  class AuthService {
19
20
  constructor(angularFireAuth, userRepository) {
@@ -1003,7 +1004,7 @@ class AngularFirestoreModule {
1003
1004
  }
1004
1005
  }
1005
1006
  AngularFirestoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1006
- AngularFirestoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, imports: [AngularElasticSeachModule, i1$3.FirebaseAppModule] });
1007
+ AngularFirestoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, imports: [AngularElasticSeachModule, i1$3.FirebaseAppModule, i1$1.FirestoreModule] });
1007
1008
  AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, providers: [
1008
1009
  {
1009
1010
  provide: 'FirestoreOptions',
@@ -1208,7 +1209,8 @@ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
1208
1209
  return appName
1209
1210
  ? initializeApp(injector.get(FIREBASE_OPTIONS), appName)
1210
1211
  : initializeApp(injector.get(FIREBASE_OPTIONS));
1211
- })] });
1212
+ }),
1213
+ provideFirestore(() => getFirestore())] });
1212
1214
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, decorators: [{
1213
1215
  type: NgModule,
1214
1216
  args: [{
@@ -1220,7 +1222,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
1220
1222
  ? initializeApp(injector.get(FIREBASE_OPTIONS), appName)
1221
1223
  : initializeApp(injector.get(FIREBASE_OPTIONS));
1222
1224
  }),
1223
- //provideFirestore(() => getFirestore()),
1225
+ provideFirestore(() => getFirestore()),
1224
1226
  ],
1225
1227
  providers: [
1226
1228
  {