@aomex/auth 3.30.8-alpha.62.sha-92b25bb → 4.0.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 +16 -0
- package/package.json +22 -29
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
# [4.0.0](https://github.com/aomex/aomex/compare/v3.30.7...v4.0.0) (2026-11-17)
|
|
7
|
+
|
|
8
|
+
* feat(auth)!: 增加api-key策略 ([43a453c](https://github.com/aomex/aomex/commit/43a453cbb96ba50228fbdebdf96f34a820bbf9a0))
|
|
9
|
+
* chore!: 升级至 TypeScript 7 并将构建工具迁移到 tsdown ([a111409](https://github.com/aomex/aomex/commit/a111409021e2ee81ee5fb20ccc75480c9b5fa4c0))
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **auth:** signature 改用 randomBytes 生成令牌 ([d855f07](https://github.com/aomex/aomex/commit/d855f075d3bd24891a9f21860a6efbc20c8dc7c8))
|
|
14
|
+
|
|
15
|
+
### BREAKING CHANGES
|
|
16
|
+
|
|
17
|
+
* bearer策略从`@aomex/auth/bearer`导入
|
|
18
|
+
* Node.js 最低版本提升至 `>=24.0.0`。
|
|
19
|
+
* 最低 TypeScript 版本为 7。
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [3.30.7](https://github.com/aomex/aomex/compare/v3.30.6...v3.30.7) (2026-11-01)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aomex/auth
|
package/package.json
CHANGED
|
@@ -1,35 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aomex/auth",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "身份认证统一入口",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"prepublishOnly": "tsdown"
|
|
7
|
-
},
|
|
8
5
|
"type": "module",
|
|
9
|
-
"types": "
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
10
7
|
"exports": {
|
|
11
|
-
".":
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./bearer": {
|
|
13
|
+
"types": "./dist/strategies/auth-bearer-strategy.d.ts",
|
|
14
|
+
"import": "./dist/strategies/auth-bearer-strategy.js"
|
|
15
|
+
},
|
|
16
|
+
"./api-key": {
|
|
17
|
+
"types": "./dist/strategies/auth-api-key-strategy.d.ts",
|
|
18
|
+
"import": "./dist/strategies/auth-api-key-strategy.js"
|
|
19
|
+
},
|
|
14
20
|
"./package.json": "./package.json"
|
|
15
21
|
},
|
|
16
22
|
"publishConfig": {
|
|
17
|
-
"types": "dist/index.d.ts",
|
|
18
|
-
"exports": {
|
|
19
|
-
".": {
|
|
20
|
-
"types": "./dist/index.d.ts",
|
|
21
|
-
"import": "./dist/index.js"
|
|
22
|
-
},
|
|
23
|
-
"./bearer": {
|
|
24
|
-
"types": "./dist/strategies/auth-bearer-strategy.d.ts",
|
|
25
|
-
"import": "./dist/strategies/auth-bearer-strategy.js"
|
|
26
|
-
},
|
|
27
|
-
"./api-key": {
|
|
28
|
-
"types": "./dist/strategies/auth-api-key-strategy.d.ts",
|
|
29
|
-
"import": "./dist/strategies/auth-api-key-strategy.js"
|
|
30
|
-
},
|
|
31
|
-
"./package.json": "./package.json"
|
|
32
|
-
},
|
|
33
23
|
"access": "public"
|
|
34
24
|
},
|
|
35
25
|
"files": [
|
|
@@ -39,7 +29,10 @@
|
|
|
39
29
|
"README.md",
|
|
40
30
|
"CHANGELOG.md"
|
|
41
31
|
],
|
|
42
|
-
"repository":
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git@github.com:aomex/aomex.git"
|
|
35
|
+
},
|
|
43
36
|
"homepage": "https://aomex.js.org",
|
|
44
37
|
"license": "MIT",
|
|
45
38
|
"peerDependencies": {
|
|
@@ -47,8 +40,8 @@
|
|
|
47
40
|
"@aomex/web": "^4.0.0"
|
|
48
41
|
},
|
|
49
42
|
"devDependencies": {
|
|
50
|
-
"@aomex/common": "
|
|
51
|
-
"@aomex/web": "
|
|
43
|
+
"@aomex/common": "4.0.0",
|
|
44
|
+
"@aomex/web": "4.0.0"
|
|
52
45
|
},
|
|
53
|
-
"
|
|
54
|
-
}
|
|
46
|
+
"scripts": {}
|
|
47
|
+
}
|