@tap-payments/auth-jsconnect 2.11.27-development → 2.11.29-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.
package/build/app/settings.js
CHANGED
|
@@ -100,7 +100,7 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
|
|
|
100
100
|
_e = _f, country_list = _e.country_list, ip_info = _e.ip_info, merchant = _e.merchant, operator = _e.operator, config = _e.config;
|
|
101
101
|
list = __spreadArray([], ((country_list === null || country_list === void 0 ? void 0 : country_list.list) || []), true);
|
|
102
102
|
_g = ip_info || {}, ip = _g.ip, latitude = _g.latitude, longitude = _g.longitude, country_code = _g.country_code;
|
|
103
|
-
countries = sortCountries(list);
|
|
103
|
+
countries = sortCountries(list.filter(function (c) { return c.idd_prefix; }));
|
|
104
104
|
if (config) {
|
|
105
105
|
_h = config, operator_1 = _h.operator, scope = _h.scope, data = _h.data, lead = _h.lead, board = _h.board, interfaceData = _h.interface, redirect = _h.redirect, post = _h.post, platforms = _h.platforms, payment_provider = _h.payment_provider;
|
|
106
106
|
_j = interfaceData || {}, locale_1 = _j.locale, edges = _j.edges;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BusinessCountryInfo } from '../@types';
|
|
1
|
+
import { BusinessCountryInfo, CountryCode } from '../@types';
|
|
2
2
|
export declare const OTHER_BRAND: {
|
|
3
3
|
id: string;
|
|
4
4
|
code: string;
|
|
@@ -52,34 +52,7 @@ export declare const MONTHLY_INCOME_LIST: {
|
|
|
52
52
|
};
|
|
53
53
|
country_code: string[];
|
|
54
54
|
}[];
|
|
55
|
-
export declare const defaultCountry:
|
|
56
|
-
created: number;
|
|
57
|
-
updated: number;
|
|
58
|
-
countryId: string;
|
|
59
|
-
name: {
|
|
60
|
-
created: number;
|
|
61
|
-
updated: number;
|
|
62
|
-
textId: string;
|
|
63
|
-
arabic: string;
|
|
64
|
-
english: string;
|
|
65
|
-
french: string;
|
|
66
|
-
spanish: string;
|
|
67
|
-
russian: string;
|
|
68
|
-
chinese: string;
|
|
69
|
-
};
|
|
70
|
-
iso2: string;
|
|
71
|
-
iso3: string;
|
|
72
|
-
numeric: number;
|
|
73
|
-
continent: string;
|
|
74
|
-
capital: string;
|
|
75
|
-
geoNameId: string;
|
|
76
|
-
idd_prefix: number;
|
|
77
|
-
logo: string;
|
|
78
|
-
digits: number;
|
|
79
|
-
supported_by_tap: boolean;
|
|
80
|
-
min_digits: number;
|
|
81
|
-
max_digits: number;
|
|
82
|
-
};
|
|
55
|
+
export declare const defaultCountry: CountryCode;
|
|
83
56
|
export declare const SOCIAL_MEDIA_LINKS: {
|
|
84
57
|
twitter: string;
|
|
85
58
|
facebook: string;
|
package/build/constants/dummy.js
CHANGED
|
@@ -351,8 +351,8 @@ export var defaultCountry = {
|
|
|
351
351
|
created: 1577690965000,
|
|
352
352
|
updated: 1577691209000,
|
|
353
353
|
textId: 'txt_vSW31311012NdeM7214',
|
|
354
|
-
arabic: 'المملكة العربية السعودية',
|
|
355
354
|
english: 'Saudi Arabia',
|
|
355
|
+
arabic: 'المملكة العربية السعودية',
|
|
356
356
|
french: 'Arabie saoudite',
|
|
357
357
|
spanish: 'Arabia Saudita',
|
|
358
358
|
russian: 'Саудовская Аравия',
|
|
@@ -366,10 +366,10 @@ export var defaultCountry = {
|
|
|
366
366
|
geoNameId: '102358',
|
|
367
367
|
idd_prefix: 966,
|
|
368
368
|
logo: getCountryLogoPNGPath('SA'),
|
|
369
|
-
digits:
|
|
369
|
+
digits: 9,
|
|
370
370
|
supported_by_tap: true,
|
|
371
|
-
min_digits:
|
|
372
|
-
max_digits:
|
|
371
|
+
min_digits: 9,
|
|
372
|
+
max_digits: 9
|
|
373
373
|
};
|
|
374
374
|
export var SOCIAL_MEDIA_LINKS = {
|
|
375
375
|
twitter: 'https://twitter.com/gotapnow',
|