@tap-payments/auth-jsconnect 2.8.88-beta → 2.8.88-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.
@@ -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) {
@@ -12,7 +12,6 @@ export declare const ENDPOINT_PATHS: {
12
12
  SANDBOX_BASE_URL: string;
13
13
  PRODUCTION_BASE_URL: string;
14
14
  DEV_BASE_URL: string;
15
- BETA_BASE_URL: string;
16
15
  BUSINESS_COUNTRIES: string;
17
16
  COUNTRIES: string;
18
17
  IP: string;
@@ -1,7 +1,6 @@
1
1
  var SANDBOX_BASE_URL = 'https://connect-mw.sandbox.tap.company/middleware';
2
2
  var PRODUCTION_BASE_URL = 'https://connect-mw.tap.company/middleware';
3
3
  var DEV_BASE_URL = 'https://connect-mw.dev.tap.company/middleware';
4
- var BETA_BASE_URL = 'https://connect-mw.beta.tap.company/middleware';
5
4
  var API_BUSINESS_COUNTRIES = 'https://godata.sandbox.tap.company/api/v1/business/country/list';
6
5
  var API_COUNTRIES = 'https://utilities.tap.company/api/v1/country/list';
7
6
  var CURRENCY_PATH = 'https://utilities.tap.company/api/v1/currency/iso';
@@ -70,7 +69,6 @@ export var ENDPOINT_PATHS = {
70
69
  SANDBOX_BASE_URL: SANDBOX_BASE_URL,
71
70
  PRODUCTION_BASE_URL: PRODUCTION_BASE_URL,
72
71
  DEV_BASE_URL: DEV_BASE_URL,
73
- BETA_BASE_URL: BETA_BASE_URL,
74
72
  BUSINESS_COUNTRIES: API_BUSINESS_COUNTRIES,
75
73
  COUNTRIES: API_COUNTRIES,
76
74
  IP: IP_PATH,
@@ -1,7 +1,5 @@
1
1
  import { ScreenStepNavigation, BusinessType } 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
- export declare const CONNECT_BETA_URL = "https://connect.beta.tap.company";
5
3
  export declare const CONNECT_PROD_URL = "https://connect.tap.company";
6
4
  export declare const CLIENT_ORIGIN: string;
7
5
  export declare const TAP_WEBSITE = "https://www.tap.company/";
@@ -1,7 +1,5 @@
1
1
  import { BusinessType } from '../@types';
2
2
  export var CONNECT_DEV_URL = 'https://connect.dev.tap.company';
3
- export var CONNECT_SANDBOX_URL = 'https://connect.sandbox.tap.company';
4
- export var CONNECT_BETA_URL = 'https://connect.beta.tap.company';
5
3
  export var CONNECT_PROD_URL = 'https://connect.tap.company';
6
4
  export var CLIENT_ORIGIN = window.location.origin;
7
5
  export var TAP_WEBSITE = 'https://www.tap.company/';
@@ -770,7 +770,7 @@ export var verifyPaciLeadIdentityAsync = createAsyncThunk('connectExpress/verify
770
770
  case 6:
771
771
  count++;
772
772
  return [3, 1];
773
- case 7: throw new Error('nafath_verification_failed');
773
+ case 7: throw new Error('paci_verification_failed');
774
774
  }
775
775
  });
776
776
  }); });
@@ -1175,7 +1175,6 @@ export var individualSlice = createSlice({
1175
1175
  state.data.individualData.isAuthorized = is_authorized;
1176
1176
  })
1177
1177
  .addCase(retrieveIndividualInfo.rejected, function (state, action) {
1178
- state.addOrRequestDetailLoading = false;
1179
1178
  state.error = action.error.message;
1180
1179
  })
1181
1180
  .addCase(getIndividualList.pending, function (state) {
@@ -1,5 +1,5 @@
1
1
  import { axiosInstance } from '../api';
2
- import { ENDPOINT_PATHS, CONNECT_SANDBOX_URL, CONNECT_BETA_URL } from '../constants';
2
+ import { ENDPOINT_PATHS, CONNECT_DEV_URL, CONNECT_PROD_URL } from '../constants';
3
3
  import { objectHasValues } from './object';
4
4
  export var sleep = function (milliseconds) {
5
5
  if (milliseconds === void 0) { milliseconds = 1000; }
@@ -14,10 +14,10 @@ export var dangerousMessage = function (message, callBack) {
14
14
  export var setBaseUrl = function (publicKey) {
15
15
  var isProd = publicKey.includes('pk_live');
16
16
  if (isProd) {
17
- axiosInstance.defaults.baseURL = ENDPOINT_PATHS.BETA_BASE_URL;
17
+ axiosInstance.defaults.baseURL = ENDPOINT_PATHS.PRODUCTION_BASE_URL;
18
18
  return;
19
19
  }
20
- axiosInstance.defaults.baseURL = ENDPOINT_PATHS.SANDBOX_BASE_URL;
20
+ axiosInstance.defaults.baseURL = ENDPOINT_PATHS.DEV_BASE_URL;
21
21
  };
22
22
  export var updateLocationUrlWithCountry = function (countryIso2) {
23
23
  var country = countryIso2.toLowerCase();
@@ -36,7 +36,7 @@ export var updateLocationUrlWithCountry = function (countryIso2) {
36
36
  window.history.replaceState({}, '', newUrl);
37
37
  };
38
38
  export var openConnect = function (pk, countryCode) {
39
- var newUrl = new URL(pk.includes('pk_live') ? CONNECT_BETA_URL : CONNECT_SANDBOX_URL);
39
+ var newUrl = new URL(pk.includes('pk_live') ? CONNECT_PROD_URL : CONNECT_DEV_URL);
40
40
  if (countryCode) {
41
41
  newUrl.pathname = "/".concat(countryCode.toLowerCase());
42
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.8.88-beta",
3
+ "version": "2.8.88-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 beta"
24
+ "push": "npm publish --access public --tag development"
25
25
  },
26
26
  "keywords": [],
27
27
  "author": {