@umituz/react-native-settings 5.2.10 → 5.2.12

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-settings",
3
- "version": "5.2.10",
3
+ "version": "5.2.12",
4
4
  "description": "Complete settings hub for React Native apps - consolidated package with settings, localization, about, legal, appearance, feedback, FAQs, rating, and gamification",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -39,7 +39,6 @@ export interface UseSettingsScreenConfigParams {
39
39
  additionalScreens?: AdditionalScreen[];
40
40
  features?: SettingsFeatures;
41
41
  translations?: SettingsTranslations;
42
- onBeforeDeleteAccount?: () => void;
43
42
  }
44
43
 
45
44
  export interface SettingsScreenConfigResult {
@@ -54,7 +53,7 @@ export interface SettingsScreenConfigResult {
54
53
  export const useSettingsScreenConfig = (
55
54
  params: UseSettingsScreenConfigParams
56
55
  ): SettingsScreenConfigResult => {
57
- const { appInfo, faqData, isPremium, onFeedbackSubmit, features = {}, translations, onBeforeDeleteAccount } = params;
56
+ const { appInfo, faqData, isPremium, onFeedbackSubmit, features = {}, translations } = params;
58
57
 
59
58
  const {
60
59
  notifications: showNotifications = true,
@@ -75,7 +74,7 @@ export const useSettingsScreenConfig = (
75
74
 
76
75
  // Use centralized auth handlers
77
76
  const { handleRatePress, handleSignOut, handleDeleteAccount, handleSignIn } =
78
- useAuthHandlers(appInfo, translations?.errors, { onBeforeDeleteAccount });
77
+ useAuthHandlers(appInfo, translations?.errors);
79
78
 
80
79
  // Use settings config factory
81
80
  const baseSettingsConfig = useSettingsConfigFactory({