@zeniai/client-epic-state 4.14.63 → 4.14.65
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.
|
@@ -112,14 +112,14 @@ function getBankConnectionsSetupViewDetails(state, companyId, isBillPayEnabled,
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
function getBillingAccountsViewDetails(state, companyId) {
|
|
115
|
-
var _a;
|
|
115
|
+
var _a, _b;
|
|
116
116
|
const { plaidAccountViewState, settingsViewState, addressViewState } = state;
|
|
117
117
|
const { uiState } = settingsViewState;
|
|
118
118
|
const fetchState = (0, reduceFetchState_1.reduceAnyFetchState)([
|
|
119
119
|
settingsViewState.bankConnection,
|
|
120
120
|
plaidAccountViewState['billing_setup'].accountDetails.fetchStatus,
|
|
121
121
|
]);
|
|
122
|
-
const subscriptionBillingAddress = (_a = addressViewState.newAddressState) === null || _a === void 0 ? void 0 : _a.subscription_billing_address.addressToCreate;
|
|
122
|
+
const subscriptionBillingAddress = (_b = (_a = addressViewState.newAddressState) === null || _a === void 0 ? void 0 : _a.subscription_billing_address) === null || _b === void 0 ? void 0 : _b.addressToCreate;
|
|
123
123
|
return {
|
|
124
124
|
setupView: Object.assign({}, (0, setupViewSelector_1.getCommonSetupViewDetails)(state, companyId, 'billing', 'billing_setup')),
|
|
125
125
|
uiState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.65",
|
|
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",
|