@longzai-intelligence-auth/cookie-jwt-strategy 0.1.8 → 0.1.10
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.d.ts +0 -2
- package/package.json +9 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CredentialExtractor } from "@longzai-intelligence-auth/credential";
|
|
2
2
|
import { RequestTokenVerifier, TokenVerifierPort } from "@longzai-intelligence-auth/core";
|
|
3
|
-
//#region src/index.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Cookie JWT 验证策略配置
|
|
6
5
|
*/
|
|
@@ -28,5 +27,4 @@ type CookieJwtStrategyOptions = {
|
|
|
28
27
|
* @returns 实现 RequestTokenVerifier 的组合策略
|
|
29
28
|
*/
|
|
30
29
|
declare function createCookieJwtStrategy(options: CookieJwtStrategyOptions): RequestTokenVerifier;
|
|
31
|
-
//#endregion
|
|
32
30
|
export { CookieJwtStrategyOptions, createCookieJwtStrategy };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longzai-intelligence-auth/cookie-jwt-strategy",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Longzai Intelligence Auth Cookie JWT 验证策略包",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"auth",
|
|
@@ -30,25 +30,22 @@
|
|
|
30
30
|
"build": "lzi-builder",
|
|
31
31
|
"build:prod": "NODE_ENV=production bun run build",
|
|
32
32
|
"prepublishOnly": "bun run build:prod",
|
|
33
|
-
"typecheck": "
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"typecheck:test": "lzi-tsgo typecheck tsconfig/test.json",
|
|
37
|
-
"lint": "oxlint && oxfmt --check",
|
|
38
|
-
"lint:fix": "oxlint --fix && oxfmt",
|
|
33
|
+
"typecheck": "lzi-typecheck",
|
|
34
|
+
"lint": "lzi-lint lint",
|
|
35
|
+
"lint:fix": "lzi-lint fix",
|
|
39
36
|
"test": "bun test",
|
|
40
37
|
"test:watch": "bun test --watch",
|
|
41
38
|
"test:coverage": "bun test --coverage",
|
|
42
39
|
"test:unit": "bun test src/__tests__/unit/",
|
|
43
40
|
"test:integration": "bun test src/__tests__/integration/",
|
|
44
|
-
"clean": "lzi-dev-
|
|
41
|
+
"clean": "lzi-dev-tools clean"
|
|
45
42
|
},
|
|
46
43
|
"dependencies": {
|
|
47
|
-
"@longzai-intelligence-auth/core": "0.1.
|
|
48
|
-
"@longzai-intelligence-auth/credential": "0.1.
|
|
44
|
+
"@longzai-intelligence-auth/core": "0.1.10",
|
|
45
|
+
"@longzai-intelligence-auth/credential": "0.1.10"
|
|
49
46
|
},
|
|
50
47
|
"devDependencies": {
|
|
51
|
-
"@longzai-intelligence-auth/bearer-jwt-strategy": "0.1.
|
|
52
|
-
"@longzai-intelligence-auth/jwt": "0.1.
|
|
48
|
+
"@longzai-intelligence-auth/bearer-jwt-strategy": "0.1.10",
|
|
49
|
+
"@longzai-intelligence-auth/jwt": "0.1.10"
|
|
53
50
|
}
|
|
54
51
|
}
|