@next-core/brick-kit 2.128.1 → 2.129.2
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 +30 -0
- package/dist/index.bundle.js +3 -1
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/types/auth.d.ts.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.129.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.129.1...@next-core/brick-kit@2.129.2) (2022-08-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.129.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.129.0...@next-core/brick-kit@2.129.1) (2022-08-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **handleHttpError:** 修复请求报错msg超出弹窗的问题 refs INSTANCE-2681 ([0944a36](https://github.com/easyops-cn/next-core/commit/0944a36f2733f4f10ae77f93391adaf5ed994cd8))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [2.129.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.128.1...@next-core/brick-kit@2.129.0) (2022-08-19)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* support crsf token ([3ef8c62](https://github.com/easyops-cn/next-core/commit/3ef8c624af8126185222ce2e98c4c5622e6de9e7))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [2.128.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.128.0...@next-core/brick-kit@2.128.1) (2022-08-19)
|
|
7
37
|
|
|
8
38
|
|
package/dist/index.bundle.js
CHANGED
|
@@ -1414,7 +1414,8 @@
|
|
|
1414
1414
|
userInstanceId: newAuth.userInstanceId,
|
|
1415
1415
|
loginFrom: newAuth.loginFrom,
|
|
1416
1416
|
accessRule: newAuth.accessRule,
|
|
1417
|
-
isAdmin: newAuth.isAdmin
|
|
1417
|
+
isAdmin: newAuth.isAdmin,
|
|
1418
|
+
csrfToken: newAuth.csrfToken
|
|
1418
1419
|
}); // re-init analytics to set user_id
|
|
1419
1420
|
|
|
1420
1421
|
if (easyopsAnalytics.userAnalytics.initialized) {
|
|
@@ -1438,6 +1439,7 @@
|
|
|
1438
1439
|
auth.userInstanceId = undefined;
|
|
1439
1440
|
auth.accessRule = undefined;
|
|
1440
1441
|
auth.isAdmin = undefined;
|
|
1442
|
+
auth.csrfToken = undefined;
|
|
1441
1443
|
resetPermissionPreChecks(); // re-init analytics to clear user_id
|
|
1442
1444
|
|
|
1443
1445
|
easyopsAnalytics.userAnalytics.setUserId();
|