@truworth/twc-auth 1.1.0 → 1.2.1

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.
Files changed (202) hide show
  1. package/README.md +239 -306
  2. package/build/assets/animation/redirect-home.json +1101 -0
  3. package/build/assets/cross_icon copy.svg +5 -0
  4. package/build/assets/cross_icon.svg +5 -0
  5. package/build/assets/gender-diversity.svg +22 -0
  6. package/build/assets/logo.svg +55 -0
  7. package/build/assets/okay_icon copy.svg +3 -0
  8. package/build/assets/okay_icon.svg +3 -0
  9. package/build/src/api/axiosClient/index.js +5 -0
  10. package/build/src/api/axiosClient/index.native.js +5 -0
  11. package/build/src/components/AdvancedTransitionWrapper/index.js +380 -0
  12. package/build/src/components/AdvancedTransitionWrapper/index.native.js +10 -0
  13. package/build/src/components/AdvancedTransitionWrapper/types.js +1 -0
  14. package/build/src/components/ConfirmationModal/index.js +11 -0
  15. package/build/src/components/ConfirmationModal/index.native.js +15 -0
  16. package/build/src/components/ConfirmationModal/types.js +1 -0
  17. package/build/src/components/EmailOTPVerify/index.js +20 -0
  18. package/build/src/components/EmailOTPVerify/index.native.js +26 -0
  19. package/build/src/components/EmailOTPVerify/type.js +1 -0
  20. package/build/src/components/IonIcon/index.js +11 -0
  21. package/build/src/components/IonIcon/index.native.js +9 -0
  22. package/build/src/components/IonIcon/types.js +1 -0
  23. package/build/src/components/OTPStatusLabel/index.js +10 -0
  24. package/build/src/components/OTPStatusLabel/index.native.js +21 -0
  25. package/build/src/components/OTPStatusLabel/types.js +1 -0
  26. package/build/src/components/PasswordCriteria/hooks/usePasswordCriteria.js +78 -0
  27. package/build/src/components/PasswordCriteria/index.js +47 -0
  28. package/build/src/components/PasswordCriteria/index.native.js +19 -0
  29. package/build/src/components/PasswordCriteria/types.js +1 -0
  30. package/build/src/components/ScreenLayout/index.js +12 -0
  31. package/build/src/components/ScreenLayout/index.native.js +18 -0
  32. package/build/src/components/ScreenLayout/types.js +1 -0
  33. package/build/src/components/SupportDetails/index.js +9 -0
  34. package/build/src/components/SupportDetails/index.native.js +6 -0
  35. package/build/src/components/VerifyOTP/index.js +23 -0
  36. package/build/src/components/VerifyOTP/index.native.js +38 -0
  37. package/build/src/components/VerifyOTP/types.js +1 -0
  38. package/build/src/constants/cdn-url/index.js +1 -0
  39. package/build/src/constants/cdn-url/index.native.js +5 -0
  40. package/build/src/contexts/AuthContext.js +184 -0
  41. package/build/src/contexts/type.js +1 -0
  42. package/build/src/helpers/Network.js +93 -0
  43. package/build/src/helpers/Validation.js +12 -0
  44. package/build/src/helpers/show-message/index.js +19 -0
  45. package/build/src/helpers/show-message/index.native.js +14 -0
  46. package/build/src/helpers/show-message/types.js +1 -0
  47. package/build/src/helpers/types.js +1 -0
  48. package/build/src/hooks/internal/useAuthPackageContext.js +9 -0
  49. package/build/src/hooks/internal/useTimer.js +40 -0
  50. package/build/src/hooks/useAuthContext.js +10 -0
  51. package/build/src/hooks/useRequest.js +38 -0
  52. package/build/src/index.js +12 -0
  53. package/build/src/navigator/index.js +10 -0
  54. package/build/src/navigator/index.native.js +16 -0
  55. package/build/src/screens/CountryCode/components/CountryCodeDropdown/index.js +38 -0
  56. package/build/src/screens/CountryCode/components/CountryCodeDropdown/index.native.js +6 -0
  57. package/build/src/screens/CountryCode/components/CountryCodeDropdown/types.js +1 -0
  58. package/build/src/screens/CountryCode/hooks/internal/useCountryCode.js +38 -0
  59. package/build/src/screens/CountryCode/index.js +10 -0
  60. package/build/src/screens/CountryCode/index.native.js +37 -0
  61. package/build/src/screens/CountryCode/type.js +1 -0
  62. package/build/src/screens/CreatePassword/hooks/internal/useCreatePassword.js +52 -0
  63. package/build/src/screens/CreatePassword/index.js +43 -0
  64. package/build/src/screens/CreatePassword/index.native.js +32 -0
  65. package/build/src/screens/CreatePassword/type.js +1 -0
  66. package/build/src/screens/EnterEmail/hooks/internal/useEnterEmail.js +86 -0
  67. package/build/src/screens/EnterEmail/index.js +30 -0
  68. package/build/src/screens/EnterEmail/index.native.js +34 -0
  69. package/build/src/screens/EnterPassword/hooks/internal/useEnterPassword.js +47 -0
  70. package/build/src/screens/EnterPassword/index.js +22 -0
  71. package/build/src/screens/EnterPassword/index.native.js +23 -0
  72. package/build/src/screens/EnterPassword/types.js +1 -0
  73. package/build/src/screens/Login/components/LoginWebComponent/index.js +44 -0
  74. package/build/src/screens/Login/components/LoginWebComponent/index.native.js +6 -0
  75. package/build/src/screens/Login/index.js +10 -0
  76. package/build/src/screens/Login/index.native.js +6 -0
  77. package/build/src/screens/SignUp/components/SignUpForm/index.js +181 -0
  78. package/build/src/screens/SignUp/components/SignUpForm/index.native.js +6 -0
  79. package/build/src/screens/SignUp/components/SignUpForm/type.js +1 -0
  80. package/build/src/screens/SignUp/components/SignUpWebComponent/index.js +82 -0
  81. package/build/src/screens/SignUp/components/SignUpWebComponent/index.native.js +6 -0
  82. package/build/src/screens/SignUp/components/SignUpWebComponent/types.js +1 -0
  83. package/build/src/screens/SignUp/hooks/internal/useSignUp.js +138 -0
  84. package/build/src/screens/SignUp/index.js +6 -0
  85. package/build/src/screens/SignUp/index.native.js +185 -0
  86. package/build/src/screens/SignUp/types.js +1 -0
  87. package/build/src/screens/UserConsent/hooks/internal/useConsent.js +48 -0
  88. package/build/src/screens/UserConsent/index.js +69 -0
  89. package/build/src/screens/UserConsent/index.native.js +46 -0
  90. package/build/src/screens/UserConsent/types.js +1 -0
  91. package/build/src/screens/VerifyEmail/hooks/internal/useVerifyEmail.js +69 -0
  92. package/build/src/screens/VerifyEmail/index.js +8 -0
  93. package/build/src/screens/VerifyEmail/index.native.js +14 -0
  94. package/build/src/screens/VerifyEmail/types.js +1 -0
  95. package/build/src/screens/VerifyMobile/hooks/internal/useVerifyMobile.js +73 -0
  96. package/build/src/screens/VerifyMobile/index.js +8 -0
  97. package/build/src/screens/VerifyMobile/index.native.js +9 -0
  98. package/build/src/screens/VerifyMobile/types.js +1 -0
  99. package/build/src/screens/Welcome/hooks/internal/useWelcome.js +21 -0
  100. package/build/src/screens/Welcome/index.js +28 -0
  101. package/build/src/screens/Welcome/index.native.js +41 -0
  102. package/build/src/types/types.js +1 -0
  103. package/build/types/api/axiosClient/index.d.ts +1 -0
  104. package/build/types/api/axiosClient/index.native.d.ts +1 -0
  105. package/build/types/components/AdvancedTransitionWrapper/index.d.ts +3 -0
  106. package/build/types/components/AdvancedTransitionWrapper/index.native.d.ts +5 -0
  107. package/build/types/components/AdvancedTransitionWrapper/types.d.ts +25 -0
  108. package/build/types/components/ConfirmationModal/index.d.ts +3 -0
  109. package/build/types/components/ConfirmationModal/index.native.d.ts +3 -0
  110. package/build/types/components/ConfirmationModal/types.d.ts +13 -0
  111. package/build/types/components/EmailOTPVerify/index.d.ts +3 -0
  112. package/build/types/components/EmailOTPVerify/index.native.d.ts +3 -0
  113. package/build/types/components/EmailOTPVerify/type.d.ts +9 -0
  114. package/build/types/components/IonIcon/index.d.ts +3 -0
  115. package/build/types/components/IonIcon/index.native.d.ts +4 -0
  116. package/build/types/components/IonIcon/types.d.ts +6 -0
  117. package/build/types/components/OTPStatusLabel/index.d.ts +2 -0
  118. package/build/types/components/OTPStatusLabel/index.native.d.ts +3 -0
  119. package/build/types/components/OTPStatusLabel/types.d.ts +6 -0
  120. package/build/types/components/PasswordCriteria/hooks/usePasswordCriteria.d.ts +13 -0
  121. package/build/types/components/PasswordCriteria/index.d.ts +3 -0
  122. package/build/types/components/PasswordCriteria/index.native.d.ts +3 -0
  123. package/build/types/components/PasswordCriteria/types.d.ts +15 -0
  124. package/build/types/components/ScreenLayout/index.d.ts +3 -0
  125. package/build/types/components/ScreenLayout/index.native.d.ts +3 -0
  126. package/build/types/components/ScreenLayout/types.d.ts +12 -0
  127. package/build/types/components/SupportDetails/index.d.ts +2 -0
  128. package/build/types/components/SupportDetails/index.native.d.ts +2 -0
  129. package/build/types/components/VerifyOTP/index.d.ts +3 -0
  130. package/build/types/components/VerifyOTP/index.native.d.ts +3 -0
  131. package/build/types/components/VerifyOTP/types.d.ts +10 -0
  132. package/build/types/constants/cdn-url/index.d.ts +1 -0
  133. package/build/types/constants/cdn-url/index.native.d.ts +3 -0
  134. package/build/types/contexts/AuthContext.d.ts +36 -0
  135. package/build/types/contexts/type.d.ts +58 -0
  136. package/build/types/helpers/Network.d.ts +5 -0
  137. package/build/types/helpers/Validation.d.ts +2 -0
  138. package/build/types/helpers/show-message/index.d.ts +3 -0
  139. package/build/types/helpers/show-message/index.native.d.ts +3 -0
  140. package/build/types/helpers/show-message/types.d.ts +2 -0
  141. package/build/types/helpers/types.d.ts +13 -0
  142. package/build/types/hooks/internal/useAuthPackageContext.d.ts +1 -0
  143. package/build/types/hooks/internal/useTimer.d.ts +3 -0
  144. package/build/types/hooks/useAuthContext.d.ts +2 -0
  145. package/build/types/hooks/useRequest.d.ts +5 -0
  146. package/build/types/index.d.ts +8 -0
  147. package/build/types/navigator/index.d.ts +2 -0
  148. package/build/types/navigator/index.native.d.ts +36 -0
  149. package/build/types/screens/CountryCode/components/CountryCodeDropdown/index.d.ts +3 -0
  150. package/build/types/screens/CountryCode/components/CountryCodeDropdown/index.native.d.ts +2 -0
  151. package/build/types/screens/CountryCode/components/CountryCodeDropdown/types.d.ts +17 -0
  152. package/build/types/screens/CountryCode/hooks/internal/useCountryCode.d.ts +12 -0
  153. package/build/types/screens/CountryCode/index.d.ts +2 -0
  154. package/build/types/screens/CountryCode/index.native.d.ts +2 -0
  155. package/build/types/screens/CountryCode/type.d.ts +11 -0
  156. package/build/types/screens/CreatePassword/hooks/internal/useCreatePassword.d.ts +26 -0
  157. package/build/types/screens/CreatePassword/index.d.ts +3 -0
  158. package/build/types/screens/CreatePassword/index.native.d.ts +4 -0
  159. package/build/types/screens/CreatePassword/type.d.ts +43 -0
  160. package/build/types/screens/EnterEmail/hooks/internal/useEnterEmail.d.ts +24 -0
  161. package/build/types/screens/EnterEmail/index.d.ts +7 -0
  162. package/build/types/screens/EnterEmail/index.native.d.ts +4 -0
  163. package/build/types/screens/EnterPassword/hooks/internal/useEnterPassword.d.ts +20 -0
  164. package/build/types/screens/EnterPassword/index.d.ts +3 -0
  165. package/build/types/screens/EnterPassword/index.native.d.ts +4 -0
  166. package/build/types/screens/EnterPassword/types.d.ts +5 -0
  167. package/build/types/screens/Login/components/LoginWebComponent/index.d.ts +2 -0
  168. package/build/types/screens/Login/components/LoginWebComponent/index.native.d.ts +2 -0
  169. package/build/types/screens/Login/index.d.ts +2 -0
  170. package/build/types/screens/Login/index.native.d.ts +2 -0
  171. package/build/types/screens/SignUp/components/SignUpForm/index.d.ts +3 -0
  172. package/build/types/screens/SignUp/components/SignUpForm/index.native.d.ts +2 -0
  173. package/build/types/screens/SignUp/components/SignUpForm/type.d.ts +9 -0
  174. package/build/types/screens/SignUp/components/SignUpWebComponent/index.d.ts +2 -0
  175. package/build/types/screens/SignUp/components/SignUpWebComponent/index.native.d.ts +2 -0
  176. package/build/types/screens/SignUp/components/SignUpWebComponent/types.d.ts +24 -0
  177. package/build/types/screens/SignUp/hooks/internal/useSignUp.d.ts +50 -0
  178. package/build/types/screens/SignUp/index.d.ts +2 -0
  179. package/build/types/screens/SignUp/index.native.d.ts +4 -0
  180. package/build/types/screens/SignUp/types.d.ts +18 -0
  181. package/build/types/screens/UserConsent/hooks/internal/useConsent.d.ts +10 -0
  182. package/build/types/screens/UserConsent/index.d.ts +3 -0
  183. package/build/types/screens/UserConsent/index.native.d.ts +4 -0
  184. package/build/types/screens/UserConsent/types.d.ts +27 -0
  185. package/build/types/screens/VerifyEmail/hooks/internal/useVerifyEmail.d.ts +19 -0
  186. package/build/types/screens/VerifyEmail/index.d.ts +3 -0
  187. package/build/types/screens/VerifyEmail/index.native.d.ts +4 -0
  188. package/build/types/screens/VerifyEmail/types.d.ts +8 -0
  189. package/build/types/screens/VerifyMobile/hooks/internal/useVerifyMobile.d.ts +14 -0
  190. package/build/types/screens/VerifyMobile/index.d.ts +3 -0
  191. package/build/types/screens/VerifyMobile/index.native.d.ts +4 -0
  192. package/build/types/screens/VerifyMobile/types.d.ts +5 -0
  193. package/build/types/screens/Welcome/hooks/internal/useWelcome.d.ts +14 -0
  194. package/build/types/screens/Welcome/index.d.ts +4 -0
  195. package/build/types/screens/Welcome/index.native.d.ts +4 -0
  196. package/build/types/types/types.d.ts +90 -0
  197. package/get-metro-config.js +40 -0
  198. package/get-next-config.js +26 -0
  199. package/package.json +86 -38
  200. package/dist/index.esm.js +0 -2028
  201. package/dist/index.umd.js +0 -70
  202. package/dist/vite.svg +0 -1
