@zeniai/client-epic-state 5.0.82-betaAK6 → 5.0.82-betaAK7

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.
@@ -2,7 +2,7 @@ import { toAmount } from '../../../../commonStateTypes/amount';
2
2
  import { getNextTransferDate } from '../../../../commonStateTypes/workingDayHelper';
3
3
  import { toAutoSweepFrequency, } from './autoSweepFlowState';
4
4
  export const toSaveAutoSweepSettingsBody = (state) => ({
5
- first_transfer_date: getNextTransferDate(state.frequency).format('YYYY-MM-DD'),
5
+ first_run_date: getNextTransferDate(state.frequency).format('YYYY-MM-DD'),
6
6
  frequency: state.frequency,
7
7
  memo: state.memo,
8
8
  minimum_buffer_usd: state.bufferAmount.amount,
@@ -9,7 +9,7 @@ import { AutoSweepFlowState, AutoSweepFrequency } from './autoSweepFlowState';
9
9
  * (the slice tracks the canonical `Amount` value).
10
10
  */
11
11
  export type SaveAutoSweepSettingsBody = {
12
- first_transfer_date: string;
12
+ first_run_date: string;
13
13
  frequency: string;
14
14
  memo: string;
15
15
  minimum_buffer_usd: number;
@@ -5,7 +5,7 @@ const amount_1 = require("../../../../commonStateTypes/amount");
5
5
  const workingDayHelper_1 = require("../../../../commonStateTypes/workingDayHelper");
6
6
  const autoSweepFlowState_1 = require("./autoSweepFlowState");
7
7
  const toSaveAutoSweepSettingsBody = (state) => ({
8
- first_transfer_date: (0, workingDayHelper_1.getNextTransferDate)(state.frequency).format('YYYY-MM-DD'),
8
+ first_run_date: (0, workingDayHelper_1.getNextTransferDate)(state.frequency).format('YYYY-MM-DD'),
9
9
  frequency: state.frequency,
10
10
  memo: state.memo,
11
11
  minimum_buffer_usd: state.bufferAmount.amount,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "5.0.82-betaAK6",
3
+ "version": "5.0.82-betaAK7",
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",