@tap-payments/auth-jsconnect 2.8.18-test → 2.8.19-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.
|
@@ -228,7 +228,7 @@ export var getMerchantListAsync = createAsyncThunk('connectExpress/getMerchantLi
|
|
|
228
228
|
case 0:
|
|
229
229
|
_b = thunkApi.getState(), settings = _b.settings, connectExpress = _b.connectExpress;
|
|
230
230
|
platforms = (_e = (_d = (_c = connectExpress.data.responseData) === null || _c === void 0 ? void 0 : _c.leadData) === null || _d === void 0 ? void 0 : _d.platforms) !== null && _e !== void 0 ? _e : settings.data.appConfig.platforms;
|
|
231
|
-
payment_provider = (_h = (_g = (_f = connectExpress.data.responseData) === null || _f === void 0 ? void 0 : _f.
|
|
231
|
+
payment_provider = (_h = (_g = (_f = connectExpress.data.responseData) === null || _f === void 0 ? void 0 : _f.leadData) === null || _g === void 0 ? void 0 : _g.payment_provider) !== null && _h !== void 0 ? _h : settings.data.appConfig.paymentProvider;
|
|
232
232
|
payload = {
|
|
233
233
|
business_entity_id: (entityInfo === null || entityInfo === void 0 ? void 0 : entityInfo.id) || '',
|
|
234
234
|
brand_id: (brandInfo === null || brandInfo === void 0 ? void 0 : brandInfo.id) || '',
|
|
@@ -880,7 +880,7 @@ export var createAccountAsync = createAsyncThunk('connectExpress/createAccountAs
|
|
|
880
880
|
responseData = connectExpress.data.responseData;
|
|
881
881
|
_b = settings.data.appConfig, postURL = _b.postURL, scope = _b.scope, redirectUrl = _b.redirectUrl, mode = _b.mode, showBoard = _b.showBoard;
|
|
882
882
|
platforms = (_e = (_d = responseData === null || responseData === void 0 ? void 0 : responseData.leadData) === null || _d === void 0 ? void 0 : _d.platforms) !== null && _e !== void 0 ? _e : settings.data.appConfig.platforms;
|
|
883
|
-
payment_provider = (_g = (_f = responseData === null || responseData === void 0 ? void 0 : responseData.
|
|
883
|
+
payment_provider = (_g = (_f = responseData === null || responseData === void 0 ? void 0 : responseData.leadData) === null || _f === void 0 ? void 0 : _f.payment_provider) !== null && _g !== void 0 ? _g : settings.data.appConfig.paymentProvider;
|
|
884
884
|
authId = (_j = (_h = responseData === null || responseData === void 0 ? void 0 : responseData.authData) === null || _h === void 0 ? void 0 : _h.auth) === null || _j === void 0 ? void 0 : _j.id;
|
|
885
885
|
bi = settings.data.deviceInfo.browser.browser_id;
|
|
886
886
|
body = {
|
|
@@ -1183,7 +1183,8 @@ export var connectSlice = createSlice({
|
|
|
1183
1183
|
state.data.otpData.otp = '';
|
|
1184
1184
|
},
|
|
1185
1185
|
resetStore: function (state) {
|
|
1186
|
-
|
|
1186
|
+
var _a;
|
|
1187
|
+
state.data = __assign(__assign({}, state.data), { responseData: { leadData: (_a = state.data.responseData) === null || _a === void 0 ? void 0 : _a.leadData } });
|
|
1187
1188
|
},
|
|
1188
1189
|
resetIndividualScreen: function (state) {
|
|
1189
1190
|
state.data.individualData = initialState.data.individualData;
|