@mx-cartographer/experiences 4.1.4-alpha.bb9 → 4.1.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [4.1.4] - 02-18-2025
2
+
3
+ - **FIXED** - Issues with completed Goals not working correctly
4
+ - **FIXED** - Issues with Debt goals showing the incorrect amounts and status bar
5
+ - **FIXED** - Issues with Add/Deleting Retirement goals
6
+ - **FIXED** - Issues with reordering Save and Debt goals
7
+
1
8
  ## [4.1.3] - 02-17-2025
2
9
 
3
10
  - **FIXED** - Transaction list amount truncate fix
@@ -1,5 +1,5 @@
1
1
  import { GoalApi } from '../api/GoalApi';
2
- import { GlobalStore, Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from '../../common';
2
+ import { Goal, MonthlyCashFlowProfile, RetirementGoalAccount, GlobalStore } from '../../common';
3
3
  export declare class GoalStore {
4
4
  api: GoalApi;
5
5
  globalStore: GlobalStore;
package/dist/index.es.js CHANGED
@@ -12331,16 +12331,22 @@ class a1 {
12331
12331
  try {
12332
12332
  const a = await this.api.addRetirementGoal(A), r = [];
12333
12333
  for (const i of this.newRetirementGoalAccounts) {
12334
- const o = await this.api.addRetirementGoalAccount({ ...i, retirement_goal_guid: a.guid });
12334
+ const o = await this.api.addRetirementGoalAccount({
12335
+ ...i,
12336
+ retirement_goal_guid: a.guid
12337
+ });
12335
12338
  r.push(o);
12336
12339
  }
12337
12340
  this.setNewRetirementGoalAccounts([]), Y(() => {
12338
- this.goals = [...this.goals, {
12339
- ...a,
12340
- amount: a.target_amount,
12341
- name: n.retirement,
12342
- track_type: U.RETIREMENT_TRACK
12343
- }], this.retirementGoalAccounts = [...this.retirementGoalAccounts, ...r];
12341
+ this.goals = [
12342
+ ...this.goals,
12343
+ {
12344
+ ...a,
12345
+ amount: a.target_amount,
12346
+ name: n.retirement,
12347
+ track_type: U.RETIREMENT_TRACK
12348
+ }
12349
+ ], this.retirementGoalAccounts = [...this.retirementGoalAccounts, ...r];
12344
12350
  });
12345
12351
  } catch (a) {
12346
12352
  console.error(`Error occurred while adding retirement goal: ${a}`);