@umituz/react-native-auth 3.5.13 → 3.5.14

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.5.13",
3
+ "version": "3.5.14",
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",
@@ -5,10 +5,6 @@
5
5
 
6
6
  export interface PasswordConfig {
7
7
  minLength: number;
8
- requireUppercase: boolean;
9
- requireLowercase: boolean;
10
- requireNumber: boolean;
11
- requireSpecialChar: boolean;
12
8
  }
13
9
 
14
10
  /**
@@ -48,10 +44,6 @@ export interface AuthConfig {
48
44
 
49
45
  export const DEFAULT_PASSWORD_CONFIG: PasswordConfig = {
50
46
  minLength: 6,
51
- requireUppercase: false,
52
- requireLowercase: false,
53
- requireNumber: false,
54
- requireSpecialChar: false,
55
47
  };
56
48
 
57
49
  export const DEFAULT_SOCIAL_CONFIG: SocialAuthConfig = {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import React, { useRef, useEffect } from "react";
7
- import { View, StyleSheet, TextInput } from "react-native";
7
+ import { StyleSheet, TextInput } from "react-native";
8
8
  import { AtomicInput, AtomicButton } from "@umituz/react-native-design-system";
9
9
  import { useLocalization } from "@umituz/react-native-localization";
10
10
  import { useLoginForm } from "../hooks/useLoginForm";
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import React, { useRef } from "react";
7
- import { View, StyleSheet, TextInput } from "react-native";
7
+ import { StyleSheet, TextInput } from "react-native";
8
8
  import { AtomicInput, AtomicButton } from "@umituz/react-native-design-system";
9
9
  import { useLocalization } from "@umituz/react-native-localization";
10
10
  import { useRegisterForm } from "../hooks/useRegisterForm";
@@ -4,7 +4,7 @@ import {
4
4
  StyleSheet,
5
5
  Platform,
6
6
  } from "react-native";
7
- import { useAppDesignTokens, Divider, AtomicButton } from "@umituz/react-native-design-system";
7
+ import { Divider, AtomicButton } from "@umituz/react-native-design-system";
8
8
  import { useLocalization } from "@umituz/react-native-localization";
9
9
  import type { SocialAuthProvider } from "../../domain/value-objects/AuthConfig";
10
10
 
@@ -31,7 +31,6 @@ export const SocialLoginButtons: React.FC<SocialLoginButtonsProps> = ({
31
31
  appleLoading = false,
32
32
  disabled = false,
33
33
  }) => {
34
- const tokens = useAppDesignTokens();
35
34
  const { t } = useLocalization();
36
35
 
37
36
  const safeEnabledProviders = enabledProviders ?? [];
@@ -8,7 +8,7 @@ import { useLocalization } from "@umituz/react-native-localization";
8
8
  import { useAuth } from "./useAuth";
9
9
  import { getAuthErrorLocalizationKey } from "../utils/getAuthErrorMessage";
10
10
  import { validateEmail, validatePasswordForLogin } from "../../infrastructure/utils/AuthValidation";
11
- import { AlertService, alertService } from "@umituz/react-native-design-system";
11
+ import { alertService } from "@umituz/react-native-design-system";
12
12
 
13
13
  export interface UseLoginFormResult {
14
14
  email: string;
@@ -14,7 +14,7 @@ import { DEFAULT_PASSWORD_CONFIG } from "../../domain/value-objects/AuthConfig";
14
14
  import { useAuth } from "./useAuth";
15
15
  import { getAuthErrorLocalizationKey } from "../utils/getAuthErrorMessage";
16
16
  import type { PasswordRequirements } from "../../infrastructure/utils/AuthValidation";
17
- import { AlertService, alertService } from "@umituz/react-native-design-system";
17
+ import { alertService } from "@umituz/react-native-design-system";
18
18
 
19
19
  export interface UseRegisterFormResult {
20
20
  displayName: string;