@tap-payments/auth-jsconnect 2.11.14-development → 2.11.16-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/@types/form.d.ts
CHANGED
|
@@ -104,8 +104,8 @@ export interface IndividualPersonalInfoFormValues extends IndividualEmailMobileF
|
|
|
104
104
|
gender: string | null;
|
|
105
105
|
nid: string;
|
|
106
106
|
issuedCountry: CountryCode | undefined;
|
|
107
|
-
expiryDate: string;
|
|
108
|
-
dob: string;
|
|
107
|
+
expiryDate: string | undefined;
|
|
108
|
+
dob: string | undefined;
|
|
109
109
|
placeOfBirthCountry: CountryCode | undefined;
|
|
110
110
|
placeOfBirthCity: City | undefined;
|
|
111
111
|
nationality: CountryCode | undefined;
|
|
@@ -1942,6 +1942,7 @@ export var connectSlice = createSlice({
|
|
|
1942
1942
|
state.loading = false;
|
|
1943
1943
|
state.error = null;
|
|
1944
1944
|
state.data.individualData.mobile = action.payload.formData.mobile;
|
|
1945
|
+
state.data.individualData.countryCode = action.payload.formData.countryCode;
|
|
1945
1946
|
state.data.responseData = __assign(__assign({}, state.data.responseData), { individualData: action.payload.leadResponse, verifyAuthMobile: action.payload.leadResponse });
|
|
1946
1947
|
state.data.verifyAuthOtpData.authFor = AuthForScreen.MOBILE_OWNERSHIP;
|
|
1947
1948
|
})
|
|
@@ -621,7 +621,8 @@ export var updateIndividualPersonalInfo = createAsyncThunk('individual/updateInd
|
|
|
621
621
|
expiry: isExpiryNonEditable || !expiryDate ? undefined : new Date(expiryDate).getTime(),
|
|
622
622
|
type: isIdTypeNonEditable || !identification_id_type ? undefined : identification_id_type
|
|
623
623
|
}
|
|
624
|
-
})), (!isDOBNonEditable &&
|
|
624
|
+
})), (!isDOBNonEditable &&
|
|
625
|
+
dob && {
|
|
625
626
|
date_of_birth: dob
|
|
626
627
|
})), (hasBirth &&
|
|
627
628
|
!(isBirthCityNonEditable && isBirthCountryNonEditable) && {
|
|
@@ -911,8 +912,8 @@ var initialState = {
|
|
|
911
912
|
gender: IndividualGender.MALE,
|
|
912
913
|
nid: '',
|
|
913
914
|
issuedCountry: undefined,
|
|
914
|
-
expiryDate:
|
|
915
|
-
dob:
|
|
915
|
+
expiryDate: undefined,
|
|
916
|
+
dob: undefined,
|
|
916
917
|
placeOfBirthCountry: undefined,
|
|
917
918
|
placeOfBirthCity: undefined,
|
|
918
919
|
nationality: undefined
|