@zeniai/client-epic-state 4.18.46 → 4.18.47
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.
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
var _a;
|
|
6
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
4
|
exports.clearSetupView = exports.clearSetupViewDataInLocalStore = exports.saveIndustryAndIncDateInLocalStore = exports.verifyOtpFailureSpendManagementSetUp = exports.verifyOtpSuccessSpendManagementSetUp = exports.verifyOtpSpendManagementSetUp = exports.sendOtpFailureSpendManagementSetUp = exports.sendOtpSuccessSpendManagementSetUp = exports.resendOtpSpendManagementSetUp = exports.sendOtpSpendManagementSetUp = exports.saveTreasuryAdditionalDocumentsInLocalStore = exports.saveCompnayOfficerAdditionalDocumentsInLocalStore = exports.saveCompnayOfficerPhoneInLocalStore = exports.saveSetupViewDataInLocalStore = exports.updateSetupViewLocalStoreData = exports.updateSelectedCompanyOfficer = exports.updateBusinessVerificationDetailsFailure = exports.updateBusinessVerificationDetailsSuccess = exports.updateBusinessVerificationDetails = exports.enableSetupFailure = exports.enableSetupSuccess = exports.enableSetup = exports.initialState = void 0;
|
|
8
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
|
-
const uniq_1 = __importDefault(require("lodash/uniq"));
|
|
10
6
|
const initialFetchStatus = {
|
|
11
7
|
fetchState: 'Not-Started',
|
|
12
8
|
error: undefined,
|
|
@@ -171,12 +167,9 @@ const setupView = (0, toolkit_1.createSlice)({
|
|
|
171
167
|
}
|
|
172
168
|
},
|
|
173
169
|
saveTreasuryAdditionalDocumentsInLocalStore(draft, action) {
|
|
174
|
-
const {
|
|
170
|
+
const { sourceOfFunds } = action.payload;
|
|
175
171
|
if (draft.companyDetails.localData != null) {
|
|
176
|
-
draft.companyDetails.localData = Object.assign(Object.assign({}, draft.companyDetails.localData), {
|
|
177
|
-
...draft.companyDetails.localData.fileIds,
|
|
178
|
-
...(fileIds !== null && fileIds !== void 0 ? fileIds : []),
|
|
179
|
-
]), sourceOfFunds: sourceOfFunds !== null && sourceOfFunds !== void 0 ? sourceOfFunds : '' });
|
|
172
|
+
draft.companyDetails.localData = Object.assign(Object.assign({}, draft.companyDetails.localData), { sourceOfFunds: sourceOfFunds !== null && sourceOfFunds !== void 0 ? sourceOfFunds : '' });
|
|
180
173
|
}
|
|
181
174
|
},
|
|
182
175
|
saveCompnayOfficerPhoneInLocalStore(draft, action) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.47",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|