@tap-payments/auth-jsconnect 2.11.29-development → 2.11.30-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.
|
@@ -1052,8 +1052,9 @@ export var individualSlice = createSlice({
|
|
|
1052
1052
|
if (identification === null || identification === void 0 ? void 0 : identification.issued_country_code) {
|
|
1053
1053
|
state.data.individualPersonalData.issuedCountry = findCountryByIso2(countries, identification === null || identification === void 0 ? void 0 : identification.issued_country_code);
|
|
1054
1054
|
}
|
|
1055
|
-
|
|
1056
|
-
|
|
1055
|
+
state.data.individualPersonalData.expiryDate = (identification === null || identification === void 0 ? void 0 : identification.expiry)
|
|
1056
|
+
? convertNumbers2English(dateFormat(new Date(identification.expiry)))
|
|
1057
|
+
: undefined;
|
|
1057
1058
|
if (birth === null || birth === void 0 ? void 0 : birth.date)
|
|
1058
1059
|
state.data.individualPersonalData.dob = convertNumbers2English(dateFormat(new Date(birth === null || birth === void 0 ? void 0 : birth.date)));
|
|
1059
1060
|
if (birth === null || birth === void 0 ? void 0 : birth.country) {
|
|
@@ -1147,8 +1148,9 @@ export var individualSlice = createSlice({
|
|
|
1147
1148
|
if (identification === null || identification === void 0 ? void 0 : identification.issued_country_code) {
|
|
1148
1149
|
state.data.individualPersonalData.issuedCountry = findCountryByIso2(countries, identification === null || identification === void 0 ? void 0 : identification.issued_country_code);
|
|
1149
1150
|
}
|
|
1150
|
-
|
|
1151
|
-
|
|
1151
|
+
state.data.individualPersonalData.expiryDate = (identification === null || identification === void 0 ? void 0 : identification.expiry)
|
|
1152
|
+
? convertNumbers2English(dateFormat(new Date(identification.expiry)))
|
|
1153
|
+
: undefined;
|
|
1152
1154
|
if (birth === null || birth === void 0 ? void 0 : birth.date)
|
|
1153
1155
|
state.data.individualPersonalData.dob = convertNumbers2English(dateFormat(birth === null || birth === void 0 ? void 0 : birth.date));
|
|
1154
1156
|
if (birth === null || birth === void 0 ? void 0 : birth.country) {
|