@tap-payments/auth-jsconnect 2.11.2-development → 2.11.2-sandbox
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.
|
@@ -137,6 +137,7 @@
|
|
|
137
137
|
"capital_paid_hint": "00000",
|
|
138
138
|
"capital_paid_input_label": "رأس المال المدفوع",
|
|
139
139
|
"capital_paid_label": "رأس المال المدفوع ({{currency}})",
|
|
140
|
+
"capital_paid_input_label": "رأس المال المدفوع",
|
|
140
141
|
"capital_paid_required": "Please Enter paid amount",
|
|
141
142
|
"capital_share_count_hint": "00000",
|
|
142
143
|
"capital_share_count_label": "عدد اسهم رأس المال",
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
"capital_share_value_hint": "00000",
|
|
145
146
|
"capital_share_value_input_label": "قيمة السهم",
|
|
146
147
|
"capital_share_value_label": "قيمة السهم ({{currency}})",
|
|
148
|
+
"capital_share_value_input_label": "قيمة السهم",
|
|
147
149
|
"capital_share_value_required": "Please Enter share value",
|
|
148
150
|
"category": "الفئة",
|
|
149
151
|
"category_name": "اسم الفئة",
|
|
@@ -284,6 +286,7 @@
|
|
|
284
286
|
"expected_customers_to_serve": "عدد العملاء شهريا",
|
|
285
287
|
"expected_sale_per_month": "البيع المتوقع في الشهر؟",
|
|
286
288
|
"expected_sales_monthly": "البيع المتوقع في الشهر؟ ({{currency}})",
|
|
289
|
+
"expected_sale_per_month": "البيع المتوقع في الشهر؟",
|
|
287
290
|
"expected_sales_yearly": "ما هي المبيعات المتوقعة لعملك شهريًا؟",
|
|
288
291
|
"expected_served_monthly": "عدد العملاء شهريا",
|
|
289
292
|
"expiry_date": "تاريخ الإنتهاء",
|
|
@@ -493,6 +496,7 @@
|
|
|
493
496
|
"please_choose_is_authorized": "الرجاء التأكيد إذا كنت أنت المستخدم المصرح له",
|
|
494
497
|
"please_choose_relative_pep": "هل أنت أو أحد أقاربك شخص مكشوف علنًا (PEP)",
|
|
495
498
|
"please_enter_actual_income": "ما هو دخلك الشهري ({{currency}}) ؟ ",
|
|
499
|
+
"monthly_income": "ما هو دخلك الشهري؟ ",
|
|
496
500
|
"please_enter_employer_name": "يرجى إدخال اسم منشأه العمل الخاص بك",
|
|
497
501
|
"please_try_again_after_few_minutes": "يمكنك محاولة تسجيل الدخول مرة أخرى بعد {{minutes}} دقيقة",
|
|
498
502
|
"powered_by": "بواسطة",
|
|
@@ -136,6 +136,7 @@
|
|
|
136
136
|
"capital_paid_hint": "00000",
|
|
137
137
|
"capital_paid_input_label": "Capital Paid",
|
|
138
138
|
"capital_paid_label": "Capital Paid ({{currency}})",
|
|
139
|
+
"capital_paid_input_label": "Capital Paid",
|
|
139
140
|
"capital_paid_required": "Please Enter paid amount",
|
|
140
141
|
"capital_share_count_hint": "00000",
|
|
141
142
|
"capital_share_count_label": "Capital Share Count",
|
|
@@ -143,6 +144,7 @@
|
|
|
143
144
|
"capital_share_value_hint": "00000",
|
|
144
145
|
"capital_share_value_input_label": "Capital Share Value",
|
|
145
146
|
"capital_share_value_label": "Capital Share Value ({{currency}})",
|
|
147
|
+
"capital_share_value_input_label": "Capital Share Value",
|
|
146
148
|
"capital_share_value_required": "Please Enter share value",
|
|
147
149
|
"category": "Category",
|
|
148
150
|
"category_name": "Category name",
|
|
@@ -292,6 +294,7 @@
|
|
|
292
294
|
"expected_customers_to_serve": "Customers served per month",
|
|
293
295
|
"expected_sale_per_month": "Expected sale per month?",
|
|
294
296
|
"expected_sales_monthly": "Expected sale per month? ({{currency}})",
|
|
297
|
+
"expected_sale_per_month": "Expected sale per month?",
|
|
295
298
|
"expected_sales_yearly": "What is the expected sales for your business per month?",
|
|
296
299
|
"expected_served_monthly": "Customers served per month",
|
|
297
300
|
"expiry_date": "Date of expiry",
|
|
@@ -509,6 +512,7 @@
|
|
|
509
512
|
"please_choose_is_authorized": "Please tell us if you are the authorized user",
|
|
510
513
|
"please_choose_relative_pep": "Are you or one of your relatives a Publicly Exposed Person (PEP)",
|
|
511
514
|
"please_enter_actual_income": "Monthly income ({{currency}})",
|
|
515
|
+
"monthly_income": "Monthly income",
|
|
512
516
|
"please_enter_employer_name": "Please enter the name of your employer",
|
|
513
517
|
"please_try_again_after_few_minutes": "You can try to login again after {{minutes}} mins",
|
|
514
518
|
"powered_by": "Powered by",
|
|
@@ -33,7 +33,7 @@ var StyledTooltip = styled(function (_a) {
|
|
|
33
33
|
var _b;
|
|
34
34
|
var theme = _a.theme;
|
|
35
35
|
return (_b = {},
|
|
36
|
-
_b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)) }),
|
|
36
|
+
_b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)), zIndex: 2147483647 }),
|
|
37
37
|
_b);
|
|
38
38
|
});
|
|
39
39
|
var TextStyled = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
|
package/build/constants/app.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ScreenStepNavigation, BusinessType, TerminalInfo, TerminalDeviceInfo } from '../@types';
|
|
2
2
|
export declare const CONNECT_DEV_URL = "https://connect.dev.tap.company";
|
|
3
|
+
export declare const CONNECT_SANDBOX_URL = "https://connect.sandbox.tap.company";
|
|
3
4
|
export declare const CONNECT_PROD_URL = "https://connect.tap.company";
|
|
4
5
|
export declare const CLIENT_ORIGIN: string;
|
|
5
6
|
export declare const TAP_WEBSITE = "https://www.tap.company/";
|
package/build/constants/app.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BusinessType } from '../@types';
|
|
2
2
|
import { CONNECT_FLOWS } from './flows';
|
|
3
3
|
export var CONNECT_DEV_URL = 'https://connect.dev.tap.company';
|
|
4
|
+
export var CONNECT_SANDBOX_URL = 'https://connect.sandbox.tap.company';
|
|
4
5
|
export var CONNECT_PROD_URL = 'https://connect.tap.company';
|
|
5
6
|
export var CLIENT_ORIGIN = window.location.origin;
|
|
6
7
|
export var TAP_WEBSITE = 'https://www.tap.company/';
|
package/build/utils/common.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { axiosInstance } from '../api';
|
|
2
|
-
import { ENDPOINT_PATHS,
|
|
2
|
+
import { ENDPOINT_PATHS, CONNECT_SANDBOX_URL, CONNECT_PROD_URL } from '../constants';
|
|
3
3
|
import { objectHasValues } from './object';
|
|
4
4
|
import { isSA } from './string';
|
|
5
5
|
export var sleep = function (milliseconds) {
|
|
@@ -18,7 +18,7 @@ export var setBaseUrl = function (publicKey, region) {
|
|
|
18
18
|
axiosInstance.defaults.baseURL = isSA(region) ? ENDPOINT_PATHS.PRODUCTION_BASE_URL_SA : ENDPOINT_PATHS.PRODUCTION_BASE_URL;
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
|
-
axiosInstance.defaults.baseURL = ENDPOINT_PATHS.
|
|
21
|
+
axiosInstance.defaults.baseURL = ENDPOINT_PATHS.SANDBOX_BASE_URL;
|
|
22
22
|
};
|
|
23
23
|
export var updateLocationUrlWithCountry = function (countryIso2) {
|
|
24
24
|
var country = countryIso2.toLowerCase();
|
|
@@ -37,7 +37,7 @@ export var updateLocationUrlWithCountry = function (countryIso2) {
|
|
|
37
37
|
window.history.replaceState({}, '', newUrl);
|
|
38
38
|
};
|
|
39
39
|
export var openConnect = function (pk, countryCode) {
|
|
40
|
-
var newUrl = new URL(pk.includes('pk_live') ? CONNECT_PROD_URL :
|
|
40
|
+
var newUrl = new URL(pk.includes('pk_live') ? CONNECT_PROD_URL : CONNECT_SANDBOX_URL);
|
|
41
41
|
if (countryCode) {
|
|
42
42
|
newUrl.pathname = "/".concat(countryCode.toLowerCase());
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/auth-jsconnect",
|
|
3
|
-
"version": "2.11.2-
|
|
3
|
+
"version": "2.11.2-sandbox",
|
|
4
4
|
"description": "connect library, auth",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"copy:files": "copyfiles -u 1 src/**/*.css build/",
|
|
22
22
|
"tsc:alias": "tsc-alias -p tsconfig.json",
|
|
23
23
|
"ts:build": "rm -rf build && tsc -p tsconfig.json && tsc-alias -p tsconfig.json && yarn copy:files",
|
|
24
|
-
"push": "npm publish --access public --tag
|
|
24
|
+
"push": "npm publish --access public --tag sandbox"
|
|
25
25
|
},
|
|
26
26
|
"keywords": [],
|
|
27
27
|
"author": {
|