@xh/hoist 74.0.0-SNAPSHOT.1748449592533 → 74.0.0-SNAPSHOT.1748535979199

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.
@@ -146,16 +146,18 @@ export class ActivityTrackingModel extends HoistModel implements ActivityDetailP
146
146
  if (!enabled) return;
147
147
 
148
148
  try {
149
- const data = await XH.postJson({
149
+ const data: PlainObject[] = await XH.postJson({
150
150
  url: 'trackLogAdmin',
151
151
  body: query,
152
152
  loadSpec
153
153
  });
154
154
 
155
- data.forEach(it => this.processRawTrackLog(it));
155
+ if (loadSpec.isStale) return;
156
156
 
157
+ data.forEach(it => this.processRawTrackLog(it));
157
158
  await cube.loadDataAsync(data);
158
159
  } catch (e) {
160
+ if (loadSpec.isStale || loadSpec.isAutoRefresh) return;
159
161
  await cube.clearAsync();
160
162
  XH.handleException(e);
161
163
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "74.0.0-SNAPSHOT.1748449592533",
3
+ "version": "74.0.0-SNAPSHOT.1748535979199",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",