@mx-cartographer/experiences 7.2.15-alpha.sms22 → 7.2.15-alpha.sms23

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.
@@ -1202,15 +1202,17 @@ class ts {
1202
1202
  constructor(t = K, e = "/", r) {
1203
1203
  this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = r, this.accountStore = new yt(this), this.appDataStore = new ce(this), this.analyticsStore = new se(this), this.beatStore = new bt(this), this.budgetsStore = new re(this), this.cashflowStore = new nt(this), this.categoryStore = new et(this), this.connectStore = new de(this), this.copyStore = new ee(this), this.debtsStore = new Ct(this), this.finstrongStore = new vt(this), this.goalStore = new it(this), this.helpStore = new ne(this), this.holdingStore = new ie(this), this.merchantStore = new Bt(this), this.netWorthStore = new It(this), this.notificationStore = new st(this), this.recurringTransactionsStore = new mt(this), this.settingsStore = new Nt(this), this.transactionStore = new at(this), this.trendsStore = new ct(this), this.userStore = new ue(this), this.globalUiStore = new le(this), f(this), ft(() => {
1204
1204
  const o = this.transactionStore;
1205
- return this.emitChange(), {
1206
- transactions: o
1205
+ return console.log("change happened"), this.emitChange(), {
1206
+ transactionStore: o
1207
1207
  };
1208
1208
  });
1209
1209
  }
1210
1210
  get isInitialized() {
1211
1211
  return this.globalUiStore.isInitialized;
1212
1212
  }
1213
- // for external libraries like Pulse to subscribe to global store snapshots, like getTransactionStoreSnapshot
1213
+ // for external libraries like Pulse to subscribe
1214
+ // to global store snapshots, like `getTransactionStoreSnapshot` below
1215
+ // using `useSyncExternalStore` https://react.dev/reference/react/useSyncExternalStore
1214
1216
  subscribe = (t) => (this.listeners = [...this.listeners, t], () => {
1215
1217
  this.listeners = this.listeners.filter((e) => e !== t);
1216
1218
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.2.15-alpha.sms22",
3
+ "version": "7.2.15-alpha.sms23",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",