@mx-cartographer/experiences 3.1.0-alpha.sms3 → 3.1.0-alpha.sms5-await

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -8879,20 +8879,8 @@ class N7 {
8879
8879
  this.accountStore = new Ju(this), this.beatStore = new uc(), this.budgetsStore = new hc(this), this.cashflowStore = new Vd(this), this.categoryStore = new Cl(this), this.copyStore = new dc(), this.merchantStore = new eu(), this.notificationStore = new nu(), this.recurringActivityStore = new vd(this), this.transactionStore = new Pc(this), this.userStore = new lu(), this.globalUiStore = new Jd(this), wA(this);
8880
8880
  }
8881
8881
  initialize = async (e, n) => {
8882
- await this.copyStore.initialize(e, n), Promise.all([
8883
- this.accountStore.initialize(e, n),
8884
- this.beatStore.initialize(e, n),
8885
- this.merchantStore.initialize(e, n),
8886
- this.userStore.initialize(e, n),
8887
- this.categoryStore.initialize(e, n),
8888
- this.transactionStore.initialize(e, n),
8889
- this.recurringActivityStore.initialize(e, n),
8890
- this.budgetsStore.initialize(e, n),
8891
- this.notificationStore.initialize(e, n)
8892
- ]).then(() => {
8893
- W(() => {
8894
- this.isInitialized = !0, this.globalUiStore.setInitialized(!0), this.globalUiStore.setSelectedAccounts(this.accountStore.accounts);
8895
- });
8882
+ console.log("start", Date.now()), await this.copyStore.initialize(e, n), await this.accountStore.initialize(e, n), await this.beatStore.initialize(e, n), await this.merchantStore.initialize(e, n), await this.userStore.initialize(e, n), await this.categoryStore.initialize(e, n), await this.transactionStore.initialize(e, n), await this.recurringActivityStore.initialize(e, n), await this.budgetsStore.initialize(e, n), await this.notificationStore.initialize(e, n), W(() => {
8883
+ console.log("finish", Date.now()), this.isInitialized = !0, this.globalUiStore.setInitialized(!0), this.globalUiStore.setSelectedAccounts(this.accountStore.accounts);
8896
8884
  });
8897
8885
  };
8898
8886
  }