@ts-kizuna/hono 1.60.0 → 1.62.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/dist/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -3,9 +3,9 @@ let _ts_kizuna_core_adapter = require("@ts-kizuna/core/adapter");
|
|
|
3
3
|
//#region src/server.ts
|
|
4
4
|
/**
|
|
5
5
|
* A guard per identity, keyed by name. Each receives the handler context, a
|
|
6
|
-
* `deny` helper,
|
|
7
|
-
* identity's {@link GuardSuccess} (its
|
|
8
|
-
* result. Keying by name lets each guard's return be typed against its own
|
|
6
|
+
* `deny` helper, the matched route's required scopes, and the contract's
|
|
7
|
+
* request context, and returns that identity's {@link GuardSuccess} (its
|
|
8
|
+
* context and access fields) or a `deny(...)` result. Keying by name lets each guard's return be typed against its own
|
|
9
9
|
* identity, so access values narrow without an annotation. An
|
|
10
10
|
* authentication-only identity (no context, no access) returns nothing on
|
|
11
11
|
* success, or `deny(...)`.
|
package/dist/index.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import { GUARDS_META, JOBS_META, REQUEST_CONTEXT_META, ROUTER_META, SCHEMES_META
|
|
|
2
2
|
//#region src/server.ts
|
|
3
3
|
/**
|
|
4
4
|
* A guard per identity, keyed by name. Each receives the handler context, a
|
|
5
|
-
* `deny` helper,
|
|
6
|
-
* identity's {@link GuardSuccess} (its
|
|
7
|
-
* result. Keying by name lets each guard's return be typed against its own
|
|
5
|
+
* `deny` helper, the matched route's required scopes, and the contract's
|
|
6
|
+
* request context, and returns that identity's {@link GuardSuccess} (its
|
|
7
|
+
* context and access fields) or a `deny(...)` result. Keying by name lets each guard's return be typed against its own
|
|
8
8
|
* identity, so access values narrow without an annotation. An
|
|
9
9
|
* authentication-only identity (no context, no access) returns nothing on
|
|
10
10
|
* success, or `deny(...)`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-kizuna/hono",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.62.0",
|
|
4
4
|
"description": "Hono adapter for ts-kizuna",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ts-kizuna",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"hono": "^4.0.0",
|
|
59
59
|
"zod": "^4.0.0",
|
|
60
|
-
"@ts-kizuna/core": "1.
|
|
60
|
+
"@ts-kizuna/core": "1.62.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"hono": "^4.7.0",
|
|
64
64
|
"tsdown": "^0.21.0",
|
|
65
65
|
"typescript": "^6.0.3",
|
|
66
66
|
"zod": "^4.0.0",
|
|
67
|
-
"@ts-kizuna/core": "1.
|
|
67
|
+
"@ts-kizuna/core": "1.62.0"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build": "tsdown src/index.ts --format esm,cjs --dts --clean --external @ts-kizuna/core --external hono --external zod",
|