@mx-cartographer/experiences 3.7.0-alpha.al3 → 3.7.0-alpha.al5

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.
package/dist/index.es.js CHANGED
@@ -9911,7 +9911,7 @@ class Tr {
9911
9911
  };
9912
9912
  getAccounts = async () => this.fetchInstance.get(N.ACCOUNTS).then((e) => e.accounts).catch((e) => e);
9913
9913
  getMembers = async () => this.fetchInstance.get(N.MEMBERS).then((e) => e.members).catch((e) => e);
9914
- getMonthlyAccountBalances = async (e) => this.fetchInstance.get(`${N.ACCOUNTS}/${e.guid}/monthly_account_balances`).then((n) => (console.log(n), n)).catch((n) => n);
9914
+ getMonthlyAccountBalances = async (e) => this.fetchInstance.get(`${N.ACCOUNTS}/${e.guid}/monthly_account_balances`).then((n) => n.monthly_account_balances).catch((n) => n);
9915
9915
  getNetWorthChartData = async () => wr.map((n) => ({ x: this.formatMonth(n.x), y: n.y }));
9916
9916
  getNetWorthMonthlyList = async () => wr;
9917
9917
  _flattenBalances = (e, n) => [
@@ -9934,7 +9934,9 @@ class Yu {
9934
9934
  };
9935
9935
  loadNetWorth = async () => {
9936
9936
  try {
9937
- const e = await this.api.getAccounts(), n = e.map((i) => this.api.getMonthlyAccountBalances(i)), a = await this.api.getNetWorthMonthlyList(), r = await this.api.getNetWorthChartData();
9937
+ const e = await this.api.getAccounts(), n = e.map((i) => this.api.getMonthlyAccountBalances(i));
9938
+ console.log(n);
9939
+ const a = await this.api.getNetWorthMonthlyList(), r = await this.api.getNetWorthChartData();
9938
9940
  V(() => {
9939
9941
  this.netWorthData = { accounts: e, monthlyAccountBalances: n }, this.netWorthMonthlyList = a, this.netWorthChartData = r;
9940
9942
  });