@umituz/react-native-auth 3.4.32 → 3.4.34
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/README.md +347 -348
- package/package.json +2 -3
- package/src/application/README.md +323 -442
- package/src/domain/ConfigAndErrors.md +296 -431
- package/src/domain/README.md +361 -210
- package/src/domain/entities/AuthUser.md +231 -372
- package/src/domain/entities/UserProfile.md +271 -441
- package/src/index.ts +35 -0
- package/src/infrastructure/README.md +388 -444
- package/src/infrastructure/services/README.md +386 -312
- package/src/infrastructure/utils/validation/BaseValidators.ts +35 -0
- package/src/infrastructure/utils/validation/CollectionValidators.ts +56 -0
- package/src/infrastructure/utils/validation/DateValidators.ts +63 -0
- package/src/infrastructure/utils/validation/FormValidators.ts +22 -0
- package/src/infrastructure/utils/validation/NumberValidators.ts +55 -0
- package/src/infrastructure/utils/validation/StringValidators.ts +55 -0
- package/src/infrastructure/utils/validation/sanitization.ts +98 -0
- package/src/infrastructure/utils/validation/types.ts +15 -0
- package/src/presentation/README.md +631 -563
- package/src/presentation/components/ProfileComponents.md +307 -504
- package/src/presentation/components/README.md +254 -92
- package/src/presentation/hooks/README.md +247 -83
- package/src/presentation/hooks/useAccountManagement.md +295 -344
- package/src/presentation/hooks/useAuth.md +271 -227
- package/src/presentation/hooks/useAuthBottomSheet.md +417 -367
- package/src/presentation/hooks/useAuthRequired.md +308 -194
- package/src/presentation/hooks/useProfileUpdate.md +251 -279
- package/src/presentation/hooks/useSocialLogin.md +312 -287
- package/src/presentation/hooks/useUserProfile.md +259 -192
- package/src/presentation/screens/README.md +151 -153
package/src/index.ts
CHANGED
|
@@ -86,6 +86,41 @@ export type {
|
|
|
86
86
|
PasswordRequirements,
|
|
87
87
|
ValidationConfig,
|
|
88
88
|
} from './infrastructure/utils/AuthValidation';
|
|
89
|
+
export {
|
|
90
|
+
validateRequired,
|
|
91
|
+
validatePattern,
|
|
92
|
+
} from './infrastructure/utils/validation/BaseValidators';
|
|
93
|
+
export {
|
|
94
|
+
validateMinLength,
|
|
95
|
+
validateMaxLength,
|
|
96
|
+
validatePhone,
|
|
97
|
+
} from './infrastructure/utils/validation/StringValidators';
|
|
98
|
+
export {
|
|
99
|
+
validateNumberRange,
|
|
100
|
+
validatePositiveNumber,
|
|
101
|
+
validateAge,
|
|
102
|
+
} from './infrastructure/utils/validation/NumberValidators';
|
|
103
|
+
export {
|
|
104
|
+
validateDateOfBirth,
|
|
105
|
+
validateDateRange,
|
|
106
|
+
} from './infrastructure/utils/validation/DateValidators';
|
|
107
|
+
export {
|
|
108
|
+
validateEnum,
|
|
109
|
+
validateTags,
|
|
110
|
+
} from './infrastructure/utils/validation/CollectionValidators';
|
|
111
|
+
export {
|
|
112
|
+
batchValidate,
|
|
113
|
+
} from './infrastructure/utils/validation/FormValidators';
|
|
114
|
+
export {
|
|
115
|
+
SECURITY_LIMITS,
|
|
116
|
+
sanitizeWhitespace,
|
|
117
|
+
sanitizeEmail,
|
|
118
|
+
sanitizePassword,
|
|
119
|
+
sanitizeName,
|
|
120
|
+
sanitizeText,
|
|
121
|
+
containsDangerousChars,
|
|
122
|
+
isWithinLengthLimit,
|
|
123
|
+
} from './infrastructure/utils/validation/sanitization';
|
|
89
124
|
export {
|
|
90
125
|
DEFAULT_VAL_CONFIG,
|
|
91
126
|
} from './infrastructure/utils/AuthValidation';
|