@infrab4a/connect-angular 4.17.0-beta.0 → 4.17.0-beta.1
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.
|
@@ -2688,11 +2688,10 @@ AngularConnectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
2688
2688
|
const app = injector.get(FirebaseApp);
|
|
2689
2689
|
try {
|
|
2690
2690
|
const siteKey = injector.get(RECAPTCHA_SITE_KEY);
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
});
|
|
2691
|
+
return initializeAppCheck(app, {
|
|
2692
|
+
provider: isEmpty(siteKey) ? undefined : new ReCaptchaEnterpriseProvider(siteKey),
|
|
2693
|
+
isTokenAutoRefreshEnabled: true,
|
|
2694
|
+
});
|
|
2696
2695
|
}
|
|
2697
2696
|
catch (error) {
|
|
2698
2697
|
console.warn('ReCAPTCHA site key not provided or invalid, App Check not initialized');
|
|
@@ -2722,11 +2721,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
2722
2721
|
const app = injector.get(FirebaseApp);
|
|
2723
2722
|
try {
|
|
2724
2723
|
const siteKey = injector.get(RECAPTCHA_SITE_KEY);
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
});
|
|
2724
|
+
return initializeAppCheck(app, {
|
|
2725
|
+
provider: isEmpty(siteKey) ? undefined : new ReCaptchaEnterpriseProvider(siteKey),
|
|
2726
|
+
isTokenAutoRefreshEnabled: true,
|
|
2727
|
+
});
|
|
2730
2728
|
}
|
|
2731
2729
|
catch (error) {
|
|
2732
2730
|
console.warn('ReCAPTCHA site key not provided or invalid, App Check not initialized');
|