@angular/fire 18.0.0-rc.0 → 18.0.1-canary.3639e41

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.
Files changed (96) hide show
  1. package/esm2022/analytics/analytics.module.mjs +5 -5
  2. package/esm2022/analytics/screen-tracking.service.mjs +4 -4
  3. package/esm2022/analytics/user-tracking.service.mjs +4 -4
  4. package/esm2022/app/app.module.mjs +5 -5
  5. package/esm2022/app-check/app-check.module.mjs +5 -5
  6. package/esm2022/auth/auth.module.mjs +5 -5
  7. package/esm2022/auth-guard/auth-guard.mjs +4 -4
  8. package/esm2022/auth-guard/auth-guard.module.mjs +5 -5
  9. package/esm2022/compat/analytics/analytics.mjs +4 -4
  10. package/esm2022/compat/analytics/analytics.module.mjs +5 -5
  11. package/esm2022/compat/analytics/screen-tracking.service.mjs +4 -4
  12. package/esm2022/compat/analytics/user-tracking.service.mjs +4 -4
  13. package/esm2022/compat/auth/auth.mjs +4 -4
  14. package/esm2022/compat/auth/auth.module.mjs +5 -5
  15. package/esm2022/compat/auth-guard/auth-guard.mjs +4 -4
  16. package/esm2022/compat/auth-guard/auth-guard.module.mjs +5 -5
  17. package/esm2022/compat/database/database.mjs +4 -4
  18. package/esm2022/compat/database/database.module.mjs +5 -5
  19. package/esm2022/compat/firebase.app.module.mjs +5 -5
  20. package/esm2022/compat/firestore/firestore.mjs +4 -4
  21. package/esm2022/compat/firestore/firestore.module.mjs +5 -5
  22. package/esm2022/compat/functions/functions.mjs +4 -4
  23. package/esm2022/compat/functions/functions.module.mjs +5 -5
  24. package/esm2022/compat/messaging/messaging.mjs +4 -4
  25. package/esm2022/compat/messaging/messaging.module.mjs +5 -5
  26. package/esm2022/compat/performance/performance.mjs +4 -4
  27. package/esm2022/compat/performance/performance.module.mjs +5 -5
  28. package/esm2022/compat/performance/performance.service.mjs +4 -4
  29. package/esm2022/compat/remote-config/remote-config.mjs +4 -4
  30. package/esm2022/compat/remote-config/remote-config.module.mjs +5 -5
  31. package/esm2022/compat/storage/pipes/storageUrl.pipe.mjs +8 -8
  32. package/esm2022/compat/storage/storage.mjs +4 -4
  33. package/esm2022/compat/storage/storage.module.mjs +5 -5
  34. package/esm2022/database/database.module.mjs +5 -5
  35. package/esm2022/firestore/firestore.module.mjs +5 -5
  36. package/esm2022/firestore/lite/lite.module.mjs +5 -5
  37. package/esm2022/functions/functions.module.mjs +5 -5
  38. package/esm2022/messaging/messaging.module.mjs +5 -5
  39. package/esm2022/performance/performance.module.mjs +5 -5
  40. package/esm2022/remote-config/remote-config.module.mjs +5 -5
  41. package/esm2022/storage/storage.module.mjs +5 -5
  42. package/esm2022/vertexai-preview/vertexai.module.mjs +5 -5
  43. package/esm2022/zones.mjs +4 -4
  44. package/fesm2022/angular-fire-analytics.mjs +297 -410
  45. package/fesm2022/angular-fire-analytics.mjs.map +1 -7
  46. package/fesm2022/angular-fire-app-check.mjs +91 -162
  47. package/fesm2022/angular-fire-app-check.mjs.map +1 -7
  48. package/fesm2022/angular-fire-app.mjs +108 -181
  49. package/fesm2022/angular-fire-app.mjs.map +1 -7
  50. package/fesm2022/angular-fire-auth-guard.mjs +73 -83
  51. package/fesm2022/angular-fire-auth-guard.mjs.map +1 -7
  52. package/fesm2022/angular-fire-auth.mjs +142 -421
  53. package/fesm2022/angular-fire-auth.mjs.map +1 -7
  54. package/fesm2022/angular-fire-compat-analytics.mjs +271 -262
  55. package/fesm2022/angular-fire-compat-analytics.mjs.map +1 -7
  56. package/fesm2022/angular-fire-compat-auth-guard.mjs +72 -83
  57. package/fesm2022/angular-fire-compat-auth-guard.mjs.map +1 -7
  58. package/fesm2022/angular-fire-compat-auth.mjs +214 -215
  59. package/fesm2022/angular-fire-compat-auth.mjs.map +1 -7
  60. package/fesm2022/angular-fire-compat-database.mjs +378 -375
  61. package/fesm2022/angular-fire-compat-database.mjs.map +1 -7
  62. package/fesm2022/angular-fire-compat-firestore.mjs +677 -537
  63. package/fesm2022/angular-fire-compat-firestore.mjs.map +1 -7
  64. package/fesm2022/angular-fire-compat-functions.mjs +94 -98
  65. package/fesm2022/angular-fire-compat-functions.mjs.map +1 -7
  66. package/fesm2022/angular-fire-compat-messaging.mjs +107 -107
  67. package/fesm2022/angular-fire-compat-messaging.mjs.map +1 -7
  68. package/fesm2022/angular-fire-compat-performance.mjs +152 -158
  69. package/fesm2022/angular-fire-compat-performance.mjs.map +1 -7
  70. package/fesm2022/angular-fire-compat-remote-config.mjs +232 -216
  71. package/fesm2022/angular-fire-compat-remote-config.mjs.map +1 -7
  72. package/fesm2022/angular-fire-compat-storage.mjs +231 -226
  73. package/fesm2022/angular-fire-compat-storage.mjs.map +1 -7
  74. package/fesm2022/angular-fire-compat.mjs +153 -140
  75. package/fesm2022/angular-fire-compat.mjs.map +1 -7
  76. package/fesm2022/angular-fire-database.mjs +136 -376
  77. package/fesm2022/angular-fire-database.mjs.map +1 -7
  78. package/fesm2022/angular-fire-firestore-lite.mjs +139 -388
  79. package/fesm2022/angular-fire-firestore-lite.mjs.map +1 -7
  80. package/fesm2022/angular-fire-firestore.mjs +167 -526
  81. package/fesm2022/angular-fire-firestore.mjs.map +1 -7
  82. package/fesm2022/angular-fire-functions.mjs +93 -166
  83. package/fesm2022/angular-fire-functions.mjs.map +1 -7
  84. package/fesm2022/angular-fire-messaging.mjs +118 -196
  85. package/fesm2022/angular-fire-messaging.mjs.map +1 -7
  86. package/fesm2022/angular-fire-performance.mjs +104 -178
  87. package/fesm2022/angular-fire-performance.mjs.map +1 -7
  88. package/fesm2022/angular-fire-remote-config.mjs +132 -254
  89. package/fesm2022/angular-fire-remote-config.mjs.map +1 -7
  90. package/fesm2022/angular-fire-storage.mjs +105 -225
  91. package/fesm2022/angular-fire-storage.mjs.map +1 -7
  92. package/fesm2022/angular-fire-vertexai-preview.mjs +85 -146
  93. package/fesm2022/angular-fire-vertexai-preview.mjs.map +1 -7
  94. package/fesm2022/angular-fire.mjs +213 -183
  95. package/fesm2022/angular-fire.mjs.map +1 -7
  96. package/package.json +7 -7
