@tap-payments/auth-jsconnect 2.5.22-test → 2.6.0-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.
|
@@ -1182,7 +1182,7 @@ export var businessSlice = createSlice({
|
|
|
1182
1182
|
state.error = action.error.message;
|
|
1183
1183
|
})
|
|
1184
1184
|
.addCase(updateLeadSuccess.fulfilled, function (state, action) {
|
|
1185
|
-
var _a, _b;
|
|
1185
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1186
1186
|
state.loading = false;
|
|
1187
1187
|
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { updateLeadSuccessLoading: false });
|
|
1188
1188
|
state.error = null;
|
|
@@ -1192,7 +1192,7 @@ export var businessSlice = createSlice({
|
|
|
1192
1192
|
state.error = description;
|
|
1193
1193
|
return;
|
|
1194
1194
|
}
|
|
1195
|
-
state.data.verify.responseBody = __assign(__assign(__assign({}, state.data.verify.responseBody), response), { name: (_b = state.data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.name });
|
|
1195
|
+
state.data.verify.responseBody = __assign(__assign(__assign({}, state.data.verify.responseBody), response), { name: (_b = state.data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.name, merchant: ((_c = state.data.verify.responseBody) === null || _c === void 0 ? void 0 : _c.merchant) || ((_f = (_e = (_d = state.data.verify.responseBody) === null || _d === void 0 ? void 0 : _d.business) === null || _e === void 0 ? void 0 : _e.entity) === null || _f === void 0 ? void 0 : _f.merchant) });
|
|
1196
1196
|
})
|
|
1197
1197
|
.addCase(updateLeadSuccess.pending, function (state) {
|
|
1198
1198
|
state.loading = true;
|