@spfn/core 0.2.0-beta.69 → 0.2.0-beta.71
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 +8 -2
- package/dist/{boss-gXhgctn6.d.ts → boss-D16fO2oG.d.ts} +1 -1
- package/dist/contract/index.d.ts +2 -2
- package/dist/{define-middleware-B9bFuXVU.d.ts → define-middleware-DfDP39Nq.d.ts} +1 -1
- package/dist/event/index.d.ts +3 -3
- package/dist/event/sse/client.d.ts +2 -2
- package/dist/event/sse/index.d.ts +4 -4
- package/dist/event/ws/client.d.ts +2 -2
- package/dist/event/ws/index.d.ts +3 -3
- package/dist/job/index.d.ts +2 -2
- package/dist/middleware/index.d.ts +1 -1
- package/dist/nextjs/index.d.ts +2 -2
- package/dist/nextjs/server.d.ts +1 -1
- package/dist/route/index.d.ts +3 -3
- package/dist/route/index.js +16 -8
- package/dist/route/index.js.map +1 -1
- package/dist/{router-HDVa6gfc.d.ts → router-BgZUDHp5.d.ts} +2 -2
- package/dist/server/index.d.ts +16 -9
- package/dist/server/index.js +33 -23
- package/dist/server/index.js.map +1 -1
- package/dist/{token-manager-vZeqBbtA.d.ts → token-manager-BT5EnUAR.d.ts} +1 -1
- package/dist/{types-CF-37KAG.d.ts → types-2AbaW4Ie.d.ts} +2 -2
- package/dist/{types-7Mhoxnnt.d.ts → types-9oszaJqp.d.ts} +1 -1
- package/dist/{types-D9uMxeQS.d.ts → types-ZQODsBft.d.ts} +2 -2
- package/package.json +9 -9
|
@@ -275,4 +275,4 @@ declare class SSETokenManager {
|
|
|
275
275
|
destroy(): void;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
export { CacheTokenStore as C, type
|
|
278
|
+
export { CacheTokenStore as C, type EventDef as E, type InferEventNames as I, type JobQueueSender as J, type PubSubCache as P, SSETokenManager as S, type EventHandler as a, type EventRouterDef as b, type InferEventPayload$1 as c, type InferEventPayloads as d, type InferEventPayload as e, defineEventRouter as f, type SSEToken as g, type SSETokenManagerConfig as h, type SSETokenStore as i };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Context } from 'hono';
|
|
2
|
-
import {
|
|
2
|
+
import { E as EventDef, b as EventRouterDef, I as InferEventNames, e as InferEventPayload, i as SSETokenStore, S as SSETokenManager } from './token-manager-BT5EnUAR.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* WebSocket Types
|
|
@@ -202,4 +202,4 @@ interface WSSubscribeOptions<TRouter extends WSRouterDef<any, any>> {
|
|
|
202
202
|
*/
|
|
203
203
|
type WSUnsubscribe = () => void;
|
|
204
204
|
|
|
205
|
-
export type { WSRouterDef as W,
|
|
205
|
+
export type { WSRouterDef as W, WSSubscribeOptions as a, WSUnsubscribe as b, WSConnectionState as c, WSClientConfig as d, WSMessageHandlers as e, WSHandlerConfig as f, WSAuthConfig as g, WSEventHandlers as h, WSHandlerAuthConfig as i, WSMessageContext as j, WSMessageHandlerFn as k, WSRawConnection as l };
|
|
@@ -247,4 +247,4 @@ interface CallOptions {
|
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
export type { ApiConfig as A, CallOptions as C, InferRouteInput as I, RequestInterceptor as R,
|
|
250
|
+
export type { ApiConfig as A, CallOptions as C, InferRouteInput as I, RequestInterceptor as R, SetCookie as S, ResponseInterceptor as a, InferRouteOutput as b, CookieOptions as c, RouterInput as d, RouterOutput as e, StructuredInput as f };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Context } from 'hono';
|
|
2
|
-
import {
|
|
2
|
+
import { b as EventRouterDef, I as InferEventNames, e as InferEventPayload, i as SSETokenStore, S as SSETokenManager } from './token-manager-BT5EnUAR.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* SSE Types
|
|
@@ -279,4 +279,4 @@ type SSEConnectionState = 'connecting' | 'open' | 'closed' | 'error';
|
|
|
279
279
|
*/
|
|
280
280
|
type SSEUnsubscribe = () => void;
|
|
281
281
|
|
|
282
|
-
export type {
|
|
282
|
+
export type { SSEClientConfig as S, SSESubscribeOptions as a, SSEUnsubscribe as b, SSEConnectionState as c, SSEHandlerConfig as d, SSEAuthConfig as e, SSEEventHandler as f, SSEEventHandlers as g, SSEHandlerAuthConfig as h, SSEMessage as i };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spfn/core",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.0-beta.71",
|
|
4
|
+
"description": "Full-stack TypeScript backend for Next.js: file-based typed routes, Drizzle entities and repositories, PostgreSQL transactions and a generated end-to-end client, in one fixed vertical slice per feature",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./client": {
|
|
@@ -165,9 +165,9 @@
|
|
|
165
165
|
"redis",
|
|
166
166
|
"hono",
|
|
167
167
|
"fullstack",
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
168
|
+
"full-stack-framework",
|
|
169
|
+
"ai-coding-agent",
|
|
170
|
+
"claude-code",
|
|
171
171
|
"file-based-routing",
|
|
172
172
|
"transaction",
|
|
173
173
|
"repository-pattern"
|
|
@@ -184,22 +184,22 @@
|
|
|
184
184
|
},
|
|
185
185
|
"homepage": "https://github.com/fxylabs/spfn/tree/main/packages/core#readme",
|
|
186
186
|
"engines": {
|
|
187
|
-
"node": ">=
|
|
187
|
+
"node": ">=20.0.0"
|
|
188
188
|
},
|
|
189
189
|
"dependencies": {
|
|
190
|
-
"@hono/node-server": "^
|
|
190
|
+
"@hono/node-server": "^2.0.5",
|
|
191
191
|
"@sinclair/typebox": "^0.34.0",
|
|
192
192
|
"chalk": "^5.6.2",
|
|
193
193
|
"chokidar": "^4.0.3",
|
|
194
194
|
"dotenv": "^17.2.3",
|
|
195
195
|
"drizzle-typebox": "^0.3.3",
|
|
196
|
-
"hono": "^4.12.
|
|
196
|
+
"hono": "^4.12.34",
|
|
197
197
|
"jiti": "^2.6.1",
|
|
198
198
|
"micromatch": "^4.0.8",
|
|
199
199
|
"pg-boss": "^11.1.2",
|
|
200
200
|
"postgres": "^3.4.0",
|
|
201
201
|
"typescript": "^5.3.3",
|
|
202
|
-
"undici": "^7.
|
|
202
|
+
"undici": "^7.29.0",
|
|
203
203
|
"zod": "^4.4.3"
|
|
204
204
|
},
|
|
205
205
|
"optionalDependencies": {
|