@umituz/react-native-settings 4.21.4 → 4.21.6

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": "4.21.4",
3
+ "version": "4.21.6",
4
4
  "description": "Complete settings hub for React Native apps - consolidated package with settings, about, legal, appearance, feedback, FAQs, rating, and gamification",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -78,28 +78,11 @@ export interface FAQData {
78
78
  }
79
79
 
80
80
  /**
81
- * Account screen configuration from auth package
81
+ * Import AccountScreenConfig from auth package
82
82
  */
83
- export interface AccountConfig {
84
- profile: {
85
- displayName?: string;
86
- userId?: string;
87
- isAnonymous: boolean;
88
- avatarUrl?: string;
89
- };
90
- isAnonymous: boolean;
91
- editProfileText?: string;
92
- onSignIn?: () => void;
93
- onEditProfile?: () => void;
94
- accountActions?: {
95
- onSignOut: () => void;
96
- onDeleteAccount: () => void;
97
- signOutText: string;
98
- deleteAccountText: string;
99
- confirmDeleteTitle: string;
100
- confirmDeleteMessage: string;
101
- };
102
- }
83
+ import type { AccountScreenConfig } from "@umituz/react-native-auth";
84
+
85
+ export type AccountConfig = AccountScreenConfig;
103
86
 
104
87
  /**
105
88
  * Settings Stack Navigator Props