@react-native-firebase/auth 21.7.1 → 21.7.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/lib/index.d.ts +1 -3
- package/lib/modular/index.d.ts +1 -0
- package/lib/version.js +1 -1
- package/lib/web/RNFBAuthModule.js +1 -1
- package/package.json +4 -4
- package/plugin/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
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
|
+
## [21.7.2](https://github.com/invertase/react-native-firebase/compare/v21.7.1...v21.7.2) (2025-02-05)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/auth
|
9
|
+
|
6
10
|
## [21.7.1](https://github.com/invertase/react-native-firebase/compare/v21.7.0...v21.7.1) (2025-01-20)
|
7
11
|
|
8
12
|
**Note:** Version bump only for package @react-native-firebase/auth
|
package/README.md
CHANGED
@@ -50,7 +50,7 @@ yarn add @react-native-firebase/auth
|
|
50
50
|
---
|
51
51
|
|
52
52
|
<p>
|
53
|
-
<img align="left" width="75px" src="https://static.invertase.io/assets/invertase-
|
53
|
+
<img align="left" width="75px" src="https://static.invertase.io/assets/invertase/invertase-rounded.png">
|
54
54
|
<p align="left">
|
55
55
|
Built and maintained with 💛 by <a href="https://invertase.io">Invertase</a>.
|
56
56
|
</p>
|
package/lib/index.d.ts
CHANGED
@@ -258,7 +258,7 @@ export namespace FirebaseAuthTypes {
|
|
258
258
|
ERROR: 'error';
|
259
259
|
}
|
260
260
|
|
261
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-
|
261
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
262
262
|
export interface MultiFactorSession {
|
263
263
|
// this is has no documented contents, it is simply returned from some APIs and passed to others
|
264
264
|
}
|
@@ -1428,7 +1428,6 @@ export namespace FirebaseAuthTypes {
|
|
1428
1428
|
* const user = firebase.auth().currentUser.toJSON();
|
1429
1429
|
* ```
|
1430
1430
|
*/
|
1431
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
1432
1431
|
toJSON(): object;
|
1433
1432
|
|
1434
1433
|
/**
|
@@ -2191,7 +2190,6 @@ export default defaultExport;
|
|
2191
2190
|
* Attach namespace to `firebase.` and `FirebaseApp.`.
|
2192
2191
|
*/
|
2193
2192
|
declare module '@react-native-firebase/app' {
|
2194
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2195
2193
|
namespace ReactNativeFirebase {
|
2196
2194
|
import FirebaseModuleWithStaticsAndApp = ReactNativeFirebase.FirebaseModuleWithStaticsAndApp;
|
2197
2195
|
interface Module {
|
package/lib/modular/index.d.ts
CHANGED
@@ -147,6 +147,7 @@ export function getMultiFactorResolver(
|
|
147
147
|
* @param resolver - Optional. The popup redirect resolver.
|
148
148
|
* @returns A promise that resolves with the user credentials or null.
|
149
149
|
*/
|
150
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
150
151
|
export interface PopupRedirectResolver {}
|
151
152
|
|
152
153
|
export function getRedirectResult(
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '21.7.
|
2
|
+
module.exports = '21.7.2';
|
@@ -113,7 +113,7 @@ function userToObject(user) {
|
|
113
113
|
* @param {string|null} secret - The secret to use for the credential.
|
114
114
|
* @returns {AuthCredential|null} - The AuthCredential object.
|
115
115
|
*/
|
116
|
-
function getAuthCredential(
|
116
|
+
function getAuthCredential(_auth, provider, token, secret) {
|
117
117
|
if (provider.startsWith('oidc.')) {
|
118
118
|
return new OAuthProvider(provider).credential({
|
119
119
|
idToken: token,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/auth",
|
3
|
-
"version": "21.7.
|
3
|
+
"version": "21.7.2",
|
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,12 +27,12 @@
|
|
27
27
|
"plist": "^3.1.0"
|
28
28
|
},
|
29
29
|
"peerDependencies": {
|
30
|
-
"@react-native-firebase/app": "21.7.
|
30
|
+
"@react-native-firebase/app": "21.7.2",
|
31
31
|
"expo": ">=47.0.0"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
34
|
"@types/plist": "^3.0.5",
|
35
|
-
"expo": "^
|
35
|
+
"expo": "^52.0.30"
|
36
36
|
},
|
37
37
|
"peerDependenciesMeta": {
|
38
38
|
"expo": {
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"publishConfig": {
|
43
43
|
"access": "public"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "209b36e4b469355e4d024ecdeb6c875f8bd8a187"
|
46
46
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"root":["./src/index.ts","./src/pluginConfig.ts","./src/ios/index.ts","./src/ios/openUrlFix.ts","./src/ios/urlTypes.ts"],"version":"5.
|
1
|
+
{"root":["./src/index.ts","./src/pluginConfig.ts","./src/ios/index.ts","./src/ios/openUrlFix.ts","./src/ios/urlTypes.ts"],"version":"5.7.3"}
|