@h-ai/serv 0.1.0-alpha.34 → 0.1.0-alpha.36
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 +25 -0
- package/dist/features/ai.d.ts +1 -1
- package/dist/features/iam.d.ts +1 -1
- package/dist/features/storage.d.ts +1 -1
- package/dist/index.d.ts +87 -3
- package/dist/index.js +412 -50
- package/dist/index.js.map +1 -1
- package/dist/{serv-context-CwewduFi.d.ts → serv-context-CatIx8r-.d.ts} +1 -1
- package/package.json +11 -10
|
@@ -152,4 +152,4 @@ declare function parseRequestContext(input: CreateServContextInput): ServContext
|
|
|
152
152
|
*/
|
|
153
153
|
declare function buildAuthContextFactory(verifyToken: (accessToken: string) => Promise<HaiResult<ServSession>>): CreateServContext;
|
|
154
154
|
|
|
155
|
-
export { type CreateServContext as C, type RefreshCookieConfig as R, type
|
|
155
|
+
export { type CreateServContext as C, type RefreshCookieConfig as R, type ServSession as S, type ServContext as a, type ServIam as b, buildAuthContextFactory as c, type CreateServContextInput as d, type RefreshTokenPair as e, parseRequestContext as p };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h-ai/serv",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.0-alpha.
|
|
4
|
+
"version": "0.1.0-alpha.36",
|
|
5
5
|
"description": "Hai Framework service runtime powered by Hono and oRPC.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"exports": {
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@h-ai/ai": "0.1.0-alpha.
|
|
36
|
-
"@h-ai/iam": "0.1.0-alpha.
|
|
37
|
-
"@h-ai/storage": "0.1.0-alpha.
|
|
35
|
+
"@h-ai/ai": "0.1.0-alpha.36",
|
|
36
|
+
"@h-ai/iam": "0.1.0-alpha.36",
|
|
37
|
+
"@h-ai/storage": "0.1.0-alpha.36"
|
|
38
38
|
},
|
|
39
39
|
"peerDependenciesMeta": {
|
|
40
40
|
"@h-ai/ai": {
|
|
@@ -49,15 +49,16 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@hono/node-server": "^2.0.2",
|
|
52
|
+
"@hono/node-ws": "^1.2.0",
|
|
52
53
|
"@orpc/openapi": "^1.14.3",
|
|
53
54
|
"@orpc/server": "^1.14.3",
|
|
54
55
|
"@orpc/zod": "^1.14.3",
|
|
55
56
|
"@scalar/api-reference": "^1.57.1",
|
|
56
57
|
"hono": "^4.12.18",
|
|
57
58
|
"zod": "^4.4.3",
|
|
58
|
-
"@h-ai/api-contract": "0.1.0-alpha.
|
|
59
|
-
"@h-ai/
|
|
60
|
-
"@h-ai/
|
|
59
|
+
"@h-ai/api-contract": "0.1.0-alpha.36",
|
|
60
|
+
"@h-ai/crypto": "0.1.0-alpha.36",
|
|
61
|
+
"@h-ai/core": "0.1.0-alpha.36"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
64
|
"@types/node": "^25.9.1",
|
|
@@ -65,9 +66,9 @@
|
|
|
65
66
|
"tsup": "^8.5.1",
|
|
66
67
|
"typescript": "^6.0.3",
|
|
67
68
|
"vitest": "^4.1.7",
|
|
68
|
-
"@h-ai/ai": "0.1.0-alpha.
|
|
69
|
-
"@h-ai/
|
|
70
|
-
"@h-ai/
|
|
69
|
+
"@h-ai/ai": "0.1.0-alpha.36",
|
|
70
|
+
"@h-ai/iam": "0.1.0-alpha.36",
|
|
71
|
+
"@h-ai/storage": "0.1.0-alpha.36"
|
|
71
72
|
},
|
|
72
73
|
"scripts": {
|
|
73
74
|
"build": "tsup",
|