@umituz/react-native-auth 3.8.1 → 3.8.2

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.8.1",
3
+ "version": "3.8.2",
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",
@@ -80,9 +80,9 @@ export function useAuthBottomSheet(params: UseAuthBottomSheetParams = {}) {
80
80
  executePendingCallback();
81
81
  });
82
82
 
83
- // Cleanup timeout on unmount
84
83
  return () => clearTimeout(timeoutId);
85
84
  }
85
+ return undefined;
86
86
  }
87
87
  );
88
88
 
@@ -69,7 +69,7 @@ export function useFormField(
69
69
  */
70
70
  export function useFormFields<T extends Record<string, string>>(
71
71
  initialFields: T,
72
- setFieldErrors: ((errors: Partial<Record<string, string>> | ((prev: Partial<Record<string, string>>) => Partial<Record<string, string>>)) => void) | null,
72
+ _setFieldErrors: ((errors: Partial<Record<string, string>> | ((prev: Partial<Record<string, string>>) => Partial<Record<string, string>>)) => void) | null,
73
73
  options?: UseFormFieldOptions
74
74
  ) {
75
75
  type FieldKey = keyof T;