@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/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.141.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.141.0...@next-core/brick-kit@2.141.1) (2022-09-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * 获取standalone micro app接口调整 ([1a2404d](https://github.com/easyops-cn/next-core/commit/1a2404d78225645e56f83a7a4c1f8a5316dea2b7))
12
+
13
+
14
+
15
+
16
+
17
+ # [2.141.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.140.0...@next-core/brick-kit@2.141.0) (2022-09-19)
18
+
19
+
20
+ ### Features
21
+
22
+ * **easyops-analytics:** add metic ([e4f6c68](https://github.com/easyops-cn/next-core/commit/e4f6c6888f5bb315406a54edbb4d679d10fc3b48))
23
+
24
+
25
+
26
+
27
+
6
28
  # [2.140.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.139.0...@next-core/brick-kit@2.140.0) (2022-09-14)
7
29
 
8
30
 
@@ -11781,20 +11781,17 @@
11781
11781
  try {
11782
11782
  var result = yield RuntimeApi_searchMicroAppStandalone({
11783
11783
  query: {
11784
- isActiveVersion: true,
11785
11784
  appId: {
11786
11785
  $in: searchIds
11787
11786
  }
11788
11787
  },
11789
- fields: ["appId", "version"]
11788
+ fields: ["appId", "currentVersion", "installStatus"]
11790
11789
  });
11791
11790
 
11792
11791
  for (var item of result.list) {
11793
- standaloneApps.push({
11794
- id: item.appId,
11795
- currentVersion: item.version,
11796
- installStatus: "ok"
11797
- });
11792
+ standaloneApps.push(_objectSpread__default["default"](_objectSpread__default["default"]({}, item), {}, {
11793
+ id: item.appId
11794
+ }));
11798
11795
  }
11799
11796
 
11800
11797
  for (var id of searchIds) {
@@ -12288,7 +12285,11 @@
12288
12285
  _this3.mediaEventTargetHandler = event => _this3.locationContext.handleMediaChange(event.detail);
12289
12286
 
12290
12287
  mediaEventTarget.addEventListener("change", _this3.mediaEventTargetHandler);
12291
- pageTracker === null || pageTracker === void 0 ? void 0 : pageTracker(locationContext.getCurrentMatch().path); // analytics page_view event
12288
+ pageTracker === null || pageTracker === void 0 ? void 0 : pageTracker({
12289
+ path: locationContext.getCurrentMatch().path,
12290
+ username: getAuth().username,
12291
+ pageTitle: document.title
12292
+ }); // analytics page_view event
12292
12293
 
12293
12294
  easyopsAnalytics.userAnalytics.event("page_view", _objectSpread__default["default"]({
12294
12295
  micro_app_id: _this3.kernel.currentApp.id,