@react-native-firebase/auth 18.3.2 → 18.5.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [18.5.0](https://github.com/invertase/react-native-firebase/compare/v18.4.0...v18.5.0) (2023-09-22)
7
+
8
+ ### Features
9
+
10
+ - **auth:** Expose modular API that matches the Firebase web JS SDK v9 API ([e3a93bc](https://github.com/invertase/react-native-firebase/commit/e3a93bcd478ee48829d14e3016cafcd22edbd4d4))
11
+
12
+ ## [18.4.0](https://github.com/invertase/react-native-firebase/compare/v18.3.2...v18.4.0) (2023-09-11)
13
+
14
+ **Note:** Version bump only for package @react-native-firebase/auth
15
+
6
16
  ## [18.3.2](https://github.com/invertase/react-native-firebase/compare/v18.3.1...v18.3.2) (2023-09-02)
7
17
 
8
18
  **Note:** Version bump only for package @react-native-firebase/auth
package/lib/index.js CHANGED
@@ -18,17 +18,23 @@
18
18
  import {
19
19
  isAndroid,
20
20
  isBoolean,
21
- isString,
22
21
  isNull,
22
+ isString,
23
23
  isValidUrl,
24
24
  } from '@react-native-firebase/app/lib/common';
25
25
  import {
26
- createModuleNamespace,
27
26
  FirebaseModule,
27
+ createModuleNamespace,
28
28
  getFirebaseRoot,
29
29
  } from '@react-native-firebase/app/lib/internal';
30
30
  import ConfirmationResult from './ConfirmationResult';
31
31
  import PhoneAuthListener from './PhoneAuthListener';
32
+ import PhoneMultiFactorGenerator from './PhoneMultiFactorGenerator';
33
+ import Settings from './Settings';
34
+ import User from './User';
35
+ import { getMultiFactorResolver } from './getMultiFactorResolver';
36
+ import { MultiFactorUser, multiFactor } from './multiFactor';
37
+ import AppleAuthProvider from './providers/AppleAuthProvider';
32
38
  import EmailAuthProvider from './providers/EmailAuthProvider';
33
39
  import FacebookAuthProvider from './providers/FacebookAuthProvider';
34
40
  import GithubAuthProvider from './providers/GithubAuthProvider';
@@ -36,14 +42,77 @@ import GoogleAuthProvider from './providers/GoogleAuthProvider';
36
42
  import OAuthProvider from './providers/OAuthProvider';
37
43
  import OIDCAuthProvider from './providers/OIDCAuthProvider';
38
44
  import PhoneAuthProvider from './providers/PhoneAuthProvider';
39
- import PhoneMultiFactorGenerator from './PhoneMultiFactorGenerator';
40
45
  import TwitterAuthProvider from './providers/TwitterAuthProvider';
41
- import AppleAuthProvider from './providers/AppleAuthProvider';
42
- import Settings from './Settings';
43
- import User from './User';
44
46
  import version from './version';
45
- import { getMultiFactorResolver } from './getMultiFactorResolver';
46
- import { multiFactor, MultiFactorUser } from './multiFactor';
47
+
48
+ export {
49
+ applyActionCode,
50
+ beforeAuthStateChanged,
51
+ checkActionCode,
52
+ confirmPasswordReset,
53
+ connectAuthEmulator,
54
+ createUserWithEmailAndPassword,
55
+ deleteUser,
56
+ fetchSignInMethodsForEmail,
57
+ getAdditionalUserInfo,
58
+ getAuth,
59
+ getIdToken,
60
+ getIdTokenResult,
61
+ getMultiFactorResolver,
62
+ getRedirectResult,
63
+ initializeAuth,
64
+ isSignInWithEmailLink,
65
+ linkWithCredential,
66
+ linkWithPhoneNumber,
67
+ linkWithPopup,
68
+ linkWithRedirect,
69
+ multiFactor,
70
+ onAuthStateChanged,
71
+ onIdTokenChanged,
72
+ parseActionCodeURL,
73
+ reauthenticateWithCredential,
74
+ reauthenticateWithPhoneNumber,
75
+ reauthenticateWithPopup,
76
+ reauthenticateWithRedirect,
77
+ reload,
78
+ sendEmailVerification,
79
+ sendPasswordResetEmail,
80
+ sendSignInLinkToEmail,
81
+ setPersistence,
82
+ signInAnonymously,
83
+ signInWithCredential,
84
+ signInWithCustomToken,
85
+ signInWithEmailAndPassword,
86
+ signInWithEmailLink,
87
+ signInWithPhoneNumber,
88
+ signInWithPopup,
89
+ signInWithRedirect,
90
+ signOut,
91
+ unlink,
92
+ updateCurrentUser,
93
+ updateEmail,
94
+ updatePassword,
95
+ updatePhoneNumber,
96
+ updateProfile,
97
+ useDeviceLanguage,
98
+ useUserAccessGroup,
99
+ verifyBeforeUpdateEmail,
100
+ verifyPasswordResetCode,
101
+ verifyPhoneNumber,
102
+ } from './modular/index';
103
+ // For modular imports
104
+ export {
105
+ AppleAuthProvider,
106
+ EmailAuthProvider,
107
+ PhoneAuthProvider,
108
+ GoogleAuthProvider,
109
+ GithubAuthProvider,
110
+ TwitterAuthProvider,
111
+ FacebookAuthProvider,
112
+ PhoneMultiFactorGenerator,
113
+ OAuthProvider,
114
+ OIDCAuthProvider,
115
+ };
47
116
 
48
117
  const statics = {
49
118
  AppleAuthProvider,
@@ -0,0 +1,467 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ /*
3
+ * Copyright (c) 2016-present Invertase Limited & Contributors
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this library except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
19
+ import { isString } from '@react-native-firebase/app/lib/common';
20
+ import { firebase } from '..';
21
+
22
+ /*
23
+ * Returns the Auth instance associated with the provided FirebaseApp.
24
+ */
25
+ class Auth {
26
+ constructor(app) {
27
+ this.app = app ? firebase.app(app.name) : firebase.app();
28
+ this._languageCode = this.app.auth().languageCode;
29
+ }
30
+
31
+ get config() {
32
+ return this.app.auth().config;
33
+ }
34
+
35
+ get currentUser() {
36
+ return this.app.auth().currentUser;
37
+ }
38
+
39
+ get languageCode() {
40
+ return this._languageCode;
41
+ }
42
+
43
+ set languageCode(code) {
44
+ if (code === null || isString(code)) {
45
+ this._languageCode = code;
46
+ this.app.auth().languageCode = code;
47
+ return;
48
+ }
49
+ throw new Error("expected 'languageCode' to be a string or null value");
50
+ }
51
+
52
+ get settings() {
53
+ return this.app.auth().settings;
54
+ }
55
+
56
+ get tenantId() {
57
+ return this.app.auth().tenantId;
58
+ }
59
+ }
60
+
61
+ /*
62
+ * Returns the Auth instance associated with the provided FirebaseApp.
63
+ *
64
+ * If no instance exists, initializes an Auth instance with platform-specific default dependencies.
65
+ */
66
+ export function getAuth(app) {
67
+ return new Auth(app);
68
+ }
69
+
70
+ function _getUnderlyingAuth(auth) {
71
+ return auth.app.auth();
72
+ }
73
+
74
+ /*
75
+ * This function allows more control over the Auth instance than getAuth().
76
+ *
77
+ * getAuth uses platform-specific defaults to supply the Dependencies.
78
+ * In general, getAuth is the easiest way to initialize Auth and works for most use cases.
79
+ * Use initializeAuth if you need control over which persistence layer is used, or to minimize bundle size
80
+ * if you're not using either signInWithPopup or signInWithRedirect.
81
+ */
82
+ export function initializeAuth(app, deps) {
83
+ return getAuth(app);
84
+ }
85
+
86
+ /*
87
+ * Applies a verification code sent to the user by email or other out-of-band mechanism.
88
+ *
89
+ * Returns a promise that resolves when the code is applied successfully.
90
+ */
91
+ export async function applyActionCode(auth, oobCode) {
92
+ const _auth = _getUnderlyingAuth(auth);
93
+ return _auth.applyActionCode(oobCode);
94
+ }
95
+
96
+ /*
97
+ * Adds a blocking callback that runs before an auth state change sets a new user.
98
+ */
99
+ export function beforeAuthStateChanged(auth, callback, onAbort) {
100
+ throw new Error('beforeAuthStateChanged is unsupported by the native Firebase SDKs');
101
+ }
102
+
103
+ /*
104
+ * Checks a verification code sent to the user by email or other out-of-band mechanism.
105
+ */
106
+ export async function checkActionCode(auth, oobCode) {
107
+ const _auth = _getUnderlyingAuth(auth);
108
+ return _auth.checkActionCode(oobCode);
109
+ }
110
+
111
+ /*
112
+ * Completes the password reset process, given a confirmation code and new password.
113
+ */
114
+ export async function confirmPasswordReset(auth, oobCode, newPassword) {
115
+ const _auth = _getUnderlyingAuth(auth);
116
+ return _auth.confirmPasswordReset(oobCode, newPassword);
117
+ }
118
+
119
+ /*
120
+ * Changes the Auth instance to communicate with the Firebase Auth Emulator, instead of production Firebase Auth services.
121
+ *
122
+ * This must be called synchronously immediately following the first call to initializeAuth(). Do not use with production credentials as emulator traffic is not encrypted.
123
+ */
124
+ export function connectAuthEmulator(auth, url, options) {
125
+ const _auth = _getUnderlyingAuth(auth);
126
+ _auth.useEmulator(url, options);
127
+ }
128
+
129
+ /*
130
+ * Creates a new user account associated with the specified email address and password.
131
+ */
132
+ export async function createUserWithEmailAndPassword(auth, email, password) {
133
+ const _auth = _getUnderlyingAuth(auth);
134
+ return _auth.createUserWithEmailAndPassword(email, password);
135
+ }
136
+
137
+ /*
138
+ * Gets the list of possible sign in methods for the given email address.
139
+ */
140
+ export async function fetchSignInMethodsForEmail(auth, email) {
141
+ const _auth = _getUnderlyingAuth(auth);
142
+ return _auth.fetchSignInMethodsForEmail(email);
143
+ }
144
+
145
+ /*
146
+ * Provides a MultiFactorResolver suitable for completion of a multi-factor flow.
147
+ */
148
+ export function getMultiFactorResolver(auth, error) {
149
+ const _auth = _getUnderlyingAuth(auth);
150
+ return _auth.getMultiFactorResolver(error);
151
+ }
152
+
153
+ /*
154
+ * Returns a UserCredential from the redirect-based sign-in flow.
155
+ */
156
+ export async function getRedirectResult(auth, resolver) {
157
+ throw new Error('getRedirectResult is unsupported by the native Firebase SDKs');
158
+ }
159
+
160
+ /*
161
+ * Checks if an incoming link is a sign-in with email link suitable for signInWithEmailLink().
162
+ */
163
+ export function isSignInWithEmailLink(auth, emailLink) {
164
+ const _auth = _getUnderlyingAuth(auth);
165
+ return _auth.isSignInWithEmailLink(emailLink);
166
+ }
167
+
168
+ /*
169
+ * Adds an observer for changes to the user's sign-in state.
170
+ */
171
+ export function onAuthStateChanged(auth, nextOrObserver) {
172
+ const _auth = _getUnderlyingAuth(auth);
173
+ return _auth.onAuthStateChanged(nextOrObserver);
174
+ }
175
+
176
+ /*
177
+ * Adds an observer for changes to the signed-in user's ID token.
178
+ */
179
+ export function onIdTokenChanged(auth, nextOrObserver) {
180
+ const _auth = _getUnderlyingAuth(auth);
181
+ return _auth.onIdTokenChanged(nextOrObserver);
182
+ }
183
+
184
+ /*
185
+ * Sends a password reset email to the given email address.
186
+ */
187
+ export async function sendPasswordResetEmail(auth, email, actionCodeSettings) {
188
+ const _auth = _getUnderlyingAuth(auth);
189
+ return _auth.sendPasswordResetEmail(email, actionCodeSettings);
190
+ }
191
+
192
+ /*
193
+ * Sends a sign-in email link to the user with the specified email.
194
+ */
195
+ export async function sendSignInLinkToEmail(auth, email, actionCodeSettings) {
196
+ const _auth = _getUnderlyingAuth(auth);
197
+ return _auth.sendSignInLinkToEmail(email, actionCodeSettings);
198
+ }
199
+
200
+ /*
201
+ * Changes the type of persistence on the Auth instance for the currently saved Auth session and applies this type of persistence for future sign-in requests, including sign-in with redirect requests.
202
+ */
203
+ export async function setPersistence(auth, persistence) {
204
+ throw new Error('setPersistence is unsupported by the native Firebase SDKs');
205
+ }
206
+
207
+ /*
208
+ * Asynchronously signs in as an anonymous user.
209
+ */
210
+ export async function signInAnonymously(auth) {
211
+ const _auth = _getUnderlyingAuth(auth);
212
+ return _auth.signInAnonymously();
213
+ }
214
+
215
+ /*
216
+ * Asynchronously signs in with the given credentials.
217
+ */
218
+ export async function signInWithCredential(auth, credential) {
219
+ const _auth = _getUnderlyingAuth(auth);
220
+ return _auth.signInWithCredential(credential);
221
+ }
222
+
223
+ /*
224
+ * Asynchronously signs in using a custom token.
225
+ */
226
+ export async function signInWithCustomToken(auth, customToken) {
227
+ const _auth = _getUnderlyingAuth(auth);
228
+ return _auth.signInWithCustomToken(customToken);
229
+ }
230
+
231
+ /*
232
+ * Asynchronously signs in using an email and password.
233
+ */
234
+ export async function signInWithEmailAndPassword(auth, email, password) {
235
+ const _auth = _getUnderlyingAuth(auth);
236
+ return _auth.signInWithEmailAndPassword(email, password);
237
+ }
238
+
239
+ /*
240
+ * Asynchronously signs in using an email and sign-in email link.
241
+ */
242
+ export async function signInWithEmailLink(auth, email, emailLink) {
243
+ const _auth = _getUnderlyingAuth(auth);
244
+ return _auth.signInWithEmailLink(email, emailLink);
245
+ }
246
+
247
+ /*
248
+ * Asynchronously signs in using a phone number.
249
+ */
250
+ export async function signInWithPhoneNumber(auth, phoneNumber, appVerifier) {
251
+ const _auth = _getUnderlyingAuth(auth);
252
+ return _auth.signInWithPhoneNumber(phoneNumber);
253
+ }
254
+
255
+ /*
256
+ * Asynchronously signs in using a phone number.
257
+ */
258
+ export function verifyPhoneNumber(auth, phoneNumber, autoVerifyTimeoutOrForceResend, forceResend) {
259
+ const _auth = _getUnderlyingAuth(auth);
260
+ return _auth.verifyPhoneNumber(phoneNumber, autoVerifyTimeoutOrForceResend, forceResend);
261
+ }
262
+
263
+ /*
264
+ Authenticates a Firebase client using a popup-based OAuth authentication flow.
265
+ */
266
+ export async function signInWithPopup(auth, provider, resolver) {
267
+ throw new Error('signInWithPopup is unsupported by the native Firebase SDKs');
268
+ }
269
+
270
+ /*
271
+ Authenticates a Firebase client using a full-page redirect flow.
272
+ */
273
+ export async function signInWithRedirect(auth, provider, resolver) {
274
+ throw new Error('signInWithRedirect is unsupported by the native Firebase SDKs');
275
+ }
276
+
277
+ /*
278
+ Signs out the current user.
279
+ */
280
+ export async function signOut(auth) {
281
+ const _auth = _getUnderlyingAuth(auth);
282
+ return _auth.signOut();
283
+ }
284
+
285
+ /*
286
+ Asynchronously sets the provided user as Auth.currentUser on the Auth instance.
287
+ */
288
+ export async function updateCurrentUser(auth, user) {
289
+ throw new Error('updateCurrentUser is unsupported by the native Firebase SDKs');
290
+ }
291
+
292
+ /*
293
+ Sets the current language to the default device/browser preference.
294
+ */
295
+ export function useDeviceLanguage(auth) {
296
+ throw new Error('useDeviceLanguage is unsupported by the native Firebase SDKs');
297
+ }
298
+
299
+ /*
300
+ Sets the current language to the default device/browser preference.
301
+ */
302
+ export function useUserAccessGroup(auth, userAccessGroup) {
303
+ const _auth = _getUnderlyingAuth(auth);
304
+ return _auth.useUserAccessGroup(userAccessGroup);
305
+ }
306
+
307
+ /*
308
+ Verifies the password reset code sent to the user by email or other out-of-band mechanism.
309
+ */
310
+ export async function verifyPasswordResetCode(auth, code) {
311
+ const _auth = _getUnderlyingAuth(auth);
312
+ return _auth.verifyPasswordResetCode(code);
313
+ }
314
+
315
+ /*
316
+ * Parses the email action link string and returns an ActionCodeURL if the link is valid, otherwise returns null.
317
+ */
318
+ export function parseActionCodeURL(link) {
319
+ throw new Error('parseActionCodeURL is unsupported by the native Firebase SDKs');
320
+ }
321
+
322
+ /*
323
+ * Deletes and signs out the user.
324
+ */
325
+ export async function deleteUser(user) {
326
+ return user.delete();
327
+ }
328
+
329
+ /*
330
+ * Returns a JSON Web Token (JWT) used to identify the user to a Firebase service.
331
+ */
332
+ export async function getIdToken(user, forceRefresh) {
333
+ return user.getIdToken(forceRefresh);
334
+ }
335
+
336
+ /*
337
+ * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
338
+ */
339
+ export async function getIdTokenResult(user, forceRefresh) {
340
+ return user.getIdTokenResult(forceRefresh);
341
+ }
342
+
343
+ /*
344
+ * Links the user account with the given credentials.
345
+ */
346
+ export async function linkWithCredential(user, credential) {
347
+ return user.linkWithCredential(credential);
348
+ }
349
+
350
+ /*
351
+ * Links the user account with the given phone number.
352
+ */
353
+ export async function linkWithPhoneNumber(user, phoneNumber, appVerifier) {
354
+ throw new Error('linkWithPhoneNumber is unsupported by the native Firebase SDKs');
355
+ }
356
+
357
+ /*
358
+ * Links the authenticated provider to the user account using a pop-up based OAuth flow.
359
+ */
360
+ export async function linkWithPopup(user, provider, resolver) {
361
+ throw new Error('linkWithPopup is unsupported by the native Firebase SDKs');
362
+ }
363
+
364
+ /*
365
+ * Links the OAuthProvider to the user account using a full-page redirect flow.
366
+ */
367
+ export async function linkWithRedirect(user, provider, resolver) {
368
+ throw new Error('linkWithRedirect is unsupported by the native Firebase SDKs');
369
+ }
370
+
371
+ /*
372
+ * The MultiFactorUser corresponding to the user.
373
+ */
374
+ export function multiFactor(user) {
375
+ return user._auth.multiFactor(user);
376
+ }
377
+
378
+ /*
379
+ * Re-authenticates a user using a fresh credential.
380
+ */
381
+ export async function reauthenticateWithCredential(user, credential) {
382
+ return user.reauthenticateWithCredential(credential);
383
+ }
384
+
385
+ /*
386
+ * Re-authenticates a user using a fresh phone credential.
387
+ */
388
+ export async function reauthenticateWithPhoneNumber(user, phoneNumber, appVerifier) {
389
+ throw new Error('reauthenticateWithPhoneNumber is unsupported by the native Firebase SDKs');
390
+ }
391
+
392
+ /*
393
+ * Reauthenticates the current user with the specified OAuthProvider using a pop-up based OAuth flow.
394
+ */
395
+ export async function reauthenticateWithPopup(user, provider, resolver) {
396
+ throw new Error('reauthenticateWithPopup is unsupported by the native Firebase SDKs');
397
+ }
398
+
399
+ /*
400
+ * Reauthenticates the current user with the specified OAuthProvider using a full-page redirect flow.
401
+ */
402
+ export async function reauthenticateWithRedirect(user, provider, resolver) {
403
+ throw new Error('reauthenticateWithRedirect is unsupported by the native Firebase SDKs');
404
+ }
405
+
406
+ /*
407
+ * Reloads user account data, if signed in.
408
+ */
409
+ export async function reload(user) {
410
+ return user.reload();
411
+ }
412
+
413
+ /*
414
+ * Sends a verification email to a user.
415
+ */
416
+ export async function sendEmailVerification(user, actionCodeSettings) {
417
+ return user.sendEmailVerification(actionCodeSettings);
418
+ }
419
+
420
+ /*
421
+ * Unlinks a provider from a user account.
422
+ */
423
+ export async function unlink(user, providerId) {
424
+ return user.unlink(providerId);
425
+ }
426
+
427
+ /*
428
+ * Updates the user's email address.
429
+ */
430
+ export async function updateEmail(user, newEmail) {
431
+ return user.updateEmail(newEmail);
432
+ }
433
+
434
+ /*
435
+ * Updates the user's password.
436
+ */
437
+ export async function updatePassword(user, newPassword) {
438
+ return user.updatePassword(newPassword);
439
+ }
440
+
441
+ /*
442
+ * Updates the user's phone number.
443
+ */
444
+ export async function updatePhoneNumber(user, credential) {
445
+ return user.updatePhoneNumber(credential);
446
+ }
447
+
448
+ /*
449
+ * Updates a user's profile data.
450
+ */
451
+ export async function updateProfile(user, { displayName, photoURL: photoUrl }) {
452
+ return user.updateProfile({ displayName, photoURL: photoUrl });
453
+ }
454
+
455
+ /*
456
+ * Sends a verification email to a new email address.
457
+ */
458
+ export async function verifyBeforeUpdateEmail(user, newEmail, actionCodeSettings) {
459
+ return user.verifyBeforeUpdateEmail(newEmail, actionCodeSettings);
460
+ }
461
+
462
+ /*
463
+ * Extracts provider specific AdditionalUserInfo for the given credential.
464
+ */
465
+ export function getAdditionalUserInfo(userCredential) {
466
+ return userCredential.additionalUserInfo;
467
+ }
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
1
2
  /*
2
3
  * Copyright (c) 2016-present Invertase Limited & Contributors
3
4
  *
@@ -18,8 +19,11 @@
18
19
  const providerId = 'phone';
19
20
 
20
21
  export default class PhoneAuthProvider {
21
- constructor() {
22
- throw new Error('`new PhoneAuthProvider()` is not supported on the native Firebase SDKs.');
22
+ constructor(auth) {
23
+ if (auth === undefined) {
24
+ throw new Error('`new PhoneAuthProvider()` is not supported on the native Firebase SDKs.');
25
+ }
26
+ this._auth = auth;
23
27
  }
24
28
 
25
29
  static get PROVIDER_ID() {
@@ -33,4 +37,16 @@ export default class PhoneAuthProvider {
33
37
  providerId,
34
38
  };
35
39
  }
40
+
41
+ verifyPhoneNumber(phoneInfoOptions, appVerifier) {
42
+ if (phoneInfoOptions.multiFactorHint) {
43
+ return this._auth.app
44
+ .auth()
45
+ .verifyPhoneNumberWithMultiFactorInfo(
46
+ phoneInfoOptions.multiFactorHint,
47
+ phoneInfoOptions.session,
48
+ );
49
+ }
50
+ return this._auth.app.auth().verifyPhoneNumberForMultiFactor(phoneInfoOptions);
51
+ }
36
52
  }
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '18.3.2';
2
+ module.exports = '18.5.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/auth",
3
- "version": "18.3.2",
3
+ "version": "18.5.0",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - The authentication module provides an easy-to-use API to integrate an authentication workflow into new and existing applications. React Native Firebase provides access to all Firebase authentication methods and identity providers.",
6
6
  "main": "lib/index.js",
@@ -27,7 +27,7 @@
27
27
  "plist": "^3.1.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "@react-native-firebase/app": "18.3.2",
30
+ "@react-native-firebase/app": "18.5.0",
31
31
  "expo": ">=47.0.0"
32
32
  },
33
33
  "devDependencies": {
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "f323891622441c9d59a25ef37b19534db512b372"
45
+ "gitHead": "c9b695aa8fd75d5a1d070ecbb6bb9ac4e9ff062e"
46
46
  }