@mx-cartographer/experiences 3.1.2-alpha.bb2 → 3.1.3-alpha.j1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [3.1.2] - 09-03-2024
2
+
3
+ - **FIXED** - Issue with accounts not loading
4
+
1
5
  ## [3.1.1] - 08-28-2024
2
6
 
3
7
  - **FIXED** - Cashflow daterange inconsistencies
@@ -11,7 +11,7 @@ export declare class AccountStore {
11
11
  members: Member[];
12
12
  uiStore: UiStore;
13
13
  constructor(globalStore: GlobalStore);
14
- initialize: (endpoint: string, token: string) => void;
14
+ initialize: (endpoint: string, token: string) => Promise<void>;
15
15
  get cashAccounts(): Account[];
16
16
  get cashBalance(): number;
17
17
  addAccount: (account: Account) => Promise<void>;
@@ -26,7 +26,7 @@ export declare class AccountStore {
26
26
  }) => Promise<any>;
27
27
  mergeAccounts: (accountGuids: string[]) => Promise<void>;
28
28
  sortAccounts: (accounts?: Account[]) => Account[];
29
- refreshAccounts: () => void;
29
+ refreshAccounts: () => Promise<void>;
30
30
  refreshMembers: () => Promise<void>;
31
31
  removeAccount: (accountGuid: string) => Promise<void>;
32
32
  updateAccount: (account: Account) => Promise<void>;
@@ -1,2 +1 @@
1
- export { BubbleBudgetsWidget } from './BubbleBudgetsWidget';
2
1
  export { default as BubbleBudgetsMiniWidget } from './BubbleBudgetsMiniWidget';
@@ -12,7 +12,7 @@ export interface AccountFilterProps {
12
12
  copy: AccountFilterCopy;
13
13
  onFilterClick: (selected: string[]) => void;
14
14
  onConnectAccountClick?: () => void;
15
- selectedAccounts: string[];
15
+ selectedAccountGuids: string[];
16
16
  showAccountNumbers: boolean;
17
17
  sx?: SxProps;
18
18
  variant?: 'outlined' | 'text';
@@ -11,5 +11,5 @@ export interface MappedAccount {
11
11
  export interface MappedOptions {
12
12
  [key: string]: boolean;
13
13
  }
14
- export declare const setupMappedSelectedOptions: (accounts: Account[], selectedAccounts: string[]) => MappedOptions;
14
+ export declare const setupMappedSelectedOptions: (accounts: Account[], selectedAccountGuids: string[]) => MappedOptions;
15
15
  export declare const setupMappedAccounts: (accounts: Account[]) => MappedAccounts;