@tap-payments/auth-jsconnect 2.4.58-test → 2.4.59-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/app/settings.js +3 -1
- package/package.json +1 -1
package/build/app/settings.js
CHANGED
|
@@ -140,9 +140,11 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
|
|
|
140
140
|
isValidOperator = operator === 'valid';
|
|
141
141
|
countries = sortCountries(list);
|
|
142
142
|
countryCode = appConfig.businessCountryCode;
|
|
143
|
+
if (maturity === 'express' && (merchant === null || merchant === void 0 ? void 0 : merchant.country_code))
|
|
144
|
+
countryCode = merchant === null || merchant === void 0 ? void 0 : merchant.country_code;
|
|
143
145
|
isKWOrSA = isKW(countryCode) || isSA(countryCode);
|
|
144
146
|
if (!isKWOrSA)
|
|
145
|
-
countryCode = '
|
|
147
|
+
countryCode = 'KW';
|
|
146
148
|
businessCountry = findCountryByIso2(countries, countryCode);
|
|
147
149
|
if (!businessCountry)
|
|
148
150
|
throw new Error('Business country not found, you have to pass a valid business country code in the lib config');
|