@server/next 0.27.4 → 0.27.5
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/index.d.ts +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -269,7 +269,7 @@ declare class Server<O extends ServerConfig = object> extends Router<O> {
|
|
|
269
269
|
websocket: any;
|
|
270
270
|
port?: number;
|
|
271
271
|
constructor(options?: Options);
|
|
272
|
-
self(): this
|
|
272
|
+
self(): this;
|
|
273
273
|
node(): Promise<void>;
|
|
274
274
|
fetch(request: Request, env?: BunEnv): Promise<Response>;
|
|
275
275
|
callback(request: Request, context: unknown): Promise<Response>;
|
|
@@ -387,6 +387,6 @@ declare class Server<O extends ServerConfig = object> extends Router<O> {
|
|
|
387
387
|
}) => Promise<Response>;
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
|
-
declare function server<Options>(options?: {}): Server<Options
|
|
390
|
+
declare function server<Options>(options?: {}): Server<Options>;
|
|
391
391
|
|
|
392
392
|
export { type AuthOption, type AuthSession, type AuthSettings, type AuthUser, type BasicValue, type Body, type Bucket, type BunEnv, type Context, type Cookie, type CorsSettings, type EventCallback, type ExtractPathParams, type InferParamType, type InlineReply, type KVStore, type Method, type Middleware, type Options, type ParamTypeMap, type ParamsToObject, type PathToParams, type Platform, type Provider, type RouteOptions, type RouterMethod, type SerializableValue, Server, type ServerConfig, TypedServerError as ServerError, type Settings, type Strategy, type Time, cookies, server as default, download, file, headers, json, redirect, router, send, status, type };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@server/next",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.5",
|
|
4
4
|
"description": "A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.",
|
|
5
5
|
"homepage": "https://server-js.com/",
|
|
6
6
|
"repository": "https://github.com/franciscop/server-next.git",
|