@@ -1,436 +1,157 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from2, except, desc) => {
10
- if (from2 && typeof from2 === "object" || typeof from2 === "function") {
11
- for (let key of __getOwnPropNames(from2))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
-
19
- // angular-fire-auth.mjs
20
- var angular_fire_auth_exports = {};
21
- __export(angular_fire_auth_exports, {
22
- Auth: () => Auth,
23
- AuthInstances: () => AuthInstances,
24
- AuthModule: () => AuthModule,
25
- applyActionCode: () => applyActionCode,
26
- authInstance$: () => authInstance$,
27
- authState: () => authState,
28
- beforeAuthStateChanged: () => beforeAuthStateChanged,
29
- checkActionCode: () => checkActionCode,
30
- confirmPasswordReset: () => confirmPasswordReset,
31
- connectAuthEmulator: () => connectAuthEmulator,
32
- createUserWithEmailAndPassword: () => createUserWithEmailAndPassword,
33
- deleteUser: () => deleteUser,
34
- fetchSignInMethodsForEmail: () => fetchSignInMethodsForEmail,
35
- getAdditionalUserInfo: () => getAdditionalUserInfo,
36
- getAuth: () => getAuth,
37
- getIdToken: () => getIdToken,
38
- getIdTokenResult: () => getIdTokenResult,
39
- getMultiFactorResolver: () => getMultiFactorResolver,
40
- getRedirectResult: () => getRedirectResult,
41
- idToken: () => idToken,
42
- initializeAuth: () => initializeAuth,
43
- initializeRecaptchaConfig: () => initializeRecaptchaConfig,
44
- isSignInWithEmailLink: () => isSignInWithEmailLink,
45
- linkWithCredential: () => linkWithCredential,
46
- linkWithPhoneNumber: () => linkWithPhoneNumber,
47
- linkWithPopup: () => linkWithPopup,
48
- linkWithRedirect: () => linkWithRedirect,
49
- multiFactor: () => multiFactor,
50
- onAuthStateChanged: () => onAuthStateChanged,
51
- onIdTokenChanged: () => onIdTokenChanged,
52
- parseActionCodeURL: () => parseActionCodeURL,
53
- provideAuth: () => provideAuth,
54
- reauthenticateWithCredential: () => reauthenticateWithCredential,
55
- reauthenticateWithPhoneNumber: () => reauthenticateWithPhoneNumber,
56
- reauthenticateWithPopup: () => reauthenticateWithPopup,
57
- reauthenticateWithRedirect: () => reauthenticateWithRedirect,
58
- reload: () => reload,
59
- revokeAccessToken: () => revokeAccessToken,
60
- sendEmailVerification: () => sendEmailVerification,
61
- sendPasswordResetEmail: () => sendPasswordResetEmail,
62
- sendSignInLinkToEmail: () => sendSignInLinkToEmail,
63
- setPersistence: () => setPersistence,
64
- signInAnonymously: () => signInAnonymously,
65
- signInWithCredential: () => signInWithCredential,
66
- signInWithCustomToken: () => signInWithCustomToken,
67
- signInWithEmailAndPassword: () => signInWithEmailAndPassword,
68
- signInWithEmailLink: () => signInWithEmailLink,
69
- signInWithPhoneNumber: () => signInWithPhoneNumber,
70
- signInWithPopup: () => signInWithPopup,
71
- signInWithRedirect: () => signInWithRedirect,
72
- signOut: () => signOut,
73
- unlink: () => unlink,
74
- updateCurrentUser: () => updateCurrentUser,
75
- updateEmail: () => updateEmail,
76
- updatePassword: () => updatePassword,
77
- updatePhoneNumber: () => updatePhoneNumber,
78
- updateProfile: () => updateProfile,
79
- useDeviceLanguage: () => useDeviceLanguage,
80
- user: () => user,
81
- validatePassword: () => validatePassword,
82
- verifyBeforeUpdateEmail: () => verifyBeforeUpdateEmail,
83
- verifyPasswordResetCode: () => verifyPasswordResetCode
84
- });
1
+ import { ɵgetAllInstancesOf as _getAllInstancesOf, ɵgetDefaultInstanceOf as _getDefaultInstanceOf, VERSION, ɵAngularFireSchedulers as _AngularFireSchedulers, ɵAppCheckInstances as _AppCheckInstances, ɵzoneWrap as _zoneWrap } from '@angular/fire';
2
+ import { timer, from } from 'rxjs';
3
+ import { concatMap, distinct } from 'rxjs/operators';
4
+ import * as i0 from '@angular/core';
5
+ import { InjectionToken, Optional, NgModule, makeEnvironmentProviders, NgZone, Injector } from '@angular/core';
6
+ import { FirebaseApp, FirebaseApps } from '@angular/fire/app';
7
+ import { registerVersion } from 'firebase/app';
8
+ import { authState as authState$1, user as user$1, idToken as idToken$1 } from 'rxfire/auth';
9
+ import { applyActionCode as applyActionCode$1, beforeAuthStateChanged as beforeAuthStateChanged$1, checkActionCode as checkActionCode$1, confirmPasswordReset as confirmPasswordReset$1, connectAuthEmulator as connectAuthEmulator$1, createUserWithEmailAndPassword as createUserWithEmailAndPassword$1, deleteUser as deleteUser$1, fetchSignInMethodsForEmail as fetchSignInMethodsForEmail$1, getAdditionalUserInfo as getAdditionalUserInfo$1, getAuth as getAuth$1, getIdToken as getIdToken$1, getIdTokenResult as getIdTokenResult$1, getMultiFactorResolver as getMultiFactorResolver$1, getRedirectResult as getRedirectResult$1, initializeAuth as initializeAuth$1, initializeRecaptchaConfig as initializeRecaptchaConfig$1, isSignInWithEmailLink as isSignInWithEmailLink$1, linkWithCredential as linkWithCredential$1, linkWithPhoneNumber as linkWithPhoneNumber$1, linkWithPopup as linkWithPopup$1, linkWithRedirect as linkWithRedirect$1, multiFactor as multiFactor$1, onAuthStateChanged as onAuthStateChanged$1, onIdTokenChanged as onIdTokenChanged$1, parseActionCodeURL as parseActionCodeURL$1, reauthenticateWithCredential as reauthenticateWithCredential$1, reauthenticateWithPhoneNumber as reauthenticateWithPhoneNumber$1, reauthenticateWithPopup as reauthenticateWithPopup$1, reauthenticateWithRedirect as reauthenticateWithRedirect$1, reload as reload$1, revokeAccessToken as revokeAccessToken$1, sendEmailVerification as sendEmailVerification$1, sendPasswordResetEmail as sendPasswordResetEmail$1, sendSignInLinkToEmail as sendSignInLinkToEmail$1, setPersistence as setPersistence$1, signInAnonymously as signInAnonymously$1, signInWithCredential as signInWithCredential$1, signInWithCustomToken as signInWithCustomToken$1, signInWithEmailAndPassword as signInWithEmailAndPassword$1, signInWithEmailLink as signInWithEmailLink$1, signInWithPhoneNumber as signInWithPhoneNumber$1, signInWithPopup as signInWithPopup$1, signInWithRedirect as signInWithRedirect$1, signOut as signOut$1, unlink as unlink$1, updateCurrentUser as updateCurrentUser$1, updateEmail as updateEmail$1, updatePassword as updatePassword$1, updatePhoneNumber as updatePhoneNumber$1, updateProfile as updateProfile$1, useDeviceLanguage as useDeviceLanguage$1, validatePassword as validatePassword$1, verifyBeforeUpdateEmail as verifyBeforeUpdateEmail$1, verifyPasswordResetCode as verifyPasswordResetCode$1 } from 'firebase/auth';
10
+ export * from 'firebase/auth';
85
11
 
86
- // public_api.mjs
87
- var public_api_exports = {};
88
- __export(public_api_exports, {
89
- Auth: () => Auth,
90
- AuthInstances: () => AuthInstances,
91
- AuthModule: () => AuthModule,
92
- applyActionCode: () => applyActionCode,
93
- authInstance$: () => authInstance$,
94
- authState: () => authState,
95
- beforeAuthStateChanged: () => beforeAuthStateChanged,
96
- checkActionCode: () => checkActionCode,
97
- confirmPasswordReset: () => confirmPasswordReset,
98
- connectAuthEmulator: () => connectAuthEmulator,
99
- createUserWithEmailAndPassword: () => createUserWithEmailAndPassword,
100
- deleteUser: () => deleteUser,
101
- fetchSignInMethodsForEmail: () => fetchSignInMethodsForEmail,
102
- getAdditionalUserInfo: () => getAdditionalUserInfo,
103
- getAuth: () => getAuth,
104
- getIdToken: () => getIdToken,
105
- getIdTokenResult: () => getIdTokenResult,
106
- getMultiFactorResolver: () => getMultiFactorResolver,
107
- getRedirectResult: () => getRedirectResult,
108
- idToken: () => idToken,
109
- initializeAuth: () => initializeAuth,
110
- initializeRecaptchaConfig: () => initializeRecaptchaConfig,
111
- isSignInWithEmailLink: () => isSignInWithEmailLink,
112
- linkWithCredential: () => linkWithCredential,
113
- linkWithPhoneNumber: () => linkWithPhoneNumber,
114
- linkWithPopup: () => linkWithPopup,
115
- linkWithRedirect: () => linkWithRedirect,
116
- multiFactor: () => multiFactor,
117
- onAuthStateChanged: () => onAuthStateChanged,
118
- onIdTokenChanged: () => onIdTokenChanged,
119
- parseActionCodeURL: () => parseActionCodeURL,
120
- provideAuth: () => provideAuth,
121
- reauthenticateWithCredential: () => reauthenticateWithCredential,
122
- reauthenticateWithPhoneNumber: () => reauthenticateWithPhoneNumber,
123
- reauthenticateWithPopup: () => reauthenticateWithPopup,
124
- reauthenticateWithRedirect: () => reauthenticateWithRedirect,
125
- reload: () => reload,
126
- revokeAccessToken: () => revokeAccessToken,
127
- sendEmailVerification: () => sendEmailVerification,
128
- sendPasswordResetEmail: () => sendPasswordResetEmail,
129
- sendSignInLinkToEmail: () => sendSignInLinkToEmail,
130
- setPersistence: () => setPersistence,
131
- signInAnonymously: () => signInAnonymously,
132
- signInWithCredential: () => signInWithCredential,
133
- signInWithCustomToken: () => signInWithCustomToken,
134
- signInWithEmailAndPassword: () => signInWithEmailAndPassword,
135
- signInWithEmailLink: () => signInWithEmailLink,
136
- signInWithPhoneNumber: () => signInWithPhoneNumber,
137
- signInWithPopup: () => signInWithPopup,
138
- signInWithRedirect: () => signInWithRedirect,
139
- signOut: () => signOut,
140
- unlink: () => unlink,
141
- updateCurrentUser: () => updateCurrentUser,
142
- updateEmail: () => updateEmail,
143
- updatePassword: () => updatePassword,
144
- updatePhoneNumber: () => updatePhoneNumber,
145
- updateProfile: () => updateProfile,
146
- useDeviceLanguage: () => useDeviceLanguage,
147
- user: () => user,
148
- validatePassword: () => validatePassword,
149
- verifyBeforeUpdateEmail: () => verifyBeforeUpdateEmail,
150
- verifyPasswordResetCode: () => verifyPasswordResetCode
151
- });
152
-
153
- // auth.mjs
154
- import { ɵgetAllInstancesOf } from "@angular/fire";
155
- import { from, timer } from "rxjs";
156
- import { concatMap, distinct } from "rxjs/operators";
157
- var AUTH_PROVIDER_NAME = "auth";
158
- var Auth = class {
159
- constructor(auth) {
160
- return auth;
161
- }
162
- };
163
- var AuthInstances = class {
164
- constructor() {
165
- return ɵgetAllInstancesOf(AUTH_PROVIDER_NAME);
166
- }
167
- };
168
- var authInstance$ = timer(0, 300).pipe(concatMap(() => from(ɵgetAllInstancesOf(AUTH_PROVIDER_NAME))), distinct());
12
+ const AUTH_PROVIDER_NAME = 'auth';
13
+ class Auth {
14
+ constructor(auth) {
15
+ return auth;
16
+ }
17
+ }
18
+ class AuthInstances {
19
+ constructor() {
20
+ return _getAllInstancesOf(AUTH_PROVIDER_NAME);
21
+ }
22
+ }
23
+ const authInstance$ = timer(0, 300).pipe(concatMap(() => from(_getAllInstancesOf(AUTH_PROVIDER_NAME))), distinct());
169
24
 
170
- // auth.module.mjs
171
- import { InjectionToken, Injector, NgModule, NgZone, Optional, makeEnvironmentProviders } from "@angular/core";
172
- import { VERSION, ɵAngularFireSchedulers, ɵgetDefaultInstanceOf } from "@angular/fire";
173
- import { ɵAppCheckInstances } from "@angular/fire";
174
- import { FirebaseApp, FirebaseApps } from "@angular/fire/app";
175
- import { registerVersion } from "firebase/app";
176
- import * as i0 from "@angular/core";
177
- var PROVIDED_AUTH_INSTANCES = new InjectionToken("angularfire2.auth-instances");
25
+ const PROVIDED_AUTH_INSTANCES = new InjectionToken('angularfire2.auth-instances');
178
26
  function defaultAuthInstanceFactory(provided, defaultApp) {
179
- const defaultAuth = ɵgetDefaultInstanceOf(AUTH_PROVIDER_NAME, provided, defaultApp);
180
- return defaultAuth && new Auth(defaultAuth);
27
+ const defaultAuth = _getDefaultInstanceOf(AUTH_PROVIDER_NAME, provided, defaultApp);
28
+ return defaultAuth && new Auth(defaultAuth);
181
29
  }
182
30
  function authInstanceFactory(fn) {
183
- return (zone, injector) => {
184
- const auth = zone.runOutsideAngular(() => fn(injector));
185
- return new Auth(auth);
186
- };
31
+ return (zone, injector) => {
32
+ const auth = zone.runOutsideAngular(() => fn(injector));
33
+ return new Auth(auth);
34
+ };
187
35
  }
188
- var AUTH_INSTANCES_PROVIDER = {
189
- provide: AuthInstances,
190
- deps: [
191
- [new Optional(), PROVIDED_AUTH_INSTANCES]
192
- ]
193
- };
194
- var DEFAULT_AUTH_INSTANCE_PROVIDER = {
195
- provide: Auth,
196
- useFactory: defaultAuthInstanceFactory,
197
- deps: [
198
- [new Optional(), PROVIDED_AUTH_INSTANCES],
199
- FirebaseApp
200
- ]
201
- };
202
- var AuthModule = class _AuthModule {
203
- constructor() {
204
- registerVersion("angularfire", VERSION.full, "auth");
205
- }
206
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.3", ngImport: i0, type: _AuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
207
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.3", ngImport: i0, type: _AuthModule });
208
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.3", ngImport: i0, type: _AuthModule, providers: [
209
- DEFAULT_AUTH_INSTANCE_PROVIDER,
210
- AUTH_INSTANCES_PROVIDER
211
- ] });
36
+ const AUTH_INSTANCES_PROVIDER = {
37
+ provide: AuthInstances,
38
+ deps: [
39
+ [new Optional(), PROVIDED_AUTH_INSTANCES],
40
+ ]
212
41
  };
