@next-core/brick-kit 2.140.0 → 2.141.1

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/dist/index.esm.js CHANGED
@@ -11782,20 +11782,17 @@ function _fetchStandaloneApps() {
11782
11782
  try {
11783
11783
  var result = yield RuntimeApi_searchMicroAppStandalone({
11784
11784
  query: {
11785
- isActiveVersion: true,
11786
11785
  appId: {
11787
11786
  $in: searchIds
11788
11787
  }
11789
11788
  },
11790
- fields: ["appId", "version"]
11789
+ fields: ["appId", "currentVersion", "installStatus"]
11791
11790
  });
11792
11791
 
11793
11792
  for (var item of result.list) {
11794
- standaloneApps.push({
11795
- id: item.appId,
11796
- currentVersion: item.version,
11797
- installStatus: "ok"
11798
- });
11793
+ standaloneApps.push(_objectSpread(_objectSpread({}, item), {}, {
11794
+ id: item.appId
11795
+ }));
11799
11796
  }
11800
11797
 
11801
11798
  for (var id of searchIds) {
@@ -12289,7 +12286,11 @@ class Router {
12289
12286
  _this3.mediaEventTargetHandler = event => _this3.locationContext.handleMediaChange(event.detail);
12290
12287
 
12291
12288
  mediaEventTarget.addEventListener("change", _this3.mediaEventTargetHandler);
12292
- pageTracker === null || pageTracker === void 0 ? void 0 : pageTracker(locationContext.getCurrentMatch().path); // analytics page_view event
12289
+ pageTracker === null || pageTracker === void 0 ? void 0 : pageTracker({
12290
+ path: locationContext.getCurrentMatch().path,
12291
+ username: getAuth().username,
12292
+ pageTitle: document.title
12293
+ }); // analytics page_view event
12293
12294
 
12294
12295
  userAnalytics.event("page_view", _objectSpread({
12295
12296
  micro_app_id: _this3.kernel.currentApp.id,