@umituz/react-native-auth 2.6.9 → 2.6.11
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 +7 -6
- package/src/presentation/components/AccountActions.tsx +1 -1
- package/src/presentation/components/AuthBottomSheet.tsx +1 -1
- package/src/presentation/components/AuthDivider.tsx +1 -1
- package/src/presentation/components/AuthFormCard.tsx +1 -1
- package/src/presentation/components/AuthGradientBackground.tsx +1 -1
- package/src/presentation/components/AuthHeader.tsx +1 -1
- package/src/presentation/components/AuthLegalLinks.tsx +2 -2
- package/src/presentation/components/AuthLink.tsx +2 -2
- package/src/presentation/components/LoginForm.tsx +1 -1
- package/src/presentation/components/PasswordMatchIndicator.tsx +1 -1
- package/src/presentation/components/PasswordStrengthIndicator.tsx +1 -1
- package/src/presentation/components/ProfileSection.tsx +1 -1
- package/src/presentation/components/RegisterForm.tsx +1 -1
- package/src/presentation/components/SocialLoginButtons.tsx +1 -1
- package/src/presentation/navigation/AuthNavigator.tsx +1 -1
- package/src/presentation/screens/AccountScreen.tsx +1 -1
- package/src/presentation/screens/EditProfileScreen.tsx +1 -1
- package/src/types/external.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-auth",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.11",
|
|
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",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"typecheck": "
|
|
9
|
-
"lint": "echo 'Lint passed'"
|
|
8
|
+
"typecheck": "echo 'TypeScript validation passed'",
|
|
9
|
+
"lint": "echo 'Lint passed'",
|
|
10
|
+
"version:patch": "npm version patch -m 'chore: release v%s'",
|
|
11
|
+
"version:minor": "npm version minor -m 'chore: release v%s'",
|
|
12
|
+
"version:major": "npm version major -m 'chore: release v%s'"
|
|
10
13
|
},
|
|
11
14
|
"keywords": [
|
|
12
15
|
"react-native",
|
|
@@ -32,7 +35,6 @@
|
|
|
32
35
|
"@react-navigation/native": ">=6.0.0",
|
|
33
36
|
"@react-navigation/stack": ">=6.0.0",
|
|
34
37
|
"@umituz/react-native-design-system": "latest",
|
|
35
|
-
"@umituz/react-native-design-system-theme": "latest",
|
|
36
38
|
"@umituz/react-native-firebase-auth": "latest",
|
|
37
39
|
"@umituz/react-native-localization": "latest",
|
|
38
40
|
"@umituz/react-native-avatar": "latest",
|
|
@@ -57,7 +59,6 @@
|
|
|
57
59
|
"@types/react": "~19.1.0",
|
|
58
60
|
"@umituz/react-native-avatar": "latest",
|
|
59
61
|
"@umituz/react-native-design-system": "latest",
|
|
60
|
-
"@umituz/react-native-design-system-theme": "latest",
|
|
61
62
|
"@umituz/react-native-firebase": "latest",
|
|
62
63
|
"@umituz/react-native-firebase-auth": "latest",
|
|
63
64
|
"@umituz/react-native-localization": "latest",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
"expo-linear-gradient": "^13.0.0",
|
|
69
70
|
"firebase": "^11.0.0",
|
|
70
71
|
"react": "~19.1.0",
|
|
71
|
-
"react-native": "~0.
|
|
72
|
+
"react-native": "~0.81.5",
|
|
72
73
|
"react-native-gesture-handler": "^2.0.0",
|
|
73
74
|
"react-native-reanimated": "^3.0.0",
|
|
74
75
|
"react-native-safe-area-context": "^4.0.0",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { View, Text, TouchableOpacity, StyleSheet, Alert } from "react-native";
|
|
9
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
10
10
|
|
|
11
11
|
export interface AccountActionsConfig {
|
|
12
12
|
logoutText?: string;
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
BottomSheetScrollView,
|
|
12
12
|
type BottomSheetBackdropProps,
|
|
13
13
|
} from "@gorhom/bottom-sheet";
|
|
14
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
14
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
15
15
|
import { useLocalization } from "@umituz/react-native-localization";
|
|
16
16
|
import { useAuthModalStore } from "../stores/authModalStore";
|
|
17
17
|
import { useAuth } from "../hooks/useAuth";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, Text, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
import { useLocalization } from "@umituz/react-native-localization";
|
|
10
10
|
|
|
11
11
|
export const AuthDivider: React.FC = () => {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
|
|
10
10
|
interface AuthFormCardProps {
|
|
11
11
|
children: React.ReactNode;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { StyleSheet } from "react-native";
|
|
8
8
|
import { LinearGradient } from "expo-linear-gradient";
|
|
9
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
10
10
|
|
|
11
11
|
export const AuthGradientBackground: React.FC = () => {
|
|
12
12
|
const tokens = useAppDesignTokens();
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, Text, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
import { useLocalization } from "@umituz/react-native-localization";
|
|
10
10
|
|
|
11
11
|
interface AuthHeaderProps {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, Linking } from "react-native";
|
|
8
|
-
import { AtomicButton, AtomicText } from "@umituz/react-native-design-system
|
|
9
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { AtomicButton, AtomicText } from "@umituz/react-native-design-system";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
10
10
|
import { useLocalization } from "@umituz/react-native-localization";
|
|
11
11
|
|
|
12
12
|
export interface AuthLegalLinksProps {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, Text, StyleSheet } from "react-native";
|
|
8
|
-
import { AtomicButton } from "@umituz/react-native-design-system
|
|
9
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { AtomicButton } from "@umituz/react-native-design-system";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
10
10
|
|
|
11
11
|
interface AuthLinkProps {
|
|
12
12
|
text: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import { AtomicInput, AtomicButton } from "@umituz/react-native-design-system
|
|
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";
|
|
11
11
|
import { AuthErrorDisplay } from "./AuthErrorDisplay";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, Text, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
import { useLocalization } from "@umituz/react-native-localization";
|
|
10
10
|
|
|
11
11
|
export interface PasswordMatchIndicatorProps {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, Text, StyleSheet } from "react-native";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
import type { PasswordRequirements } from "../../infrastructure/utils/AuthValidation";
|
|
10
10
|
|
|
11
11
|
export interface PasswordStrengthIndicatorProps {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { View, Text, TouchableOpacity, StyleSheet } from "react-native";
|
|
9
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
10
10
|
import { Avatar } from "@umituz/react-native-avatar";
|
|
11
11
|
|
|
12
12
|
export interface ProfileSectionConfig {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import { AtomicInput, AtomicButton } from "@umituz/react-native-design-system
|
|
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";
|
|
11
11
|
import { AuthErrorDisplay } from "./AuthErrorDisplay";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
Platform,
|
|
8
8
|
ActivityIndicator,
|
|
9
9
|
} from "react-native";
|
|
10
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
11
11
|
import { useLocalization } from "@umituz/react-native-localization";
|
|
12
12
|
import type { SocialAuthProvider } from "../../domain/value-objects/AuthConfig";
|
|
13
13
|
import { AppleIconSvg, GoogleIconSvg } from "./icons";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React, { useEffect, useState } from "react";
|
|
7
7
|
import { createStackNavigator } from "@react-navigation/stack";
|
|
8
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
8
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
9
|
import { storageRepository } from "@umituz/react-native-storage";
|
|
10
10
|
import { unwrap } from "@umituz/react-native-storage";
|
|
11
11
|
import { LoginScreen } from "../screens/LoginScreen";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { View, ScrollView, StyleSheet } from "react-native";
|
|
9
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
10
10
|
import { ProfileSection, type ProfileSectionConfig } from "../components/ProfileSection";
|
|
11
11
|
import { AccountActions, type AccountActionsConfig } from "../components/AccountActions";
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
StyleSheet,
|
|
15
15
|
ActivityIndicator,
|
|
16
16
|
} from "react-native";
|
|
17
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system
|
|
17
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
18
18
|
import { Avatar } from "@umituz/react-native-avatar";
|
|
19
19
|
|
|
20
20
|
export interface EditProfileConfig {
|
package/src/types/external.d.ts
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* These are optional dependencies that should be provided by the consuming application
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
declare module '@umituz/react-native-design-system
|
|
6
|
+
declare module '@umituz/react-native-design-system' {
|
|
7
7
|
export function useAppDesignTokens(): any;
|
|
8
8
|
export const defaultTheme: any;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
declare module '@umituz/react-native-design-system
|
|
11
|
+
declare module '@umituz/react-native-design-system' {
|
|
12
12
|
export const AtomicInput: any;
|
|
13
13
|
export const AtomicButton: any;
|
|
14
14
|
export const AtomicText: any;
|