213
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.3", ngImport: i0, type: AuthModule, decorators: [{
214
- type: NgModule,
215
- args: [{
216
- providers: [
217
- DEFAULT_AUTH_INSTANCE_PROVIDER,
218
- AUTH_INSTANCES_PROVIDER
42
+ const DEFAULT_AUTH_INSTANCE_PROVIDER = {
43
+ provide: Auth,
44
+ useFactory: defaultAuthInstanceFactory,
45
+ deps: [
46
+ [new Optional(), PROVIDED_AUTH_INSTANCES],
47
+ FirebaseApp,
219
48
  ]
220
- }]
221
- }], ctorParameters: () => [] });
222
- function provideAuth(fn, ...deps) {
223
- registerVersion("angularfire", VERSION.full, "auth");
224
- return makeEnvironmentProviders([
225
- DEFAULT_AUTH_INSTANCE_PROVIDER,
226
- AUTH_INSTANCES_PROVIDER,
227
- {
228
- provide: PROVIDED_AUTH_INSTANCES,
229
- useFactory: authInstanceFactory(fn),
230
- multi: true,
231
- deps: [
232
- NgZone,
233
- Injector,
234
- ɵAngularFireSchedulers,
235
- FirebaseApps,
236
- [new Optional(), ɵAppCheckInstances],
237
- ...deps
238
- ]
49
+ };
50
+ class AuthModule {
51
+ constructor() {
52
+ registerVersion('angularfire', VERSION.full, 'auth');
239
53
  }
240
- ]);
54
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: AuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
55
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: AuthModule });
56
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: AuthModule, providers: [
57
+ DEFAULT_AUTH_INSTANCE_PROVIDER,
58
+ AUTH_INSTANCES_PROVIDER,
59
+ ] });
60
+ }
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: AuthModule, decorators: [{
62
+ type: NgModule,
63
+ args: [{
64
+ providers: [
65
+ DEFAULT_AUTH_INSTANCE_PROVIDER,
66
+ AUTH_INSTANCES_PROVIDER,
67
+ ]
68
+ }]
69
+ }], ctorParameters: () => [] });
70
+ function provideAuth(fn, ...deps) {
71
+ registerVersion('angularfire', VERSION.full, 'auth');
72
+ return makeEnvironmentProviders([
73
+ DEFAULT_AUTH_INSTANCE_PROVIDER,
74
+ AUTH_INSTANCES_PROVIDER,
75
+ {
76
+ provide: PROVIDED_AUTH_INSTANCES,
77
+ useFactory: authInstanceFactory(fn),
78
+ multi: true,
79
+ deps: [
80
+ NgZone,
81
+ Injector,
82
+ _AngularFireSchedulers,
83
+ FirebaseApps,
84
+ [new Optional(), _AppCheckInstances],
85
+ ...deps,
86
+ ]
87
+ }
88
+ ]);
241
89
  }
