@daloyjs/core 1.0.0-rc.0 → 1.0.0-rc.2
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/README.md +11 -9
- package/bin/daloy.mjs +38 -10
- package/dist/app.d.ts +21 -8
- package/dist/app.js +71 -12
- package/dist/cli.d.ts +5 -2
- package/dist/cli.js +9 -5
- package/dist/http-signatures.js +44 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/ip-reputation.d.ts +8 -2
- package/dist/ip-reputation.js +7 -1
- package/dist/jwk.js +6 -1
- package/dist/mcp.d.ts +80 -9
- package/dist/mcp.js +206 -4
- package/dist/middleware.d.ts +38 -0
- package/dist/middleware.js +45 -4
- package/dist/mtls.js +6 -1
- package/dist/sbom.cdx.json +9 -9
- package/dist/sbom.spdx.json +5 -5
- package/dist/types.d.ts +4 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -199,7 +199,10 @@ export interface AuthSpec {
|
|
|
199
199
|
*
|
|
200
200
|
* @example
|
|
201
201
|
* ```ts
|
|
202
|
-
* //
|
|
202
|
+
* // Put this in a regular module the compiler always checks (e.g. the
|
|
203
|
+
* // plugin file that calls `app.decorate(...)`). Avoid a separate .d.ts:
|
|
204
|
+
* // `skipLibCheck` skips declaration files, so a broken import there
|
|
205
|
+
* // silently types the state value as `any`.
|
|
203
206
|
* declare module "@daloyjs/core" {
|
|
204
207
|
* interface AppState {
|
|
205
208
|
* user: { id: string; roles: string[] };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daloyjs/core",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.2",
|
|
4
4
|
"description": "DaloyJS is a runtime-portable, contract-first TypeScript web framework with built-in OpenAPI (Hey API), typed client generation, large-scale maintainability, and security-first defaults. Hono-grade portability, Elysia-grade DX, FastAPI-grade docs, Fastify-grade ops — distributed via pnpm.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|