@mx-cartographer/experiences 7.2.15-alpha-ram6-finstrong-testing → 7.2.15-alpha-ram7-finstrong-testing

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.
@@ -14,7 +14,7 @@ class y {
14
14
  addCategory = async (t) => this.fetchInstance.post(i.CATEGORIES, t).then((e) => e.category);
15
15
  getCategories = async () => this.fetchInstance.get(i.CATEGORIES).then((t) => t.categories);
16
16
  getDateRangeCategoryTotals = async (t, e, o) => o.length === 0 ? [] : this.fetchInstance.post(`${i.DATE_RANGE_CATEGORY_TOTALS}/from/${t}/to/${e}`, {
17
- account_guid: o
17
+ account_guid: o.map((a) => a.guid)
18
18
  }).then((a) => a.date_range_category_totals);
19
19
  getMonthlyCategoryTotals = async (t, e, o) => {
20
20
  try {
@@ -1,5 +1,5 @@
1
1
  import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-ZO9N26Kx.mjs";
2
- import { C as g } from "../CategoryStore-Bd3zonIb.mjs";
2
+ import { C as g } from "../CategoryStore-2mI6CCiD.mjs";
3
3
  export {
4
4
  o as CategoryRow,
5
5
  a as CategorySelector,
@@ -18,7 +18,7 @@ export declare class CategoryStore {
18
18
  get transferCategories(): DetailedCategory[];
19
19
  addCategory: (name: string, parentGuid: string) => Promise<void>;
20
20
  loadCategories: (categoriesOverride?: Category[]) => Promise<void>;
21
- loadDateRangeCategoryTotals: (accountguid: any, startDate: Date, endDate: Date) => Promise<void>;
21
+ loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
22
22
  loadMonthlyCategoryTotals: (accounts?: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
23
23
  reloadCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
24
24
  removeCategory: (guid: string) => Promise<void>;
@@ -5,7 +5,7 @@ export declare class CategoryApi {
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
6
6
  addCategory: (category: Category) => Promise<any>;
7
7
  getCategories: () => Promise<any>;
8
- getDateRangeCategoryTotals: (startDate: number, endDate: number, accounts: any) => Promise<any>;
8
+ getDateRangeCategoryTotals: (startDate: number, endDate: number, accounts: Account[]) => Promise<any>;
9
9
  getMonthlyCategoryTotals: (startDate: number, endDate: number, accounts?: Account[]) => Promise<any>;
10
10
  removeCategory: (guid: string) => Promise<any>;
11
11
  updateCategory: (category: Category) => Promise<any>;
@@ -2,8 +2,8 @@ import { G as k } from "../useCombineEvents-BUDIR1ba.mjs";
2
2
  import { A as ss, a as rs, u as os, b as as } from "../useCombineEvents-BUDIR1ba.mjs";
3
3
  import { F as S, A as h } from "../Fetch-87LIQbEA.mjs";
4
4
  import { B as is } from "../BeatApi-DhJpgCLz.mjs";
5
- import { C as et } from "../CategoryStore-Bd3zonIb.mjs";
6
- import { a as ds } from "../CategoryStore-Bd3zonIb.mjs";
5
+ import { C as et } from "../CategoryStore-2mI6CCiD.mjs";
6
+ import { a as ds } from "../CategoryStore-2mI6CCiD.mjs";
7
7
  import { N as st } from "../NotificationStore-C6PH6MKm.mjs";
8
8
  import { a as us } from "../NotificationStore-C6PH6MKm.mjs";
9
9
  import { T as rt } from "../User-wXzDI4M8.mjs";
@@ -2027,7 +2027,7 @@ const L = {
2027
2027
  const t = E(), { monthlySummaries: r, handleFinstrongWidgetPrimaryCtaClick: n } = F(), { finstrong: o, goals: c, spending: a } = w(), { selectedAccounts: s, selectedAccountGuids: d } = j(), { categories: l, dateRangeCategoryTotals: p, loadDateRangeCategoryTotals: h } = Ye(), { appDataStore: _ } = Kn(), [b, x] = m.useState("");
2028
2028
  console.log(d, "selectedAccountGuids"), m.useEffect(() => {
2029
2029
  h(
2030
- d,
2030
+ s,
2031
2031
  _o(Lt(/* @__PURE__ */ new Date())),
2032
2032
  ho(Wt(/* @__PURE__ */ new Date()))
2033
2033
  ).finally();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.2.15-alpha-ram6-finstrong-testing",
3
+ "version": "7.2.15-alpha-ram7-finstrong-testing",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",