242
90
 
243
- // rxfire.mjs
244
- import { ɵzoneWrap } from "@angular/fire";
245
- import { authState as _authState, user as _user, idToken as _idToken } from "rxfire/auth";
246
- var authState = ɵzoneWrap(_authState, true);
247
- var user = ɵzoneWrap(_user, true);
248
- var idToken = ɵzoneWrap(_idToken, true);
91
+ // DO NOT MODIFY, this file is autogenerated by tools/build.ts
92
+ const authState = _zoneWrap(authState$1, true);
93
+ const user = _zoneWrap(user$1, true);
94
+ const idToken = _zoneWrap(idToken$1, true);
249
95
 
250
- // firebase.mjs
251
- var firebase_exports = {};
252
- __export(firebase_exports, {
253
- applyActionCode: () => applyActionCode,
254
- beforeAuthStateChanged: () => beforeAuthStateChanged,
255
- checkActionCode: () => checkActionCode,
256
- confirmPasswordReset: () => confirmPasswordReset,
257
- connectAuthEmulator: () => connectAuthEmulator,
258
- createUserWithEmailAndPassword: () => createUserWithEmailAndPassword,
259
- deleteUser: () => deleteUser,
260
- fetchSignInMethodsForEmail: () => fetchSignInMethodsForEmail,
261
- getAdditionalUserInfo: () => getAdditionalUserInfo,
262
- getAuth: () => getAuth,
263
- getIdToken: () => getIdToken,
264
- getIdTokenResult: () => getIdTokenResult,
265
- getMultiFactorResolver: () => getMultiFactorResolver,
266
- getRedirectResult: () => getRedirectResult,
267
- initializeAuth: () => initializeAuth,
268
- initializeRecaptchaConfig: () => initializeRecaptchaConfig,
269
- isSignInWithEmailLink: () => isSignInWithEmailLink,
270
- linkWithCredential: () => linkWithCredential,
271
- linkWithPhoneNumber: () => linkWithPhoneNumber,
272
- linkWithPopup: () => linkWithPopup,
273
- linkWithRedirect: () => linkWithRedirect,
274
- multiFactor: () => multiFactor,
275
- onAuthStateChanged: () => onAuthStateChanged,
276
- onIdTokenChanged: () => onIdTokenChanged,
277
- parseActionCodeURL: () => parseActionCodeURL,
278
- reauthenticateWithCredential: () => reauthenticateWithCredential,
279
- reauthenticateWithPhoneNumber: () => reauthenticateWithPhoneNumber,
280
- reauthenticateWithPopup: () => reauthenticateWithPopup,
281
- reauthenticateWithRedirect: () => reauthenticateWithRedirect,
282
- reload: () => reload,
283
- revokeAccessToken: () => revokeAccessToken,
284
- sendEmailVerification: () => sendEmailVerification,
285
- sendPasswordResetEmail: () => sendPasswordResetEmail,
286
- sendSignInLinkToEmail: () => sendSignInLinkToEmail,
287
- setPersistence: () => setPersistence,
288
- signInAnonymously: () => signInAnonymously,
289
- signInWithCredential: () => signInWithCredential,
290
- signInWithCustomToken: () => signInWithCustomToken,
291
- signInWithEmailAndPassword: () => signInWithEmailAndPassword,
292
- signInWithEmailLink: () => signInWithEmailLink,
293
- signInWithPhoneNumber: () => signInWithPhoneNumber,
294
- signInWithPopup: () => signInWithPopup,
295
- signInWithRedirect: () => signInWithRedirect,
296
- signOut: () => signOut,
297
- unlink: () => unlink,
298
- updateCurrentUser: () => updateCurrentUser,
299
- updateEmail: () => updateEmail,
300
- updatePassword: () => updatePassword,
301
- updatePhoneNumber: () => updatePhoneNumber,
302
- updateProfile: () => updateProfile,
303
- useDeviceLanguage: () => useDeviceLanguage,
304
- validatePassword: () => validatePassword,
305
- verifyBeforeUpdateEmail: () => verifyBeforeUpdateEmail,
306
- verifyPasswordResetCode: () => verifyPasswordResetCode
307
- });
308
- __reExport(firebase_exports, auth_star);
309
- import * as auth_star from "firebase/auth";
310
- import { ɵzoneWrap as ɵzoneWrap2 } from "@angular/fire";
311
- import { applyActionCode as _applyActionCode, beforeAuthStateChanged as _beforeAuthStateChanged, checkActionCode as _checkActionCode, confirmPasswordReset as _confirmPasswordReset, connectAuthEmulator as _connectAuthEmulator, createUserWithEmailAndPassword as _createUserWithEmailAndPassword, deleteUser as _deleteUser, fetchSignInMethodsForEmail as _fetchSignInMethodsForEmail, getAdditionalUserInfo as _getAdditionalUserInfo, getAuth as _getAuth, getIdToken as _getIdToken, getIdTokenResult as _getIdTokenResult, getMultiFactorResolver as _getMultiFactorResolver, getRedirectResult as _getRedirectResult, initializeAuth as _initializeAuth, initializeRecaptchaConfig as _initializeRecaptchaConfig, isSignInWithEmailLink as _isSignInWithEmailLink, linkWithCredential as _linkWithCredential, linkWithPhoneNumber as _linkWithPhoneNumber, linkWithPopup as _linkWithPopup, linkWithRedirect as _linkWithRedirect, multiFactor as _multiFactor, onAuthStateChanged as _onAuthStateChanged, onIdTokenChanged as _onIdTokenChanged, parseActionCodeURL as _parseActionCodeURL, reauthenticateWithCredential as _reauthenticateWithCredential, reauthenticateWithPhoneNumber as _reauthenticateWithPhoneNumber, reauthenticateWithPopup as _reauthenticateWithPopup, reauthenticateWithRedirect as _reauthenticateWithRedirect, reload as _reload, revokeAccessToken as _revokeAccessToken, sendEmailVerification as _sendEmailVerification, sendPasswordResetEmail as _sendPasswordResetEmail, sendSignInLinkToEmail as _sendSignInLinkToEmail, setPersistence as _setPersistence, signInAnonymously as _signInAnonymously, signInWithCredential as _signInWithCredential, signInWithCustomToken as _signInWithCustomToken, signInWithEmailAndPassword as _signInWithEmailAndPassword, signInWithEmailLink as _signInWithEmailLink, signInWithPhoneNumber as _signInWithPhoneNumber, signInWithPopup as _signInWithPopup, signInWithRedirect as _signInWithRedirect, signOut as _signOut, unlink as _unlink, updateCurrentUser as _updateCurrentUser, updateEmail as _updateEmail, updatePassword as _updatePassword, updatePhoneNumber as _updatePhoneNumber, updateProfile as _updateProfile, useDeviceLanguage as _useDeviceLanguage, validatePassword as _validatePassword, verifyBeforeUpdateEmail as _verifyBeforeUpdateEmail, verifyPasswordResetCode as _verifyPasswordResetCode } from "firebase/auth";
312
- var applyActionCode = ɵzoneWrap2(_applyActionCode, true);
313
- var beforeAuthStateChanged = ɵzoneWrap2(_beforeAuthStateChanged, true);
314
- var checkActionCode = ɵzoneWrap2(_checkActionCode, true);
315
- var confirmPasswordReset = ɵzoneWrap2(_confirmPasswordReset, true);
316
- var connectAuthEmulator = ɵzoneWrap2(_connectAuthEmulator, true);
317
- var createUserWithEmailAndPassword = ɵzoneWrap2(_createUserWithEmailAndPassword, true);
318
- var deleteUser = ɵzoneWrap2(_deleteUser, true);
319
- var fetchSignInMethodsForEmail = ɵzoneWrap2(_fetchSignInMethodsForEmail, true);
320
- var getAdditionalUserInfo = ɵzoneWrap2(_getAdditionalUserInfo, true);
321
- var getAuth = ɵzoneWrap2(_getAuth, true);
322
- var getIdToken = ɵzoneWrap2(_getIdToken, true);
323
- var getIdTokenResult = ɵzoneWrap2(_getIdTokenResult, true);
324
- var getMultiFactorResolver = ɵzoneWrap2(_getMultiFactorResolver, true);
325
- var getRedirectResult = ɵzoneWrap2(_getRedirectResult, true);
326
- var initializeAuth = ɵzoneWrap2(_initializeAuth, true);
327
- var initializeRecaptchaConfig = ɵzoneWrap2(_initializeRecaptchaConfig, true);
328
- var isSignInWithEmailLink = ɵzoneWrap2(_isSignInWithEmailLink, true);
329
- var linkWithCredential = ɵzoneWrap2(_linkWithCredential, true);
330
- var linkWithPhoneNumber = ɵzoneWrap2(_linkWithPhoneNumber, true);
331
- var linkWithPopup = ɵzoneWrap2(_linkWithPopup, true);
332
- var linkWithRedirect = ɵzoneWrap2(_linkWithRedirect, true);
333
- var multiFactor = ɵzoneWrap2(_multiFactor, true);
334
- var onAuthStateChanged = ɵzoneWrap2(_onAuthStateChanged, true);
335
- var onIdTokenChanged = ɵzoneWrap2(_onIdTokenChanged, true);
336
- var parseActionCodeURL = ɵzoneWrap2(_parseActionCodeURL, true);
337
- var reauthenticateWithCredential = ɵzoneWrap2(_reauthenticateWithCredential, true);
338
- var reauthenticateWithPhoneNumber = ɵzoneWrap2(_reauthenticateWithPhoneNumber, true);
339
- var reauthenticateWithPopup = ɵzoneWrap2(_reauthenticateWithPopup, true);
340
- var reauthenticateWithRedirect = ɵzoneWrap2(_reauthenticateWithRedirect, true);
341
- var reload = ɵzoneWrap2(_reload, true);
342
- var revokeAccessToken = ɵzoneWrap2(_revokeAccessToken, true);
343
- var sendEmailVerification = ɵzoneWrap2(_sendEmailVerification, true);
344
- var sendPasswordResetEmail = ɵzoneWrap2(_sendPasswordResetEmail, true);
345
- var sendSignInLinkToEmail = ɵzoneWrap2(_sendSignInLinkToEmail, true);
346
- var setPersistence = ɵzoneWrap2(_setPersistence, true);
347
- var signInAnonymously = ɵzoneWrap2(_signInAnonymously, true);
348
- var signInWithCredential = ɵzoneWrap2(_signInWithCredential, true);
349
- var signInWithCustomToken = ɵzoneWrap2(_signInWithCustomToken, true);
350
- var signInWithEmailAndPassword = ɵzoneWrap2(_signInWithEmailAndPassword, true);
351
- var signInWithEmailLink = ɵzoneWrap2(_signInWithEmailLink, true);
352
- var signInWithPhoneNumber = ɵzoneWrap2(_signInWithPhoneNumber, true);
353
- var signInWithPopup = ɵzoneWrap2(_signInWithPopup, true);
354
- var signInWithRedirect = ɵzoneWrap2(_signInWithRedirect, true);
355
- var signOut = ɵzoneWrap2(_signOut, true);
356
- var unlink = ɵzoneWrap2(_unlink, true);
357
- var updateCurrentUser = ɵzoneWrap2(_updateCurrentUser, true);
358
- var updateEmail = ɵzoneWrap2(_updateEmail, true);
359
- var updatePassword = ɵzoneWrap2(_updatePassword, true);
360
- var updatePhoneNumber = ɵzoneWrap2(_updatePhoneNumber, true);
361
- var updateProfile = ɵzoneWrap2(_updateProfile, true);
362
- var useDeviceLanguage = ɵzoneWrap2(_useDeviceLanguage, true);
363
- var validatePassword = ɵzoneWrap2(_validatePassword, true);
364
- var verifyBeforeUpdateEmail = ɵzoneWrap2(_verifyBeforeUpdateEmail, true);
365
- var verifyPasswordResetCode = ɵzoneWrap2(_verifyPasswordResetCode, true);
96
+ // DO NOT MODIFY, this file is autogenerated by tools/build.ts
97
+ const applyActionCode = _zoneWrap(applyActionCode$1, true);
98
+ const beforeAuthStateChanged = _zoneWrap(beforeAuthStateChanged$1, true);
99
+ const checkActionCode = _zoneWrap(checkActionCode$1, true);
100
+ const confirmPasswordReset = _zoneWrap(confirmPasswordReset$1, true);
101
+ const connectAuthEmulator = _zoneWrap(connectAuthEmulator$1, true);
102
+ const createUserWithEmailAndPassword = _zoneWrap(createUserWithEmailAndPassword$1, true);
103
+ const deleteUser = _zoneWrap(deleteUser$1, true);
104
+ const fetchSignInMethodsForEmail = _zoneWrap(fetchSignInMethodsForEmail$1, true);
105
+ const getAdditionalUserInfo = _zoneWrap(getAdditionalUserInfo$1, true);
106
+ const getAuth = _zoneWrap(getAuth$1, true);
107
+ const getIdToken = _zoneWrap(getIdToken$1, true);
108
+ const getIdTokenResult = _zoneWrap(getIdTokenResult$1, true);
109
+ const getMultiFactorResolver = _zoneWrap(getMultiFactorResolver$1, true);
110
+ const getRedirectResult = _zoneWrap(getRedirectResult$1, true);
111
+ const initializeAuth = _zoneWrap(initializeAuth$1, true);
112
+ const initializeRecaptchaConfig = _zoneWrap(initializeRecaptchaConfig$1, true);
113
+ const isSignInWithEmailLink = _zoneWrap(isSignInWithEmailLink$1, true);
114
+ const linkWithCredential = _zoneWrap(linkWithCredential$1, true);
115
+ const linkWithPhoneNumber = _zoneWrap(linkWithPhoneNumber$1, true);
116
+ const linkWithPopup = _zoneWrap(linkWithPopup$1, true);
117
+ const linkWithRedirect = _zoneWrap(linkWithRedirect$1, true);
118
+ const multiFactor = _zoneWrap(multiFactor$1, true);
119
+ const onAuthStateChanged = _zoneWrap(onAuthStateChanged$1, true);
120
+ const onIdTokenChanged = _zoneWrap(onIdTokenChanged$1, true);
121
+ const parseActionCodeURL = _zoneWrap(parseActionCodeURL$1, true);
122
+ const reauthenticateWithCredential = _zoneWrap(reauthenticateWithCredential$1, true);
123
+ const reauthenticateWithPhoneNumber = _zoneWrap(reauthenticateWithPhoneNumber$1, true);
124
+ const reauthenticateWithPopup = _zoneWrap(reauthenticateWithPopup$1, true);
125
+ const reauthenticateWithRedirect = _zoneWrap(reauthenticateWithRedirect$1, true);
126
+ const reload = _zoneWrap(reload$1, true);
127
+ const revokeAccessToken = _zoneWrap(revokeAccessToken$1, true);
128
+ const sendEmailVerification = _zoneWrap(sendEmailVerification$1, true);
129
+ const sendPasswordResetEmail = _zoneWrap(sendPasswordResetEmail$1, true);
130
+ const sendSignInLinkToEmail = _zoneWrap(sendSignInLinkToEmail$1, true);
131
+ const setPersistence = _zoneWrap(setPersistence$1, true);
132
+ const signInAnonymously = _zoneWrap(signInAnonymously$1, true);
133
+ const signInWithCredential = _zoneWrap(signInWithCredential$1, true);
134
+ const signInWithCustomToken = _zoneWrap(signInWithCustomToken$1, true);
135
+ const signInWithEmailAndPassword = _zoneWrap(signInWithEmailAndPassword$1, true);
136
+ const signInWithEmailLink = _zoneWrap(signInWithEmailLink$1, true);
137
+ const signInWithPhoneNumber = _zoneWrap(signInWithPhoneNumber$1, true);
138
+ const signInWithPopup = _zoneWrap(signInWithPopup$1, true);
139
+ const signInWithRedirect = _zoneWrap(signInWithRedirect$1, true);
140
+ const signOut = _zoneWrap(signOut$1, true);
141
+ const unlink = _zoneWrap(unlink$1, true);
142
+ const updateCurrentUser = _zoneWrap(updateCurrentUser$1, true);
143
+ const updateEmail = _zoneWrap(updateEmail$1, true);
144
+ const updatePassword = _zoneWrap(updatePassword$1, true);
145
+ const updatePhoneNumber = _zoneWrap(updatePhoneNumber$1, true);
146
+ const updateProfile = _zoneWrap(updateProfile$1, true);
147
+ const useDeviceLanguage = _zoneWrap(useDeviceLanguage$1, true);
148
+ const validatePassword = _zoneWrap(validatePassword$1, true);
149
+ const verifyBeforeUpdateEmail = _zoneWrap(verifyBeforeUpdateEmail$1, true);
150
+ const verifyPasswordResetCode = _zoneWrap(verifyPasswordResetCode$1, true);
366
151
 
