@tap-payments/auth-jsconnect 1.1.2-test → 1.1.3-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/features/app/bank/bankStore.js +2 -2
- package/build/features/app/individual/individualStore.js +2 -2
- package/build/features/app/password/passwordStore.js +2 -2
- package/build/features/app/tax/taxStore.js +2 -2
- package/build/features/password/screens/OTP/OTP.js +1 -1
- package/package.json +1 -1
|
@@ -381,8 +381,8 @@ export var bankSlice = createSlice({
|
|
|
381
381
|
state.error = description;
|
|
382
382
|
return;
|
|
383
383
|
}
|
|
384
|
-
var flows = response.flows, steps = response.steps;
|
|
385
|
-
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps });
|
|
384
|
+
var flows = response.flows, steps = response.steps, bank_account = response.bank_account;
|
|
385
|
+
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps, bank_account: bank_account });
|
|
386
386
|
})
|
|
387
387
|
.addCase(updateLeadSuccess.pending, function (state) {
|
|
388
388
|
state.loading = true;
|
|
@@ -419,8 +419,8 @@ export var individualSlice = createSlice({
|
|
|
419
419
|
state.error = description;
|
|
420
420
|
return;
|
|
421
421
|
}
|
|
422
|
-
var flows = response.flows, steps = response.steps;
|
|
423
|
-
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps });
|
|
422
|
+
var flows = response.flows, steps = response.steps, bank_account = response.bank_account;
|
|
423
|
+
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps, bank_account: bank_account });
|
|
424
424
|
})
|
|
425
425
|
.addCase(updateLeadSuccess.pending, function (state) {
|
|
426
426
|
state.loading = true;
|
|
@@ -447,8 +447,8 @@ export var passwordSlice = createSlice({
|
|
|
447
447
|
state.error = description;
|
|
448
448
|
return;
|
|
449
449
|
}
|
|
450
|
-
var flows = response.flows, steps = response.steps;
|
|
451
|
-
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps });
|
|
450
|
+
var flows = response.flows, steps = response.steps, bank_account = response.bank_account;
|
|
451
|
+
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps, bank_account: bank_account });
|
|
452
452
|
})
|
|
453
453
|
.addCase(updateLeadSuccess.pending, function (state) {
|
|
454
454
|
state.loading = true;
|
|
@@ -351,8 +351,8 @@ export var taxSlice = createSlice({
|
|
|
351
351
|
state.error = description;
|
|
352
352
|
return;
|
|
353
353
|
}
|
|
354
|
-
var flows = response.flows, steps = response.steps;
|
|
355
|
-
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps });
|
|
354
|
+
var flows = response.flows, steps = response.steps, bank_account = response.bank_account;
|
|
355
|
+
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps, bank_account: bank_account });
|
|
356
356
|
})
|
|
357
357
|
.addCase(updateLeadSuccess.pending, function (state) {
|
|
358
358
|
state.loading = true;
|
|
@@ -72,7 +72,7 @@ var OTP = function (_a) {
|
|
|
72
72
|
};
|
|
73
73
|
var disabled = !methods.formState.isValid || !!error;
|
|
74
74
|
var phone = (_c = (_b = data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.auth_info) === null || _c === void 0 ? void 0 : _c.phone;
|
|
75
|
-
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? t('ide_otp_waiting_title') : t('
|
|
75
|
+
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? t('ide_otp_waiting_title') : t('ide_opt_sent_title'), !loading && _jsx("span", __assign({ dir: 'ltr' }, { children: "".concat(maskPhone(phone || '')) }))] }) }), _jsx(OTPInput, {}), _jsx(Button, __assign({ onBackClicked: function () { return onBack(); }, disabled: disabled, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
|
|
76
76
|
};
|
|
77
77
|
OTP.defaultProps = {};
|
|
78
78
|
export default React.memo(OTP);
|