@tap-payments/auth-jsconnect 2.0.98-test → 2.0.99-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.
|
@@ -63,7 +63,7 @@ import { FlowsTypes, AuthForType } from '../../../@types';
|
|
|
63
63
|
import API from '../../../api';
|
|
64
64
|
import { CONNECT_STEP_NAMES, IDENTIFICATION_TYPE, OTHER_BRAND } from '../../../constants';
|
|
65
65
|
import { defaultCountry } from '../../../constants';
|
|
66
|
-
import { getIndividualName, capitalizeTheFirstLetterOfEachWord, sleep, findCountryByIddPrefix, concatenateObjectValues } from '../../../utils';
|
|
66
|
+
import { getIndividualName, capitalizeTheFirstLetterOfEachWord, getEighteenYearsAgo, sleep, findCountryByIddPrefix, concatenateObjectValues } from '../../../utils';
|
|
67
67
|
export var createMobileAuth = createAsyncThunk('createMobileAuth', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
68
68
|
var settings, requestBody, data;
|
|
69
69
|
var _a, _b;
|
|
@@ -568,8 +568,8 @@ var initialState = {
|
|
|
568
568
|
mobile: ''
|
|
569
569
|
},
|
|
570
570
|
nidData: {
|
|
571
|
-
nid: '
|
|
572
|
-
dob:
|
|
571
|
+
nid: '',
|
|
572
|
+
dob: getEighteenYearsAgo(),
|
|
573
573
|
type: ''
|
|
574
574
|
},
|
|
575
575
|
civilIdData: {
|