@umituz/react-native-auth 3.6.2 → 3.6.4

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.2",
3
+ "version": "3.6.4",
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": "^12.0.0",
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>(null);
22
+ const passwordRef = useRef<React.ElementRef<typeof TextInput>>(null);
23
23
  const {
24
24
  email,
25
25
  password,
@@ -75,12 +75,13 @@ export const LoginForm: React.FC<LoginFormProps> = ({ onNavigateToRegister }) =>
75
75
  secureTextEntry
76
76
  showPasswordToggle
77
77
  autoCapitalize="none"
78
+ autoCorrect={false}
78
79
  disabled={loading}
79
80
  state={passwordError ? "error" : "default"}
80
81
  helperText={passwordError || undefined}
81
82
  returnKeyType="done"
82
83
  onSubmitEditing={() => { void handleSignIn(); }}
83
- textContentType="password"
84
+ textContentType="oneTimeCode"
84
85
  style={styles.input}
85
86
  />
86
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>(null);
34
- const passwordRef = useRef<TextInput>(null);
35
- const confirmPasswordRef = useRef<TextInput>(null);
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,
@@ -97,13 +97,14 @@ export const RegisterForm: React.FC<RegisterFormProps> = ({
97
97
  secureTextEntry
98
98
  showPasswordToggle
99
99
  autoCapitalize="none"
100
+ autoCorrect={false}
100
101
  disabled={loading}
101
102
  state={fieldErrors.password ? "error" : "default"}
102
103
  helperText={fieldErrors.password || undefined}
103
104
  returnKeyType="next"
104
105
  onSubmitEditing={() => confirmPasswordRef.current?.focus()}
105
106
  blurOnSubmit={false}
106
- textContentType="newPassword"
107
+ textContentType="oneTimeCode"
107
108
  style={styles.input}
108
109
  />
109
110
  {password.length > 0 && (
@@ -115,18 +116,17 @@ export const RegisterForm: React.FC<RegisterFormProps> = ({
115
116
  label={t("auth.confirmPassword")}
116
117
  value={confirmPassword}
117
118
  onChangeText={handleConfirmPasswordChange}
118
- placeholder={
119
- t("auth.confirmPasswordPlaceholder")
120
- }
119
+ placeholder={t("auth.confirmPasswordPlaceholder")}
121
120
  secureTextEntry
122
121
  showPasswordToggle
123
122
  autoCapitalize="none"
123
+ autoCorrect={false}
124
124
  disabled={loading}
125
125
  state={fieldErrors.confirmPassword ? "error" : "default"}
126
126
  helperText={fieldErrors.confirmPassword || undefined}
127
127
  returnKeyType="done"
128
128
  onSubmitEditing={() => { void handleSignUp(); }}
129
- textContentType="newPassword"
129
+ textContentType="oneTimeCode"
130
130
  style={styles.input}
131
131
  />
132
132
  {confirmPassword.length > 0 && (