@@ -0,0 +1,90 @@
1
+ import type { AxiosRequestConfig, AxiosResponseHeaders } from 'axios';
2
+ type RegistrationMethod = 'email' | 'mobile' | null;
3
+ interface MemberProfile {
4
+ id?: string;
5
+ email?: string;
6
+ name?: string;
7
+ firstName?: string;
8
+ lastName?: string;
9
+ [key: string]: any;
10
+ }
11
+ interface ClientProfile {
12
+ name: string;
13
+ clientId: number;
14
+ image: string;
15
+ partner: Partner;
16
+ directClient: boolean;
17
+ }
18
+ interface Partner {
19
+ id: number;
20
+ name: string;
21
+ image: string;
22
+ key: string;
23
+ isActive: boolean;
24
+ createdAt: string;
25
+ }
26
+ interface Profile {
27
+ memberId: string;
28
+ firstName: string;
29
+ lastName: string;
30
+ image: string;
31
+ bio: string;
32
+ email: string;
33
+ emailVerified: boolean;
34
+ gender: string;
35
+ dateOfBirth: string;
36
+ countryCode: string;
37
+ phone: string;
38
+ phoneVerified: boolean;
39
+ clientId: number;
40
+ clientName: string;
41
+ clientImage: string;
42
+ partner: Partner;
43
+ directClient: boolean;
44
+ plan: any;
45
+ planExpiryDate: string | null;
46
+ whatsappNumber: string | null;
47
+ whatsappCountryCode: string | null;
48
+ whatsappConsent: boolean | null;
49
+ }
50
+ interface Country {
51
+ countryCode: string;
52
+ phoneCode: string;
53
+ name: string;
54
+ }
55
+ export type BaseRequestOptions = Omit<AxiosRequestConfig, 'data'> & {
56
+ data?: AxiosRequestConfig['data'];
57
+ body?: any;
58
+ onSuccess?: (data: any, headers?: AxiosResponseHeaders) => void;
59
+ onFailure?: (err: any) => void;
60
+ };
61
+ export type HttpClientOptions = {
62
+ token: string;
63
+ onRefreshSession?: (token: string) => Promise<any>;
64
+ onLogout?: () => void;
65
+ };
66
+ interface RegistrationParams {
67
+ sessionToken: string;
68
+ phone: string;
69
+ email?: string;
70
+ token?: string;
71
+ member?: MemberProfile;
72
+ [key: string]: any;
73
+ }
74
+ interface PersonalDetails {
75
+ email: string;
76
+ phone: string;
77
+ firstName: string;
78
+ lastName: string;
79
+ countryCode?: string;
80
+ gender: string;
81
+ selectedDOB?: string;
82
+ referralCode?: string;
83
+ registrationToken?: string;
84
+ clientId?: number | string;
85
+ registrationMethod?: RegistrationMethod;
86
+ password?: string;
87
+ confirmPassword?: string;
88
+ }
89
+ export type UseRequestOptions = BaseRequestOptions;
90
+ export type { RegistrationParams, MemberProfile, ClientProfile, Partner, Profile, Country, RegistrationMethod, PersonalDetails };
@@ -0,0 +1,40 @@
1
+ const path = require("path");
2
+ const escape = require("escape-string-regexp");
3
+ const exclusionList = require("metro-config/src/defaults/exclusionList");
4
+
5
+ // normalize to POSIX style so we control slashes consistently
6
+ const toPosix = (p) => p.replace(/\\/g, "/");
7
+
8
+ const getMetroConfig = (dirPath, packagePath) => {
9
+ const packageDir = path.resolve(dirPath, packagePath);
10
+ const packageJson = require(path.resolve(packageDir, "package.json"));
11
+ const packagePeerDeps = Object.keys(packageJson.peerDependencies || {});
12
+
13
+ console.log("====================================");
14
+ console.log("Watching:", packageJson["name"]);
15
+ console.log("PeerDeps:", packagePeerDeps);
16
+ console.log("====================================");
17
+
18
+ return {
19
+ watchFolders: [packageDir],
20
+ resolver: {
21
+ // Use blockList (not deprecated blacklistRE)
22
+ blockList: exclusionList(
23
+ packagePeerDeps.map((peerDep) => {
24
+ // Build a forward-slash path and escape it for regex
25
+ const base = toPosix(path.join(packageDir, "node_modules", peerDep));
26
+ // After base, allow either "/" or "\" via a non-capturing group
27
+ const pattern = `^${escape(base)}(?:/|\\\\).*$`;
28
+ return new RegExp(pattern);
29
+ })
30
+ ),
31
+
32
+ extraNodeModules: packagePeerDeps.reduce((acc, name) => {
33
+ acc[name] = path.join(dirPath, "node_modules", name);
34
+ return acc;
35
+ }, {}),
36
+ },
37
+ };
38
+ };
39
+
40
+ module.exports = { getMetroConfig };
@@ -0,0 +1,26 @@
1
+ const path = require("path");
2
+
3
+ const getNextConfig = (dirPath, packagePath) => {
4
+ const packageDir = path.resolve(dirPath, packagePath)
5
+ const packageJson = require(path.resolve(packageDir, 'package.json'))
6
+ const packagePeerDeps = Object.keys(packageJson.peerDependencies || {})
7
+ const packageName = packageJson['name']
8
+ const packagePeerDepsAlias = packagePeerDeps.reduce((acc, name) => {
9
+ acc[name] = path.join(dirPath, 'node_modules', name);
10
+ return acc;
11
+ }, {})
12
+
13
+ console.log('====================================');
14
+ console.log('Watching:', packageName);
15
+ console.log('PeerDeps:', packagePeerDeps);
16
+ console.log('====================================');
17
+ return {
18
+ packageName,
19
+ webpackAlias: {
20
+ ...packagePeerDepsAlias,
21
+ [packageName]: packageDir,
22
+ }
23
+ }
24
+ }
25
+
26
+ module.exports = { getNextConfig }
package/package.json CHANGED
@@ -1,50 +1,98 @@
1
1
  {
2
2
  "name": "@truworth/twc-auth",
3
- "version": "1.1.0",
4
- "type": "module",
5
- "main": "dist/index.esm.js",
6
- "module": "dist/index.esm.js",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.esm.js",
12
- "require": "./dist/index.umd.js"
13
- }
3
+ "publishConfig": {
4
+ "access": "public"
14
5
  },
