@zeniai/client-epic-state 5.2.20-betaRD0 → 5.2.20-betaRD1

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.
@@ -37,6 +37,7 @@ export const fetchJeSchedulesEpic = (actions$, state$, zeniAPI) => actions$.pipe
37
37
  .format(DEFAULT_DATE_FORMAT);
38
38
  const queryParam = {
39
39
  base_transaction_end_date: endDate,
40
+ end_date: endDate,
40
41
  accrued_start_date: accruedStartDate,
41
42
  accrued_end_date: endDate,
42
43
  include_accrued: true,
@@ -40,6 +40,7 @@ const fetchJeSchedulesEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, op
40
40
  .format(timePeriod_1.DEFAULT_DATE_FORMAT);
41
41
  const queryParam = {
42
42
  base_transaction_end_date: endDate,
43
+ end_date: endDate,
43
44
  accrued_start_date: accruedStartDate,
44
45
  accrued_end_date: endDate,
45
46
  include_accrued: true,
@@ -22,6 +22,15 @@ export interface ExpenseAutomationJESchedulesQueryPayload {
22
22
  accrued_end_date: string;
23
23
  accrued_start_date: string;
24
24
  base_transaction_end_date: string;
25
+ /**
26
+ * The same value as `base_transaction_end_date`, sent for the rollout window.
27
+ *
28
+ * An older server reads only `end_date` and has never heard of
29
+ * `base_transaction_end_date`; without this it falls back to `date.today()`, which silently
30
+ * widens the Existing tab and breaks any month other than the current one. Remove alongside
31
+ * `include_accrued`.
32
+ */
33
+ end_date: string;
25
34
  /**
26
35
  * Sent while the backend rollout completes.
27
36
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "5.2.20-betaRD0",
3
+ "version": "5.2.20-betaRD1",
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",