@pubinfo-nightly/module-auth 2026.3.14 → 2026.3.16
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.js +49 -44
- package/dist/providers/4A.js +4 -2
- package/dist/providers/credentials.js +4 -2
- package/dist/providers/ding-zj.js +4 -2
- package/dist/providers/sso.js +4 -2
- package/package.json +3 -3
package/dist/providers/4A.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/providers/4A.ts
|
|
2
|
+
function e(e) {
|
|
2
3
|
let { clientId: t, redirectUri: n } = e;
|
|
3
4
|
return {
|
|
4
5
|
id: "4A",
|
|
@@ -16,4 +17,5 @@ function FourA(e) {
|
|
|
16
17
|
...e
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
|
-
|
|
20
|
+
//#endregion
|
|
21
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/providers/credentials.ts
|
|
2
|
+
function e(e) {
|
|
2
3
|
return {
|
|
3
4
|
id: "credentials",
|
|
4
5
|
name: "凭证登录",
|
|
@@ -6,4 +7,5 @@ function Credentials(e) {
|
|
|
6
7
|
...e
|
|
7
8
|
};
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/providers/ding-zj.ts
|
|
2
|
+
function e(e) {
|
|
2
3
|
let { clientId: t, redirectUri: n } = e;
|
|
3
4
|
return {
|
|
4
5
|
id: "ding-zj",
|
|
@@ -41,4 +42,5 @@ function DingZJ(e) {
|
|
|
41
42
|
...e
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
|
-
|
|
45
|
+
//#endregion
|
|
46
|
+
export { e as default };
|
package/dist/providers/sso.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/providers/sso.ts
|
|
2
|
+
function e(e = {}) {
|
|
2
3
|
let { loginType: t = "defaultOauth2" } = e;
|
|
3
4
|
return {
|
|
4
5
|
id: "sso",
|
|
@@ -15,4 +16,5 @@ function Sso(e = {}) {
|
|
|
15
16
|
...e
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
+
//#endregion
|
|
20
|
+
export { e as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo-nightly/module-auth",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2026.03.
|
|
4
|
+
"version": "2026.03.16",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"node": "^20.19.0 || >=22.12.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"pubinfo-nightly": "2026.03.
|
|
26
|
+
"pubinfo-nightly": "2026.03.16"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"pubinfo-nightly": "2026.03.
|
|
29
|
+
"pubinfo-nightly": "2026.03.16"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"dev": "pubinfo build --watch",
|