@umituz/react-native-auth 3.6.3 → 3.6.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-auth",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.5",
|
|
4
4
|
"description": "Authentication service for React Native apps - Secure, type-safe, and production-ready. Provider-agnostic design with dependency injection, configurable validation, and comprehensive error handling.",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -53,10 +53,13 @@
|
|
|
53
53
|
"@expo/vector-icons": "^15.0.3",
|
|
54
54
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
55
55
|
"@react-native-community/datetimepicker": "^8.5.1",
|
|
56
|
+
"@react-native-community/slider": "^5.1.1",
|
|
56
57
|
"@react-navigation/bottom-tabs": "^7.9.0",
|
|
57
58
|
"@react-navigation/native": "^7.1.26",
|
|
58
59
|
"@react-navigation/stack": "^7.6.13",
|
|
60
|
+
"@tanstack/query-async-storage-persister": "^5.66.7",
|
|
59
61
|
"@tanstack/react-query": "^5.0.0",
|
|
62
|
+
"@tanstack/react-query-persist-client": "^5.66.7",
|
|
60
63
|
"@types/node": "^20.0.0",
|
|
61
64
|
"@types/react": "~19.1.0",
|
|
62
65
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
@@ -67,14 +70,26 @@
|
|
|
67
70
|
"expo-application": "^7.0.8",
|
|
68
71
|
"expo-auth-session": "^5.0.0",
|
|
69
72
|
"expo-clipboard": "^8.0.8",
|
|
70
|
-
"expo-crypto": "^
|
|
73
|
+
"expo-crypto": "^15.0.8",
|
|
71
74
|
"expo-device": "^8.0.10",
|
|
72
75
|
"expo-file-system": "^19.0.21",
|
|
76
|
+
"expo-font": "^14.0.10",
|
|
73
77
|
"expo-haptics": "^15.0.8",
|
|
78
|
+
"expo-image": "^3.0.11",
|
|
79
|
+
"expo-image-manipulator": "^14.0.8",
|
|
80
|
+
"expo-image-picker": "^17.0.10",
|
|
81
|
+
"expo-localization": "^17.0.8",
|
|
82
|
+
"expo-media-library": "^18.2.1",
|
|
83
|
+
"expo-modules-core": "^3.0.29",
|
|
84
|
+
"expo-network": "^8.0.8",
|
|
74
85
|
"expo-sharing": "^14.0.8",
|
|
86
|
+
"expo-secure-store": "^15.0.8",
|
|
87
|
+
"expo-video": "^3.0.15",
|
|
75
88
|
"expo-web-browser": "^12.0.0",
|
|
76
89
|
"firebase": "^11.0.0",
|
|
90
|
+
"i18next": "^25.7.3",
|
|
77
91
|
"react": "~19.1.0",
|
|
92
|
+
"react-i18next": "^16.5.1",
|
|
78
93
|
"react-native": "~0.81.5",
|
|
79
94
|
"react-native-gesture-handler": "^2.0.0",
|
|
80
95
|
"react-native-safe-area-context": "^4.0.0",
|
|
@@ -19,7 +19,7 @@ interface LoginFormProps {
|
|
|
19
19
|
|
|
20
20
|
export const LoginForm: React.FC<LoginFormProps> = ({ onNavigateToRegister }) => {
|
|
21
21
|
const { t } = useLocalization();
|
|
22
|
-
const passwordRef = useRef<TextInput
|
|
22
|
+
const passwordRef = useRef<React.ElementRef<typeof TextInput>>(null);
|
|
23
23
|
const {
|
|
24
24
|
email,
|
|
25
25
|
password,
|
|
@@ -82,7 +82,6 @@ export const LoginForm: React.FC<LoginFormProps> = ({ onNavigateToRegister }) =>
|
|
|
82
82
|
returnKeyType="done"
|
|
83
83
|
onSubmitEditing={() => { void handleSignIn(); }}
|
|
84
84
|
textContentType="oneTimeCode"
|
|
85
|
-
autoComplete="off"
|
|
86
85
|
style={styles.input}
|
|
87
86
|
/>
|
|
88
87
|
|
|
@@ -30,9 +30,9 @@ export const RegisterForm: React.FC<RegisterFormProps> = ({
|
|
|
30
30
|
onPrivacyPress,
|
|
31
31
|
}) => {
|
|
32
32
|
const { t } = useLocalization();
|
|
33
|
-
const emailRef = useRef<TextInput
|
|
34
|
-
const passwordRef = useRef<TextInput
|
|
35
|
-
const confirmPasswordRef = useRef<TextInput
|
|
33
|
+
const emailRef = useRef<React.ElementRef<typeof TextInput>>(null);
|
|
34
|
+
const passwordRef = useRef<React.ElementRef<typeof TextInput>>(null);
|
|
35
|
+
const confirmPasswordRef = useRef<React.ElementRef<typeof TextInput>>(null);
|
|
36
36
|
|
|
37
37
|
const {
|
|
38
38
|
displayName,
|
|
@@ -105,7 +105,6 @@ export const RegisterForm: React.FC<RegisterFormProps> = ({
|
|
|
105
105
|
onSubmitEditing={() => confirmPasswordRef.current?.focus()}
|
|
106
106
|
blurOnSubmit={false}
|
|
107
107
|
textContentType="oneTimeCode"
|
|
108
|
-
autoComplete="off"
|
|
109
108
|
style={styles.input}
|
|
110
109
|
/>
|
|
111
110
|
{password.length > 0 && (
|
|
@@ -128,7 +127,6 @@ export const RegisterForm: React.FC<RegisterFormProps> = ({
|
|
|
128
127
|
returnKeyType="done"
|
|
129
128
|
onSubmitEditing={() => { void handleSignUp(); }}
|
|
130
129
|
textContentType="oneTimeCode"
|
|
131
|
-
autoComplete="off"
|
|
132
130
|
style={styles.input}
|
|
133
131
|
/>
|
|
134
132
|
{confirmPassword.length > 0 && (
|