6
+ "description": "Truworth Auth Package for React Native and Web",
7
+ "version": "1.2.1",
8
+ "main": "build/src/index.js",
9
+ "types": "build/types/index.d.ts",
15
10
  "files": [
16
- "dist"
11
+ "build/**/*",
12
+ "get-metro-config.js",
13
+ "get-next-config.js"
17
14
  ],
18
15
  "scripts": {
19
- "dev": "vite",
20
- "build": "tsc --project tsconfig.build.json && vite build",
21
- "build:types": "tsc --project tsconfig.build.json",
22
- "lint": "eslint .",
23
- "preview": "vite preview"
24
- },
25
- "dependencies": {
26
- "react": "^18.2.0",
27
- "react-dom": "^18.2.0"
16
+ "test": "echo \"Error: no test specified\" && exit 1",
17
+ "clean": "del-cli build *.tgz",
18
+ "build": "npm run clean && tsc && copyfiles \"assets/**/*.*\" build",
19
+ "bundle": "npm run build && npm pack",
20
+ "pub": "git add . && git commit -m \"Updates\" && git push && npm run build && npm version patch && npm publish"
28
21
  },
29
22
  "devDependencies": {
30
- "@eslint/js": "^9.25.0",
31
- "@truworth/twc-web-design": "^1.0.5",
32
- "@types/node": "^20.0.0",
33
- "@types/react": "^18.2.38",
34
- "@types/react-dom": "^18.2.15",
35
- "@vitejs/plugin-react": "^4.4.1",
36
- "eslint": "^9.25.0",
37
- "eslint-plugin-react-hooks": "^5.2.0",
38
- "eslint-plugin-react-refresh": "^0.4.19",
39
- "globals": "^16.0.0",
40
- "typescript": "~5.8.3",
41
- "typescript-eslint": "^8.30.1",
42
- "vite": "^6.3.5",
43
- "vite-plugin-dts": "^4.5.0"
44
- },
45
- "peerDependencies": {
23
+ "@invertase/react-native-apple-authentication": "^1.1.2",
24
+ "@react-native-clipboard/clipboard": "1.14.1",
25
+ "@react-native-community/datetimepicker": "8.1.1",
26
+ "@react-navigation/native": "^6.1.17",
27
+ "@react-navigation/native-stack": "^6.10.0",
28
+ "@truworth/twc-rn-common": "^1.0.15",
29
+ "@truworth/twc-web-common": "^1.0.11",
30
+ "@truworth/twc-web-design": "^1.9.0",
31
+ "@twotalltotems/react-native-otp-input": "1.3.11",
32
+ "@types/crypto-js": "^4.2.2",
33
+ "@types/fbemitter": "^2.0.35",
34
+ "@types/lodash": "^4.17.15",
35
+ "@types/react": "^18.2.0",
36
+ "@types/react-native": "^0.72.0",
37
+ "@types/react-google-recaptcha": "^2.1.9",
38
+ "@ui-kitten/components": "^5.1.2",
39
+ "antd": "^5.6.3",
40
+ "copyfiles": "^2.4.1",
41
+ "crypto-js": "^4.2.0",
42
+ "del-cli": "^6.0.0",
43
+ "fbemitter": "^3.0.0",
44
+ "js-crypto-rsa": "^1.0.7",
45
+ "lottie-react": "^2.4.1",
46
+ "lottie-react-native": "6.7.2",
47
+ "moment": "^2.30.1",
48
+ "next": "^15.0.4",
46
49
  "react": "^18.2.0",
47
50
  "react-dom": "^18.2.0",
48
- "@truworth/twc-web-design": "^1.0.0"
51
+ "react-infinite-scroll-component": "^6.1.0",
52
+ "react-lottie": "^1.2.3",
53
+ "react-native": "^0.74.5",
54
+ "react-native-fast-image": "^8.6.3",
55
+ "react-native-fbsdk-next": "^13.4.1",
56
+ "react-native-freshchat-sdk": "^4.7.8",
57
+ "react-native-linear-gradient": "^2.8.3",
58
+ "react-native-modalize": "2.1.1",
59
+ "react-native-parsed-text": "^0.0.22",
60
+ "react-native-reanimated": "^3.13.0",
61
+ "react-native-rsa-native": "^2.0.5",
62
+ "react-native-safe-area-context": "^5.3.0",
63
+ "react-native-svg": "15.8.0",
64
+ "react-native-svg-uri": "^1.2.3",
65
+ "react-google-recaptcha": "^3.1.0",
66
+ "react-native-vector-icons": "^9.2.0",
67
+ "react-redux": "^9.2.0",
68
+ "sweetalert2": "^11.23.0",
69
+ "typescript": "^5.0.0"
70
+ },
71
+ "peerDependencies": {
72
+ "@react-google-maps/api": ">=2.20.6",
73
+ "@react-native-community/datetimepicker": ">=8.1.1",
74
+ "@react-navigation/native": ">=6.1.17",
75
+ "@react-navigation/native-stack": ">=6.10.0",
76
+ "@truworth/twc-rn-common": ">=1.0.12",
77
+ "@truworth/twc-web-common": ">=1.0.7",
78
+ "@truworth/twc-web-design": ">=1.9.0",
79
+ "@ui-kitten/components": ">=5.1.2",
80
+ "antd": ">=5.6.3",
81
+ "framer-motion": ">=12.6.2",
82
+ "lodash": ">=4.17.21",
83
+ "lottie-react-native": ">=6.7.2",
84
+ "lucide-react": ">=0.483.0",
85
+ "next": ">=13.4.19",
86
+ "react": ">=18.2.0",
87
+ "react-dom": ">=18.2.0",
88
+ "react-native": ">=0.74.5",
89
+ "react-native-fast-image": ">=8.6.3",
90
+ "react-native-freshchat-sdk": ">=4.6.6",
91
+ "react-native-linear-gradient": ">=2.8.3",
92
+ "react-native-modalize": ">=2.1.1",
93
+ "react-native-reanimated": ">=3.13.0",
94
+ "react-native-safe-area-context": ">=5.3.0",
95
+ "react-native-svg": ">=15.8.0",
96
+ "react-native-vector-icons": ">=9.2.0"
49
97
  }
50
98
  }