@infrab4a/connect-angular 4.0.0-beta.17 → 4.0.0-beta.18
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.
|
@@ -13,9 +13,9 @@ import { docSnapshots, doc, Firestore, provideFirestore } from '@angular/fire/fi
|
|
|
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
|
-
import { isPlatformBrowser } from '@angular/common';
|
|
17
16
|
import { initializeApp as initializeApp$1 } from 'firebase/app';
|
|
18
17
|
import { getFirestore } from 'firebase/firestore';
|
|
18
|
+
import { isPlatformBrowser } from '@angular/common';
|
|
19
19
|
|
|
20
20
|
class AuthService {
|
|
21
21
|
constructor(angularFireAuth, userRepository) {
|
|
@@ -1013,16 +1013,14 @@ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
1013
1013
|
firestore,
|
|
1014
1014
|
interceptors: {
|
|
1015
1015
|
request: (request) => {
|
|
1016
|
-
if (isPlatformBrowser(platformId))
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
request.interval = interval;
|
|
1016
|
+
// if (isPlatformBrowser(platformId)) return request
|
|
1017
|
+
// const interval = setInterval(() => {}, 100)
|
|
1018
|
+
// request.interval = interval
|
|
1020
1019
|
return request;
|
|
1021
1020
|
},
|
|
1022
1021
|
response: (response, request) => {
|
|
1023
|
-
if (isPlatformBrowser(platformId))
|
|
1024
|
-
|
|
1025
|
-
clearInterval(request.interval);
|
|
1022
|
+
// if (isPlatformBrowser(platformId)) return response
|
|
1023
|
+
// clearInterval(request.interval)
|
|
1026
1024
|
return response;
|
|
1027
1025
|
},
|
|
1028
1026
|
},
|
|
@@ -1232,16 +1230,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
1232
1230
|
firestore,
|
|
1233
1231
|
interceptors: {
|
|
1234
1232
|
request: (request) => {
|
|
1235
|
-
if (isPlatformBrowser(platformId))
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
request.interval = interval;
|
|
1233
|
+
// if (isPlatformBrowser(platformId)) return request
|
|
1234
|
+
// const interval = setInterval(() => {}, 100)
|
|
1235
|
+
// request.interval = interval
|
|
1239
1236
|
return request;
|
|
1240
1237
|
},
|
|
1241
1238
|
response: (response, request) => {
|
|
1242
|
-
if (isPlatformBrowser(platformId))
|
|
1243
|
-
|
|
1244
|
-
clearInterval(request.interval);
|
|
1239
|
+
// if (isPlatformBrowser(platformId)) return response
|
|
1240
|
+
// clearInterval(request.interval)
|
|
1245
1241
|
return response;
|
|
1246
1242
|
},
|
|
1247
1243
|
},
|