@zeniai/client-epic-state 5.1.16-betaRD3 → 5.1.16-betaRD4

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.
@@ -170,7 +170,7 @@ const expenseAutomationTransactionsView = createSlice({
170
170
  year: period.start.year,
171
171
  };
172
172
  const transactionIdsBySelectedPeriod = draft.transactionCategorizationView[selectedTab]
173
- .transactionIdsBySelectedPeriod[toMonthYearPeriodId(monthYearPeriod)];
173
+ .transactionIdsBySelectedPeriod[toMonthYearPeriodId(monthYearPeriod)] ?? [];
174
174
  transactionIdsBySelectedPeriod.forEach((transactionId) => {
175
175
  delete draft.transactionCategorizationView[selectedTab]
176
176
  .transactionReviewLocalDataById[transactionId];
@@ -177,7 +177,7 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
177
177
  year: period.start.year,
178
178
  };
179
179
  const transactionIdsBySelectedPeriod = draft.transactionCategorizationView[selectedTab]
180
- .transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(monthYearPeriod)];
180
+ .transactionIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(monthYearPeriod)] ?? [];
181
181
  transactionIdsBySelectedPeriod.forEach((transactionId) => {
182
182
  delete draft.transactionCategorizationView[selectedTab]
183
183
  .transactionReviewLocalDataById[transactionId];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "5.1.16-betaRD3",
3
+ "version": "5.1.16-betaRD4",
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
  "module": "lib/esm/index.js",