367
- // public_api.mjs
368
- __reExport(public_api_exports, firebase_exports);
152
+ /**
153
+ * Generated bundle index. Do not edit.
154
+ */
369
155
 
370
- // angular-fire-auth.mjs
371
- __reExport(angular_fire_auth_exports, public_api_exports);
372
- export {
373
- Auth,
374
- AuthInstances,
375
- AuthModule,
376
- applyActionCode,
377
- authInstance$,
378
- authState,
379
- beforeAuthStateChanged,
380
- checkActionCode,
381
- confirmPasswordReset,
382
- connectAuthEmulator,
383
- createUserWithEmailAndPassword,
384
- deleteUser,
385
- fetchSignInMethodsForEmail,
386
- getAdditionalUserInfo,
387
- getAuth,
388
- getIdToken,
389
- getIdTokenResult,
390
- getMultiFactorResolver,
391
- getRedirectResult,
392
- idToken,
393
- initializeAuth,
394
- initializeRecaptchaConfig,
395
- isSignInWithEmailLink,
396
- linkWithCredential,
397
- linkWithPhoneNumber,
398
- linkWithPopup,
399
- linkWithRedirect,
400
- multiFactor,
401
- onAuthStateChanged,
402
- onIdTokenChanged,
403
- parseActionCodeURL,
404
- provideAuth,
405
- reauthenticateWithCredential,
406
- reauthenticateWithPhoneNumber,
407
- reauthenticateWithPopup,
408
- reauthenticateWithRedirect,
409
- reload,
410
- revokeAccessToken,
411
- sendEmailVerification,
412
- sendPasswordResetEmail,
413
- sendSignInLinkToEmail,
414
- setPersistence,
415
- signInAnonymously,
416
- signInWithCredential,
417
- signInWithCustomToken,
418
- signInWithEmailAndPassword,
419
- signInWithEmailLink,
420
- signInWithPhoneNumber,
421
- signInWithPopup,
422
- signInWithRedirect,
423
- signOut,
424
- unlink,
425
- updateCurrentUser,
426
- updateEmail,
427
- updatePassword,
428
- updatePhoneNumber,
429
- updateProfile,
430
- useDeviceLanguage,
431
- user,
432
- validatePassword,
433
- verifyBeforeUpdateEmail,
434
- verifyPasswordResetCode
435
- };
156
+ export { Auth, AuthInstances, AuthModule, applyActionCode, authInstance$, authState, beforeAuthStateChanged, checkActionCode, confirmPasswordReset, connectAuthEmulator, createUserWithEmailAndPassword, deleteUser, fetchSignInMethodsForEmail, getAdditionalUserInfo, getAuth, getIdToken, getIdTokenResult, getMultiFactorResolver, getRedirectResult, idToken, initializeAuth, initializeRecaptchaConfig, isSignInWithEmailLink, linkWithCredential, linkWithPhoneNumber, linkWithPopup, linkWithRedirect, multiFactor, onAuthStateChanged, onIdTokenChanged, parseActionCodeURL, provideAuth, reauthenticateWithCredential, reauthenticateWithPhoneNumber, reauthenticateWithPopup, reauthenticateWithRedirect, reload, revokeAccessToken, sendEmailVerification, sendPasswordResetEmail, sendSignInLinkToEmail, setPersistence, signInAnonymously, signInWithCredential, signInWithCustomToken, signInWithEmailAndPassword, signInWithEmailLink, signInWithPhoneNumber, signInWithPopup, signInWithRedirect, signOut, unlink, updateCurrentUser, updateEmail, updatePassword, updatePhoneNumber, updateProfile, useDeviceLanguage, user, validatePassword, verifyBeforeUpdateEmail, verifyPasswordResetCode };
436
157
  //# sourceMappingURL=angular-fire-auth.mjs.map