@tap-payments/auth-jsconnect 2.0.64-test → 2.0.66-test
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/build/api/auth.d.ts +1 -0
- package/build/api/auth.js +5 -1
- package/build/api/index.d.ts +1 -0
- package/build/features/app/business/businessStore.js +21 -18
- package/build/features/auth/Auth.js +1 -1
- package/build/features/bank/Bank.js +1 -1
- package/build/features/business/Business.js +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.js +0 -2
- package/build/features/connect/Connect.js +1 -1
- package/build/features/entity/Entity.js +1 -1
- package/build/features/individual/Individual.js +1 -1
- package/build/features/otp/OTP.js +1 -1
- package/build/features/password/Password.js +1 -1
- package/build/features/signIn/SignIn.js +1 -1
- package/build/features/tax/Tax.js +1 -1
- package/package.json +129 -129
package/build/api/auth.d.ts
CHANGED
|
@@ -73,5 +73,6 @@ declare const authService: {
|
|
|
73
73
|
createPassword: (data: CreatePasswordBody) => Promise<any>;
|
|
74
74
|
verifyAuthKitOTP: (data: VerifyAuthKitOTPBody) => Promise<any>;
|
|
75
75
|
getVerifyAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
|
|
76
|
+
getTokenVerify: (token: string, config?: AxiosRequestConfig) => Promise<any>;
|
|
76
77
|
};
|
|
77
78
|
export { authService };
|
package/build/api/auth.js
CHANGED
|
@@ -27,6 +27,9 @@ var createPassword = function (data) {
|
|
|
27
27
|
var getVerifyAuth = function (token, config) {
|
|
28
28
|
return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.AUTH, "/").concat(token) }, config));
|
|
29
29
|
};
|
|
30
|
+
var getTokenVerify = function (token, config) {
|
|
31
|
+
return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.TOKEN_VERIFY, "/").concat(token) }, config));
|
|
32
|
+
};
|
|
30
33
|
var verifyAuthKitOTP = function (data) {
|
|
31
34
|
return httpClient({
|
|
32
35
|
method: 'post',
|
|
@@ -39,6 +42,7 @@ var authService = {
|
|
|
39
42
|
verifyAuth: verifyAuth,
|
|
40
43
|
createPassword: createPassword,
|
|
41
44
|
verifyAuthKitOTP: verifyAuthKitOTP,
|
|
42
|
-
getVerifyAuth: getVerifyAuth
|
|
45
|
+
getVerifyAuth: getVerifyAuth,
|
|
46
|
+
getTokenVerify: getTokenVerify
|
|
43
47
|
};
|
|
44
48
|
export { authService };
|
package/build/api/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ declare const API: {
|
|
|
24
24
|
createPassword: (data: CreatePasswordBody) => Promise<any>;
|
|
25
25
|
verifyAuthKitOTP: (data: import("./auth").VerifyAuthKitOTPBody) => Promise<any>;
|
|
26
26
|
getVerifyAuth: (token: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
27
|
+
getTokenVerify: (token: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
27
28
|
};
|
|
28
29
|
leadService: {
|
|
29
30
|
createLead: (data: CreateLeadBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -262,9 +262,9 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
|
|
|
262
262
|
}); });
|
|
263
263
|
export var verifyPACI = createAsyncThunk('verifyPACI', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
264
264
|
var _a, settings, business, responseBody, expiry, interval, maxCalls, response, count, data, isSuccess;
|
|
265
|
-
var _b, _c;
|
|
266
|
-
return __generator(this, function (
|
|
267
|
-
switch (
|
|
265
|
+
var _b, _c, _d, _e;
|
|
266
|
+
return __generator(this, function (_f) {
|
|
267
|
+
switch (_f.label) {
|
|
268
268
|
case 0:
|
|
269
269
|
_a = thunkApi.getState(), settings = _a.settings, business = _a.business;
|
|
270
270
|
responseBody = business.data.civilIdData.responseBody;
|
|
@@ -276,29 +276,32 @@ export var verifyPACI = createAsyncThunk('verifyPACI', function (params, thunkAp
|
|
|
276
276
|
return [2, { response: null }];
|
|
277
277
|
}
|
|
278
278
|
count = 1;
|
|
279
|
-
|
|
279
|
+
_f.label = 1;
|
|
280
280
|
case 1:
|
|
281
|
-
if (!(count <= maxCalls)) return [3,
|
|
282
|
-
return [4, API.authService.
|
|
281
|
+
if (!(count <= maxCalls)) return [3, 8];
|
|
282
|
+
return [4, API.authService.getTokenVerify(responseBody === null || responseBody === void 0 ? void 0 : responseBody.verify_token)];
|
|
283
283
|
case 2:
|
|
284
|
-
data =
|
|
284
|
+
data = _f.sent();
|
|
285
285
|
response = data;
|
|
286
|
-
if (count === 1) {
|
|
287
|
-
}
|
|
288
286
|
isSuccess = ((_b = data.status) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'success';
|
|
289
|
-
if (!isSuccess) return [3,
|
|
290
|
-
return [4, ((
|
|
287
|
+
if (!isSuccess) return [3, 5];
|
|
288
|
+
return [4, thunkApi.dispatch(retrieveEntityList({ leadId: responseBody === null || responseBody === void 0 ? void 0 : responseBody.id }))];
|
|
291
289
|
case 3:
|
|
292
|
-
|
|
293
|
-
_d
|
|
294
|
-
|
|
295
|
-
case
|
|
296
|
-
|
|
297
|
-
|
|
290
|
+
_f.sent();
|
|
291
|
+
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, {});
|
|
292
|
+
return [4, ((_e = params === null || params === void 0 ? void 0 : params.onSuccess) === null || _e === void 0 ? void 0 : _e.call(params))];
|
|
293
|
+
case 4:
|
|
294
|
+
_f.sent();
|
|
295
|
+
thunkApi.dispatch(handleNextScreenStep());
|
|
296
|
+
return [3, 8];
|
|
297
|
+
case 5: return [4, sleep(interval * 1000)];
|
|
298
298
|
case 6:
|
|
299
|
+
_f.sent();
|
|
300
|
+
_f.label = 7;
|
|
301
|
+
case 7:
|
|
299
302
|
count++;
|
|
300
303
|
return [3, 1];
|
|
301
|
-
case
|
|
304
|
+
case 8: return [2, { response: response }];
|
|
302
305
|
}
|
|
303
306
|
});
|
|
304
307
|
}); });
|
|
@@ -82,6 +82,6 @@ export function unmountAuthLib(elementId, unmountTimeout) {
|
|
|
82
82
|
var _a;
|
|
83
83
|
((_a = element === null || element === void 0 ? void 0 : element.children) === null || _a === void 0 ? void 0 : _a.length) && element.removeChild(element.children[0]);
|
|
84
84
|
removeElement(DIALOG_ID);
|
|
85
|
-
reactElement(elementId).unmount();
|
|
85
|
+
elementId && reactElement(elementId).unmount();
|
|
86
86
|
}, unmountTimeout);
|
|
87
87
|
}
|
|
@@ -64,6 +64,6 @@ export function unmountBankLib(elementId) {
|
|
|
64
64
|
var _a;
|
|
65
65
|
((_a = element === null || element === void 0 ? void 0 : element.children) === null || _a === void 0 ? void 0 : _a.length) && element.removeChild(element.children[0]);
|
|
66
66
|
removeElement(DIALOG_ID);
|
|
67
|
-
reactElement(elementId).unmount();
|
|
67
|
+
elementId && reactElement(elementId).unmount();
|
|
68
68
|
}, 1000);
|
|
69
69
|
}
|
|
@@ -65,6 +65,6 @@ export function unmountBusinessLib(elementId, unmountTimeout) {
|
|
|
65
65
|
var _a;
|
|
66
66
|
((_a = element === null || element === void 0 ? void 0 : element.children) === null || _a === void 0 ? void 0 : _a.length) && element.removeChild(element.children[0]);
|
|
67
67
|
removeElement(DIALOG_ID);
|
|
68
|
-
reactElement(elementId).unmount();
|
|
68
|
+
elementId && reactElement(elementId).unmount();
|
|
69
69
|
}, unmountTimeout);
|
|
70
70
|
}
|
|
@@ -133,10 +133,8 @@ var VerifyPACI = function () {
|
|
|
133
133
|
if (!isReady)
|
|
134
134
|
return;
|
|
135
135
|
var promise = dispatch(verifyPACIFun({ onSuccess: onSuccess }));
|
|
136
|
-
alert('promise');
|
|
137
136
|
return function () {
|
|
138
137
|
promise === null || promise === void 0 ? void 0 : promise.abort();
|
|
139
|
-
alert('abort');
|
|
140
138
|
};
|
|
141
139
|
}, [isReady]);
|
|
142
140
|
var onRedirect = React.useCallback(function () {
|
|
@@ -74,6 +74,6 @@ export function unmountConnectLib(elementId, unmountTimeout) {
|
|
|
74
74
|
var _a;
|
|
75
75
|
((_a = element === null || element === void 0 ? void 0 : element.children) === null || _a === void 0 ? void 0 : _a.length) && element.removeChild(element.children[0]);
|
|
76
76
|
removeElement(DIALOG_ID);
|
|
77
|
-
reactElement(elementId).unmount();
|
|
77
|
+
elementId && reactElement(elementId).unmount();
|
|
78
78
|
}, unmountTimeout);
|
|
79
79
|
}
|
|
@@ -65,6 +65,6 @@ export function unmountEntityLib(elementId, unmountTimeout) {
|
|
|
65
65
|
var _a;
|
|
66
66
|
((_a = element === null || element === void 0 ? void 0 : element.children) === null || _a === void 0 ? void 0 : _a.length) && element.removeChild(element.children[0]);
|
|
67
67
|
removeElement(DIALOG_ID);
|
|
68
|
-
reactElement(elementId).unmount();
|
|
68
|
+
elementId && reactElement(elementId).unmount();
|
|
69
69
|
}, unmountTimeout);
|
|
70
70
|
}
|
|
@@ -65,6 +65,6 @@ export function unmountIndividualLib(elementId, unmountTimeout) {
|
|
|
65
65
|
var _a;
|
|
66
66
|
((_a = element === null || element === void 0 ? void 0 : element.children) === null || _a === void 0 ? void 0 : _a.length) && element.removeChild(element.children[0]);
|
|
67
67
|
removeElement(DIALOG_ID);
|
|
68
|
-
reactElement(elementId).unmount();
|
|
68
|
+
elementId && reactElement(elementId).unmount();
|
|
69
69
|
}, unmountTimeout);
|
|
70
70
|
}
|
|
@@ -72,6 +72,6 @@ export function unmountPasswordLib(elementId, unmountTimeout) {
|
|
|
72
72
|
var _a;
|
|
73
73
|
((_a = element === null || element === void 0 ? void 0 : element.children) === null || _a === void 0 ? void 0 : _a.length) && element.removeChild(element.children[0]);
|
|
74
74
|
removeElement(DIALOG_ID);
|
|
75
|
-
reactElement(elementId).unmount();
|
|
75
|
+
elementId && reactElement(elementId).unmount();
|
|
76
76
|
}, unmountTimeout);
|
|
77
77
|
}
|
|
@@ -52,6 +52,6 @@ export function unmountSignInLib(elementId, unmountTimeout) {
|
|
|
52
52
|
var _a;
|
|
53
53
|
((_a = element === null || element === void 0 ? void 0 : element.children) === null || _a === void 0 ? void 0 : _a.length) && element.removeChild(element.children[0]);
|
|
54
54
|
dialogEl && dialogEl.remove();
|
|
55
|
-
reactElement(elementId).unmount();
|
|
55
|
+
elementId && reactElement(elementId).unmount();
|
|
56
56
|
}, unmountTimeout);
|
|
57
57
|
}
|
|
@@ -66,6 +66,6 @@ export function unmountTaxLib(elementId, unmountTimeout) {
|
|
|
66
66
|
var _a;
|
|
67
67
|
((_a = element === null || element === void 0 ? void 0 : element.children) === null || _a === void 0 ? void 0 : _a.length) && element.removeChild(element.children[0]);
|
|
68
68
|
dialogEl && dialogEl.remove();
|
|
69
|
-
reactElement(elementId).unmount();
|
|
69
|
+
elementId && reactElement(elementId).unmount();
|
|
70
70
|
}, unmountTimeout);
|
|
71
71
|
}
|
package/package.json
CHANGED
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tap-payments/auth-jsconnect",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "connect library, auth",
|
|
5
|
-
"private": false,
|
|
6
|
-
"main": "build/index.js",
|
|
7
|
-
"module": "build/index.js",
|
|
8
|
-
"types": "build/index.d.ts",
|
|
9
|
-
"files": [
|
|
10
|
-
"build",
|
|
11
|
-
"README.md"
|
|
12
|
-
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"husky:setup": "npx husky install",
|
|
15
|
-
"prettier": "prettier --list-different \"src/**/*.{md,mdx,ts,js,tsx,jsx,json}\" *.json *.js",
|
|
16
|
-
"prettier:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md,css,json}\" *.json *.js",
|
|
17
|
-
"lint": "eslint src --color --ext .js,.jsx,.ts,.tsx,.json",
|
|
18
|
-
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
|
|
19
|
-
"start": "cross-env NODE_ENV=development webpack serve",
|
|
20
|
-
"build": "rm -rf build && cross-env NODE_ENV=production webpack",
|
|
21
|
-
"copy:files": "copyfiles -u 1 src/**/*.css build/",
|
|
22
|
-
"tsc:alias": "tsc-alias -p tsconfig.json",
|
|
23
|
-
"ts:build": "rm -rf build && tsc -p tsconfig.json && tsc-alias -p tsconfig.json && yarn copy:files",
|
|
24
|
-
"push": "npm publish --access public"
|
|
25
|
-
},
|
|
26
|
-
"keywords": [],
|
|
27
|
-
"author": {
|
|
28
|
-
"name": "Ahmed Elsharkawy",
|
|
29
|
-
"email": "a.elsharkawy@tap.company"
|
|
30
|
-
},
|
|
31
|
-
"license": "ISC",
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"@babel/core": "^7.18.6",
|
|
34
|
-
"@babel/preset-env": "^7.18.6",
|
|
35
|
-
"@babel/preset-react": "^7.18.6",
|
|
36
|
-
"@babel/preset-typescript": "^7.18.6",
|
|
37
|
-
"@types/lodash-es": "^4.17.6",
|
|
38
|
-
"@types/moment-hijri": "^2.1.0",
|
|
39
|
-
"@types/react": "^18.0.15",
|
|
40
|
-
"@types/react-calendar": "~3.5.1",
|
|
41
|
-
"@types/react-dom": "^18.0.6",
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
43
|
-
"@typescript-eslint/parser": "^5.30.5",
|
|
44
|
-
"babel-loader": "^8.2.5",
|
|
45
|
-
"copyfiles": "^2.4.1",
|
|
46
|
-
"cross-env": "^7.0.3",
|
|
47
|
-
"css-loader": "^6.7.1",
|
|
48
|
-
"css-minimizer-webpack-plugin": "^4.0.0",
|
|
49
|
-
"eslint": "^8.19.0",
|
|
50
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
51
|
-
"eslint-config-prettier": "^8.5.0",
|
|
52
|
-
"eslint-plugin-import": "^2.26.0",
|
|
53
|
-
"eslint-plugin-jsx-a11y": "^6.6.0",
|
|
54
|
-
"eslint-plugin-node": "^11.1.0",
|
|
55
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
56
|
-
"eslint-plugin-react": "^7.30.1",
|
|
57
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
58
|
-
"file-loader": "^6.2.0",
|
|
59
|
-
"fork-ts-checker-webpack-plugin": "^7.2.12",
|
|
60
|
-
"html-loader": "^3.1.2",
|
|
61
|
-
"html-webpack-plugin": "^5.5.0",
|
|
62
|
-
"husky": "^8.0.1",
|
|
63
|
-
"lint-staged": "^13.0.3",
|
|
64
|
-
"mini-css-extract-plugin": "^2.6.1",
|
|
65
|
-
"prettier": "^2.7.1",
|
|
66
|
-
"sass": "^1.53.0",
|
|
67
|
-
"sass-loader": "^13.0.2",
|
|
68
|
-
"style-loader": "^3.3.1",
|
|
69
|
-
"terser-webpack-plugin": "^5.3.3",
|
|
70
|
-
"tsc-alias": "^1.6.11",
|
|
71
|
-
"typescript": "^4.7.4",
|
|
72
|
-
"webpack": "^5.73.0",
|
|
73
|
-
"webpack-cli": "^4.10.0",
|
|
74
|
-
"webpack-dev-server": "^4.9.3",
|
|
75
|
-
"webpack-merge": "^5.8.0"
|
|
76
|
-
},
|
|
77
|
-
"dependencies": {
|
|
78
|
-
"@emotion/react": "^11.9.3",
|
|
79
|
-
"@emotion/styled": "^11.9.3",
|
|
80
|
-
"@fingerprintjs/fingerprintjs": "~3.3.4",
|
|
81
|
-
"@hookform/resolvers": "^2.9.6",
|
|
82
|
-
"@mui/icons-material": "^5.8.4",
|
|
83
|
-
"@mui/material": "^5.8.7",
|
|
84
|
-
"@reduxjs/toolkit": "^1.8.3",
|
|
85
|
-
"axios": "^0.27.2",
|
|
86
|
-
"device-detector-js": "^3.0.3",
|
|
87
|
-
"i18next": "^21.8.14",
|
|
88
|
-
"i18next-browser-languagedetector": "^6.1.4",
|
|
89
|
-
"i18next-http-backend": "^1.4.1",
|
|
90
|
-
"jsencrypt": "^2.3.1",
|
|
91
|
-
"lodash-es": "^4.17.21",
|
|
92
|
-
"lottie-web": "^5.9.6",
|
|
93
|
-
"moment-hijri": "~2.1.2",
|
|
94
|
-
"react": "^18.2.0",
|
|
95
|
-
"react-calendar": "~3.7.0",
|
|
96
|
-
"react-device-detect": "^2.2.2",
|
|
97
|
-
"react-dom": "^18.2.0",
|
|
98
|
-
"react-dropzone": "^14.2.2",
|
|
99
|
-
"react-hook-form": "^7.33.1",
|
|
100
|
-
"react-i18next": "^11.18.1",
|
|
101
|
-
"react-otp-input": "^2.4.0",
|
|
102
|
-
"react-redux": "^8.0.2",
|
|
103
|
-
"react-spring-bottom-sheet": "^3.4.1",
|
|
104
|
-
"yup": "^0.32.11"
|
|
105
|
-
},
|
|
106
|
-
"peerDependencies": {
|
|
107
|
-
"react": "^18.2.0",
|
|
108
|
-
"react-dom": "^18.2.0"
|
|
109
|
-
},
|
|
110
|
-
"lint-staged": {
|
|
111
|
-
"src/**/*.{ts,tsx,json,js,jsx}": [
|
|
112
|
-
"yarn run prettier:fix",
|
|
113
|
-
"yarn run lint",
|
|
114
|
-
"git add ."
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
"browserslist": {
|
|
118
|
-
"production": [
|
|
119
|
-
">0.2%",
|
|
120
|
-
"not dead",
|
|
121
|
-
"not op_mini all"
|
|
122
|
-
],
|
|
123
|
-
"development": [
|
|
124
|
-
"last 1 chrome version",
|
|
125
|
-
"last 1 firefox version",
|
|
126
|
-
"last 1 safari version"
|
|
127
|
-
]
|
|
128
|
-
}
|
|
129
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@tap-payments/auth-jsconnect",
|
|
3
|
+
"version": "2.0.66-test",
|
|
4
|
+
"description": "connect library, auth",
|
|
5
|
+
"private": false,
|
|
6
|
+
"main": "build/index.js",
|
|
7
|
+
"module": "build/index.js",
|
|
8
|
+
"types": "build/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"build",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"husky:setup": "npx husky install",
|
|
15
|
+
"prettier": "prettier --list-different \"src/**/*.{md,mdx,ts,js,tsx,jsx,json}\" *.json *.js",
|
|
16
|
+
"prettier:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md,css,json}\" *.json *.js",
|
|
17
|
+
"lint": "eslint src --color --ext .js,.jsx,.ts,.tsx,.json",
|
|
18
|
+
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
|
|
19
|
+
"start": "cross-env NODE_ENV=development webpack serve",
|
|
20
|
+
"build": "rm -rf build && cross-env NODE_ENV=production webpack",
|
|
21
|
+
"copy:files": "copyfiles -u 1 src/**/*.css build/",
|
|
22
|
+
"tsc:alias": "tsc-alias -p tsconfig.json",
|
|
23
|
+
"ts:build": "rm -rf build && tsc -p tsconfig.json && tsc-alias -p tsconfig.json && yarn copy:files",
|
|
24
|
+
"push": "npm publish --access public"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [],
|
|
27
|
+
"author": {
|
|
28
|
+
"name": "Ahmed Elsharkawy",
|
|
29
|
+
"email": "a.elsharkawy@tap.company"
|
|
30
|
+
},
|
|
31
|
+
"license": "ISC",
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@babel/core": "^7.18.6",
|
|
34
|
+
"@babel/preset-env": "^7.18.6",
|
|
35
|
+
"@babel/preset-react": "^7.18.6",
|
|
36
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
37
|
+
"@types/lodash-es": "^4.17.6",
|
|
38
|
+
"@types/moment-hijri": "^2.1.0",
|
|
39
|
+
"@types/react": "^18.0.15",
|
|
40
|
+
"@types/react-calendar": "~3.5.1",
|
|
41
|
+
"@types/react-dom": "^18.0.6",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
43
|
+
"@typescript-eslint/parser": "^5.30.5",
|
|
44
|
+
"babel-loader": "^8.2.5",
|
|
45
|
+
"copyfiles": "^2.4.1",
|
|
46
|
+
"cross-env": "^7.0.3",
|
|
47
|
+
"css-loader": "^6.7.1",
|
|
48
|
+
"css-minimizer-webpack-plugin": "^4.0.0",
|
|
49
|
+
"eslint": "^8.19.0",
|
|
50
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
51
|
+
"eslint-config-prettier": "^8.5.0",
|
|
52
|
+
"eslint-plugin-import": "^2.26.0",
|
|
53
|
+
"eslint-plugin-jsx-a11y": "^6.6.0",
|
|
54
|
+
"eslint-plugin-node": "^11.1.0",
|
|
55
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
56
|
+
"eslint-plugin-react": "^7.30.1",
|
|
57
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
58
|
+
"file-loader": "^6.2.0",
|
|
59
|
+
"fork-ts-checker-webpack-plugin": "^7.2.12",
|
|
60
|
+
"html-loader": "^3.1.2",
|
|
61
|
+
"html-webpack-plugin": "^5.5.0",
|
|
62
|
+
"husky": "^8.0.1",
|
|
63
|
+
"lint-staged": "^13.0.3",
|
|
64
|
+
"mini-css-extract-plugin": "^2.6.1",
|
|
65
|
+
"prettier": "^2.7.1",
|
|
66
|
+
"sass": "^1.53.0",
|
|
67
|
+
"sass-loader": "^13.0.2",
|
|
68
|
+
"style-loader": "^3.3.1",
|
|
69
|
+
"terser-webpack-plugin": "^5.3.3",
|
|
70
|
+
"tsc-alias": "^1.6.11",
|
|
71
|
+
"typescript": "^4.7.4",
|
|
72
|
+
"webpack": "^5.73.0",
|
|
73
|
+
"webpack-cli": "^4.10.0",
|
|
74
|
+
"webpack-dev-server": "^4.9.3",
|
|
75
|
+
"webpack-merge": "^5.8.0"
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"@emotion/react": "^11.9.3",
|
|
79
|
+
"@emotion/styled": "^11.9.3",
|
|
80
|
+
"@fingerprintjs/fingerprintjs": "~3.3.4",
|
|
81
|
+
"@hookform/resolvers": "^2.9.6",
|
|
82
|
+
"@mui/icons-material": "^5.8.4",
|
|
83
|
+
"@mui/material": "^5.8.7",
|
|
84
|
+
"@reduxjs/toolkit": "^1.8.3",
|
|
85
|
+
"axios": "^0.27.2",
|
|
86
|
+
"device-detector-js": "^3.0.3",
|
|
87
|
+
"i18next": "^21.8.14",
|
|
88
|
+
"i18next-browser-languagedetector": "^6.1.4",
|
|
89
|
+
"i18next-http-backend": "^1.4.1",
|
|
90
|
+
"jsencrypt": "^2.3.1",
|
|
91
|
+
"lodash-es": "^4.17.21",
|
|
92
|
+
"lottie-web": "^5.9.6",
|
|
93
|
+
"moment-hijri": "~2.1.2",
|
|
94
|
+
"react": "^18.2.0",
|
|
95
|
+
"react-calendar": "~3.7.0",
|
|
96
|
+
"react-device-detect": "^2.2.2",
|
|
97
|
+
"react-dom": "^18.2.0",
|
|
98
|
+
"react-dropzone": "^14.2.2",
|
|
99
|
+
"react-hook-form": "^7.33.1",
|
|
100
|
+
"react-i18next": "^11.18.1",
|
|
101
|
+
"react-otp-input": "^2.4.0",
|
|
102
|
+
"react-redux": "^8.0.2",
|
|
103
|
+
"react-spring-bottom-sheet": "^3.4.1",
|
|
104
|
+
"yup": "^0.32.11"
|
|
105
|
+
},
|
|
106
|
+
"peerDependencies": {
|
|
107
|
+
"react": "^18.2.0",
|
|
108
|
+
"react-dom": "^18.2.0"
|
|
109
|
+
},
|
|
110
|
+
"lint-staged": {
|
|
111
|
+
"src/**/*.{ts,tsx,json,js,jsx}": [
|
|
112
|
+
"yarn run prettier:fix",
|
|
113
|
+
"yarn run lint",
|
|
114
|
+
"git add ."
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"browserslist": {
|
|
118
|
+
"production": [
|
|
119
|
+
">0.2%",
|
|
120
|
+
"not dead",
|
|
121
|
+
"not op_mini all"
|
|
122
|
+
],
|
|
123
|
+
"development": [
|
|
124
|
+
"last 1 chrome version",
|
|
125
|
+
"last 1 firefox version",
|
|
126
|
+
"last 1 safari version"
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
}
|