@next-core/brick-kit 2.140.0 → 2.141.0

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,17 @@
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.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)
7
+
8
+
9
+ ### Features
10
+
11
+ * **easyops-analytics:** add metic ([e4f6c68](https://github.com/easyops-cn/next-core/commit/e4f6c6888f5bb315406a54edbb4d679d10fc3b48))
12
+
13
+
14
+
15
+
16
+
6
17
  # [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
18
 
8
19
 
@@ -12288,7 +12288,11 @@
12288
12288
  _this3.mediaEventTargetHandler = event => _this3.locationContext.handleMediaChange(event.detail);
12289
12289
 
12290
12290
  mediaEventTarget.addEventListener("change", _this3.mediaEventTargetHandler);
12291
- pageTracker === null || pageTracker === void 0 ? void 0 : pageTracker(locationContext.getCurrentMatch().path); // analytics page_view event
12291
+ pageTracker === null || pageTracker === void 0 ? void 0 : pageTracker({
12292
+ path: locationContext.getCurrentMatch().path,
12293
+ username: getAuth().username,
12294
+ pageTitle: document.title
12295
+ }); // analytics page_view event
12292
12296
 
12293
12297
  easyopsAnalytics.userAnalytics.event("page_view", _objectSpread__default["default"]({
12294
12298
  micro_app_id: _this3.kernel.currentApp.id,