@tap-payments/auth-jsconnect 2.11.1-sandbox → 2.11.2-development

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,7 +137,6 @@
137
137
  "capital_paid_hint": "00000",
138
138
  "capital_paid_input_label": "رأس المال المدفوع",
139
139
  "capital_paid_label": "رأس المال المدفوع ({{currency}})",
140
- "capital_paid_input_label": "رأس المال المدفوع",
141
140
  "capital_paid_required": "Please Enter paid amount",
142
141
  "capital_share_count_hint": "00000",
143
142
  "capital_share_count_label": "عدد اسهم رأس المال",
@@ -145,7 +144,6 @@
145
144
  "capital_share_value_hint": "00000",
146
145
  "capital_share_value_input_label": "قيمة السهم",
147
146
  "capital_share_value_label": "قيمة السهم ({{currency}})",
148
- "capital_share_value_input_label": "قيمة السهم",
149
147
  "capital_share_value_required": "Please Enter share value",
150
148
  "category": "الفئة",
151
149
  "category_name": "اسم الفئة",
@@ -286,7 +284,6 @@
286
284
  "expected_customers_to_serve": "عدد العملاء شهريا",
287
285
  "expected_sale_per_month": "البيع المتوقع في الشهر؟",
288
286
  "expected_sales_monthly": "البيع المتوقع في الشهر؟ ({{currency}})",
289
- "expected_sale_per_month": "البيع المتوقع في الشهر؟",
290
287
  "expected_sales_yearly": "ما هي المبيعات المتوقعة لعملك شهريًا؟",
291
288
  "expected_served_monthly": "عدد العملاء شهريا",
292
289
  "expiry_date": "تاريخ الإنتهاء",
@@ -496,7 +493,6 @@
496
493
  "please_choose_is_authorized": "الرجاء التأكيد إذا كنت أنت المستخدم المصرح له",
497
494
  "please_choose_relative_pep": "هل أنت أو أحد أقاربك شخص مكشوف علنًا (PEP)",
498
495
  "please_enter_actual_income": "ما هو دخلك الشهري ({{currency}}) ؟ ",
499
- "monthly_income": "ما هو دخلك الشهري؟ ",
500
496
  "please_enter_employer_name": "يرجى إدخال اسم منشأه العمل الخاص بك",
501
497
  "please_try_again_after_few_minutes": "يمكنك محاولة تسجيل الدخول مرة أخرى بعد {{minutes}} دقيقة",
502
498
  "powered_by": "بواسطة",
@@ -136,7 +136,6 @@
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",
140
139
  "capital_paid_required": "Please Enter paid amount",
141
140
  "capital_share_count_hint": "00000",
142
141
  "capital_share_count_label": "Capital Share Count",
@@ -144,7 +143,6 @@
144
143
  "capital_share_value_hint": "00000",
145
144
  "capital_share_value_input_label": "Capital Share Value",
146
145
  "capital_share_value_label": "Capital Share Value ({{currency}})",
147
- "capital_share_value_input_label": "Capital Share Value",
148
146
  "capital_share_value_required": "Please Enter share value",
149
147
  "category": "Category",
150
148
  "category_name": "Category name",
@@ -294,7 +292,6 @@
294
292
  "expected_customers_to_serve": "Customers served per month",
295
293
  "expected_sale_per_month": "Expected sale per month?",
296
294
  "expected_sales_monthly": "Expected sale per month? ({{currency}})",
297
- "expected_sale_per_month": "Expected sale per month?",
298
295
  "expected_sales_yearly": "What is the expected sales for your business per month?",
299
296
  "expected_served_monthly": "Customers served per month",
300
297
  "expiry_date": "Date of expiry",
@@ -512,7 +509,6 @@
512
509
  "please_choose_is_authorized": "Please tell us if you are the authorized user",
513
510
  "please_choose_relative_pep": "Are you or one of your relatives a Publicly Exposed Person (PEP)",
514
511
  "please_enter_actual_income": "Monthly income ({{currency}})",
515
- "monthly_income": "Monthly income",
516
512
  "please_enter_employer_name": "Please enter the name of your employer",
517
513
  "please_try_again_after_few_minutes": "You can try to login again after {{minutes}} mins",
518
514
  "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)), zIndex: 2147483647 }),
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)) }),
37
37
  _b);
38
38
  });
39
39
  var TextStyled = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
@@ -1,6 +1,5 @@
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";
4
3
  export declare const CONNECT_PROD_URL = "https://connect.tap.company";
5
4
  export declare const CLIENT_ORIGIN: string;
6
5
  export declare const TAP_WEBSITE = "https://www.tap.company/";
@@ -1,7 +1,6 @@
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';
5
4
  export var CONNECT_PROD_URL = 'https://connect.tap.company';
6
5
  export var CLIENT_ORIGIN = window.location.origin;
7
6
  export var TAP_WEBSITE = 'https://www.tap.company/';
@@ -1,5 +1,5 @@
1
1
  import { axiosInstance } from '../api';
2
- import { ENDPOINT_PATHS, CONNECT_SANDBOX_URL, CONNECT_PROD_URL } from '../constants';
2
+ import { ENDPOINT_PATHS, CONNECT_DEV_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.SANDBOX_BASE_URL;
21
+ axiosInstance.defaults.baseURL = ENDPOINT_PATHS.DEV_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 : CONNECT_SANDBOX_URL);
40
+ var newUrl = new URL(pk.includes('pk_live') ? CONNECT_PROD_URL : CONNECT_DEV_URL);
41
41
  if (countryCode) {
42
42
  newUrl.pathname = "/".concat(countryCode.toLowerCase());
43
43
  }
@@ -53,7 +53,7 @@ export var keepLettersAndSpace = function (str) {
53
53
  return str.replace(/[^a-zA-Z] /g, '');
54
54
  };
55
55
  export var isConnectTapDomain = function (domain) {
56
- var regex = /^(https:\/\/)?connect(\.\w+)?\.tap\.company$/;
56
+ var regex = /^(https:\/\/)?connect(\.\w+)?\.tap\.(company|com\.\w{2})$/;
57
57
  return regex.test(domain);
58
58
  };
59
59
  export var isTapDomain = function (domain) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.11.1-sandbox",
3
+ "version": "2.11.2-development",
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 sandbox"
24
+ "push": "npm publish --access public --tag development"
25
25
  },
26
26
  "keywords": [],
27
27
  "author": {