@das-fed/utils 7.0.7-hot.55 → 7.0.7-hot.56
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/api-services/modules/app-manage/index.js +782 -800
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +782 -800
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +803 -785
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +782 -800
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +800 -782
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +655 -651
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +802 -784
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +800 -782
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +633 -629
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +782 -800
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +635 -631
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +773 -759
- package/api-services/modules/tool/index.js.gz +0 -0
- package/create-api-service/sso/index.d.ts +2 -1
- package/create-api-service/sso/index.js +330 -338
- package/create-api-service/sso/index.js.gz +0 -0
- package/create-api-service/unauthorized-recovery/index.js +14 -9
- package/package.json +4 -4
|
Binary file
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
})
|
|
1
|
+
const n = Symbol.for("@das-fed/utils/unauthorized-recovery-state"), o = () => {
|
|
2
|
+
const r = globalThis;
|
|
3
|
+
return r[n] || (r[n] = {
|
|
4
|
+
handler: null,
|
|
5
|
+
promise: null
|
|
6
|
+
}), r[n];
|
|
7
|
+
}, e = o(), l = () => e.handler !== null, t = (r) => (e.handler = r, () => {
|
|
8
|
+
e.handler === r && (e.handler = null);
|
|
9
|
+
}), s = async (r) => e.handler ? (e.promise || (e.promise = Promise.resolve(e.handler(r)).finally(() => {
|
|
10
|
+
e.promise = null;
|
|
11
|
+
})), e.promise) : null;
|
|
7
12
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
l as hasUnauthorizedRecovery,
|
|
14
|
+
s as recoverUnauthorized,
|
|
15
|
+
t as registerUnauthorizedRecovery
|
|
11
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/utils",
|
|
3
|
-
"version": "7.0.7-hot.
|
|
3
|
+
"version": "7.0.7-hot.56",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "ISC",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@antv/x6": "^2.18.1",
|
|
12
|
-
"@das-fed/utils": "7.0.7-hot.
|
|
12
|
+
"@das-fed/utils": "7.0.7-hot.56",
|
|
13
13
|
"@vue/shared": "^3.4.21",
|
|
14
14
|
"@vueuse/core": "^9.6.0",
|
|
15
15
|
"axios": "^1.6.7",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"vue": "^3.4.21"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@das-fed/cli": "7.0.7-hot.
|
|
25
|
-
"@das-fed/web": "7.0.7-hot.
|
|
24
|
+
"@das-fed/cli": "7.0.7-hot.56",
|
|
25
|
+
"@das-fed/web": "7.0.7-hot.56",
|
|
26
26
|
"@types/js-cookie": "^3.0.6",
|
|
27
27
|
"@types/lodash-es": "^4.17.12",
|
|
28
28
|
"@types/qs": "^6.9.15",
|