@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.
- package/README.md +239 -306
- package/build/assets/animation/redirect-home.json +1101 -0
- package/build/assets/cross_icon copy.svg +5 -0
- package/build/assets/cross_icon.svg +5 -0
- package/build/assets/gender-diversity.svg +22 -0
- package/build/assets/logo.svg +55 -0
- package/build/assets/okay_icon copy.svg +3 -0
- package/build/assets/okay_icon.svg +3 -0
- package/build/src/api/axiosClient/index.js +5 -0
- package/build/src/api/axiosClient/index.native.js +5 -0
- package/build/src/components/AdvancedTransitionWrapper/index.js +380 -0
- package/build/src/components/AdvancedTransitionWrapper/index.native.js +10 -0
- package/build/src/components/AdvancedTransitionWrapper/types.js +1 -0
- package/build/src/components/ConfirmationModal/index.js +11 -0
- package/build/src/components/ConfirmationModal/index.native.js +15 -0
- package/build/src/components/ConfirmationModal/types.js +1 -0
- package/build/src/components/EmailOTPVerify/index.js +20 -0
- package/build/src/components/EmailOTPVerify/index.native.js +26 -0
- package/build/src/components/EmailOTPVerify/type.js +1 -0
- package/build/src/components/IonIcon/index.js +11 -0
- package/build/src/components/IonIcon/index.native.js +9 -0
- package/build/src/components/IonIcon/types.js +1 -0
- package/build/src/components/OTPStatusLabel/index.js +10 -0
- package/build/src/components/OTPStatusLabel/index.native.js +21 -0
- package/build/src/components/OTPStatusLabel/types.js +1 -0
- package/build/src/components/PasswordCriteria/hooks/usePasswordCriteria.js +78 -0
- package/build/src/components/PasswordCriteria/index.js +47 -0
- package/build/src/components/PasswordCriteria/index.native.js +19 -0
- package/build/src/components/PasswordCriteria/types.js +1 -0
- package/build/src/components/ScreenLayout/index.js +12 -0
- package/build/src/components/ScreenLayout/index.native.js +18 -0
- package/build/src/components/ScreenLayout/types.js +1 -0
- package/build/src/components/SupportDetails/index.js +9 -0
- package/build/src/components/SupportDetails/index.native.js +6 -0
- package/build/src/components/VerifyOTP/index.js +23 -0
- package/build/src/components/VerifyOTP/index.native.js +38 -0
- package/build/src/components/VerifyOTP/types.js +1 -0
- package/build/src/constants/cdn-url/index.js +1 -0
- package/build/src/constants/cdn-url/index.native.js +5 -0
- package/build/src/contexts/AuthContext.js +184 -0
- package/build/src/contexts/type.js +1 -0
- package/build/src/helpers/Network.js +93 -0
- package/build/src/helpers/Validation.js +12 -0
- package/build/src/helpers/show-message/index.js +19 -0
- package/build/src/helpers/show-message/index.native.js +14 -0
- package/build/src/helpers/show-message/types.js +1 -0
- package/build/src/helpers/types.js +1 -0
- package/build/src/hooks/internal/useAuthPackageContext.js +9 -0
- package/build/src/hooks/internal/useTimer.js +40 -0
- package/build/src/hooks/useAuthContext.js +10 -0
- package/build/src/hooks/useRequest.js +38 -0
- package/build/src/index.js +12 -0
- package/build/src/navigator/index.js +10 -0
- package/build/src/navigator/index.native.js +16 -0
- package/build/src/screens/CountryCode/components/CountryCodeDropdown/index.js +38 -0
- package/build/src/screens/CountryCode/components/CountryCodeDropdown/index.native.js +6 -0
- package/build/src/screens/CountryCode/components/CountryCodeDropdown/types.js +1 -0
- package/build/src/screens/CountryCode/hooks/internal/useCountryCode.js +38 -0
- package/build/src/screens/CountryCode/index.js +10 -0
- package/build/src/screens/CountryCode/index.native.js +37 -0
- package/build/src/screens/CountryCode/type.js +1 -0
- package/build/src/screens/CreatePassword/hooks/internal/useCreatePassword.js +52 -0
- package/build/src/screens/CreatePassword/index.js +43 -0
- package/build/src/screens/CreatePassword/index.native.js +32 -0
- package/build/src/screens/CreatePassword/type.js +1 -0
- package/build/src/screens/EnterEmail/hooks/internal/useEnterEmail.js +86 -0
- package/build/src/screens/EnterEmail/index.js +30 -0
- package/build/src/screens/EnterEmail/index.native.js +34 -0
- package/build/src/screens/EnterPassword/hooks/internal/useEnterPassword.js +47 -0
- package/build/src/screens/EnterPassword/index.js +22 -0
- package/build/src/screens/EnterPassword/index.native.js +23 -0
- package/build/src/screens/EnterPassword/types.js +1 -0
- package/build/src/screens/Login/components/LoginWebComponent/index.js +44 -0
- package/build/src/screens/Login/components/LoginWebComponent/index.native.js +6 -0
- package/build/src/screens/Login/index.js +10 -0
- package/build/src/screens/Login/index.native.js +6 -0
- package/build/src/screens/SignUp/components/SignUpForm/index.js +181 -0
- package/build/src/screens/SignUp/components/SignUpForm/index.native.js +6 -0
- package/build/src/screens/SignUp/components/SignUpForm/type.js +1 -0
- package/build/src/screens/SignUp/components/SignUpWebComponent/index.js +82 -0
- package/build/src/screens/SignUp/components/SignUpWebComponent/index.native.js +6 -0
- package/build/src/screens/SignUp/components/SignUpWebComponent/types.js +1 -0
- package/build/src/screens/SignUp/hooks/internal/useSignUp.js +138 -0
- package/build/src/screens/SignUp/index.js +6 -0
- package/build/src/screens/SignUp/index.native.js +185 -0
- package/build/src/screens/SignUp/types.js +1 -0
- package/build/src/screens/UserConsent/hooks/internal/useConsent.js +48 -0
- package/build/src/screens/UserConsent/index.js +69 -0
- package/build/src/screens/UserConsent/index.native.js +46 -0
- package/build/src/screens/UserConsent/types.js +1 -0
- package/build/src/screens/VerifyEmail/hooks/internal/useVerifyEmail.js +69 -0
- package/build/src/screens/VerifyEmail/index.js +8 -0
- package/build/src/screens/VerifyEmail/index.native.js +14 -0
- package/build/src/screens/VerifyEmail/types.js +1 -0
- package/build/src/screens/VerifyMobile/hooks/internal/useVerifyMobile.js +73 -0
- package/build/src/screens/VerifyMobile/index.js +8 -0
- package/build/src/screens/VerifyMobile/index.native.js +9 -0
- package/build/src/screens/VerifyMobile/types.js +1 -0
- package/build/src/screens/Welcome/hooks/internal/useWelcome.js +21 -0
- package/build/src/screens/Welcome/index.js +28 -0
- package/build/src/screens/Welcome/index.native.js +41 -0
- package/build/src/types/types.js +1 -0
- package/build/types/api/axiosClient/index.d.ts +1 -0
- package/build/types/api/axiosClient/index.native.d.ts +1 -0
- package/build/types/components/AdvancedTransitionWrapper/index.d.ts +3 -0
- package/build/types/components/AdvancedTransitionWrapper/index.native.d.ts +5 -0
- package/build/types/components/AdvancedTransitionWrapper/types.d.ts +25 -0
- package/build/types/components/ConfirmationModal/index.d.ts +3 -0
- package/build/types/components/ConfirmationModal/index.native.d.ts +3 -0
- package/build/types/components/ConfirmationModal/types.d.ts +13 -0
- package/build/types/components/EmailOTPVerify/index.d.ts +3 -0
- package/build/types/components/EmailOTPVerify/index.native.d.ts +3 -0
- package/build/types/components/EmailOTPVerify/type.d.ts +9 -0
- package/build/types/components/IonIcon/index.d.ts +3 -0
- package/build/types/components/IonIcon/index.native.d.ts +4 -0
- package/build/types/components/IonIcon/types.d.ts +6 -0
- package/build/types/components/OTPStatusLabel/index.d.ts +2 -0
- package/build/types/components/OTPStatusLabel/index.native.d.ts +3 -0
- package/build/types/components/OTPStatusLabel/types.d.ts +6 -0
- package/build/types/components/PasswordCriteria/hooks/usePasswordCriteria.d.ts +13 -0
- package/build/types/components/PasswordCriteria/index.d.ts +3 -0
- package/build/types/components/PasswordCriteria/index.native.d.ts +3 -0
- package/build/types/components/PasswordCriteria/types.d.ts +15 -0
- package/build/types/components/ScreenLayout/index.d.ts +3 -0
- package/build/types/components/ScreenLayout/index.native.d.ts +3 -0
- package/build/types/components/ScreenLayout/types.d.ts +12 -0
- package/build/types/components/SupportDetails/index.d.ts +2 -0
- package/build/types/components/SupportDetails/index.native.d.ts +2 -0
- package/build/types/components/VerifyOTP/index.d.ts +3 -0
- package/build/types/components/VerifyOTP/index.native.d.ts +3 -0
- package/build/types/components/VerifyOTP/types.d.ts +10 -0
- package/build/types/constants/cdn-url/index.d.ts +1 -0
- package/build/types/constants/cdn-url/index.native.d.ts +3 -0
- package/build/types/contexts/AuthContext.d.ts +36 -0
- package/build/types/contexts/type.d.ts +58 -0
- package/build/types/helpers/Network.d.ts +5 -0
- package/build/types/helpers/Validation.d.ts +2 -0
- package/build/types/helpers/show-message/index.d.ts +3 -0
- package/build/types/helpers/show-message/index.native.d.ts +3 -0
- package/build/types/helpers/show-message/types.d.ts +2 -0
- package/build/types/helpers/types.d.ts +13 -0
- package/build/types/hooks/internal/useAuthPackageContext.d.ts +1 -0
- package/build/types/hooks/internal/useTimer.d.ts +3 -0
- package/build/types/hooks/useAuthContext.d.ts +2 -0
- package/build/types/hooks/useRequest.d.ts +5 -0
- package/build/types/index.d.ts +8 -0
- package/build/types/navigator/index.d.ts +2 -0
- package/build/types/navigator/index.native.d.ts +36 -0
- package/build/types/screens/CountryCode/components/CountryCodeDropdown/index.d.ts +3 -0
- package/build/types/screens/CountryCode/components/CountryCodeDropdown/index.native.d.ts +2 -0
- package/build/types/screens/CountryCode/components/CountryCodeDropdown/types.d.ts +17 -0
- package/build/types/screens/CountryCode/hooks/internal/useCountryCode.d.ts +12 -0
- package/build/types/screens/CountryCode/index.d.ts +2 -0
- package/build/types/screens/CountryCode/index.native.d.ts +2 -0
- package/build/types/screens/CountryCode/type.d.ts +11 -0
- package/build/types/screens/CreatePassword/hooks/internal/useCreatePassword.d.ts +26 -0
- package/build/types/screens/CreatePassword/index.d.ts +3 -0
- package/build/types/screens/CreatePassword/index.native.d.ts +4 -0
- package/build/types/screens/CreatePassword/type.d.ts +43 -0
- package/build/types/screens/EnterEmail/hooks/internal/useEnterEmail.d.ts +24 -0
- package/build/types/screens/EnterEmail/index.d.ts +7 -0
- package/build/types/screens/EnterEmail/index.native.d.ts +4 -0
- package/build/types/screens/EnterPassword/hooks/internal/useEnterPassword.d.ts +20 -0
- package/build/types/screens/EnterPassword/index.d.ts +3 -0
- package/build/types/screens/EnterPassword/index.native.d.ts +4 -0
- package/build/types/screens/EnterPassword/types.d.ts +5 -0
- package/build/types/screens/Login/components/LoginWebComponent/index.d.ts +2 -0
- package/build/types/screens/Login/components/LoginWebComponent/index.native.d.ts +2 -0
- package/build/types/screens/Login/index.d.ts +2 -0
- package/build/types/screens/Login/index.native.d.ts +2 -0
- package/build/types/screens/SignUp/components/SignUpForm/index.d.ts +3 -0
- package/build/types/screens/SignUp/components/SignUpForm/index.native.d.ts +2 -0
- package/build/types/screens/SignUp/components/SignUpForm/type.d.ts +9 -0
- package/build/types/screens/SignUp/components/SignUpWebComponent/index.d.ts +2 -0
- package/build/types/screens/SignUp/components/SignUpWebComponent/index.native.d.ts +2 -0
- package/build/types/screens/SignUp/components/SignUpWebComponent/types.d.ts +24 -0
- package/build/types/screens/SignUp/hooks/internal/useSignUp.d.ts +50 -0
- package/build/types/screens/SignUp/index.d.ts +2 -0
- package/build/types/screens/SignUp/index.native.d.ts +4 -0
- package/build/types/screens/SignUp/types.d.ts +18 -0
- package/build/types/screens/UserConsent/hooks/internal/useConsent.d.ts +10 -0
- package/build/types/screens/UserConsent/index.d.ts +3 -0
- package/build/types/screens/UserConsent/index.native.d.ts +4 -0
- package/build/types/screens/UserConsent/types.d.ts +27 -0
- package/build/types/screens/VerifyEmail/hooks/internal/useVerifyEmail.d.ts +19 -0
- package/build/types/screens/VerifyEmail/index.d.ts +3 -0
- package/build/types/screens/VerifyEmail/index.native.d.ts +4 -0
- package/build/types/screens/VerifyEmail/types.d.ts +8 -0
- package/build/types/screens/VerifyMobile/hooks/internal/useVerifyMobile.d.ts +14 -0
- package/build/types/screens/VerifyMobile/index.d.ts +3 -0
- package/build/types/screens/VerifyMobile/index.native.d.ts +4 -0
- package/build/types/screens/VerifyMobile/types.d.ts +5 -0
- package/build/types/screens/Welcome/hooks/internal/useWelcome.d.ts +14 -0
- package/build/types/screens/Welcome/index.d.ts +4 -0
- package/build/types/screens/Welcome/index.native.d.ts +4 -0
- package/build/types/types/types.d.ts +90 -0
- package/get-metro-config.js +40 -0
- package/get-next-config.js +26 -0
- package/package.json +86 -38
- package/dist/index.esm.js +0 -2028
- package/dist/index.umd.js +0 -70
- 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
|
-
"
|
|
4
|
-
|
|
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
|
-
"
|
|
11
|
+
"build/**/*",
|
|
12
|
+
"get-metro-config.js",
|
|
13
|
+
"get-next-config.js"
|
|
17
14
|
],
|
|
18
15
|
"scripts": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"build
|
|
22
|
-
"
|
|
23
|
-
"
|
|
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
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
"
|
|
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
|
}
|