@sisu-ai/server 8.0.0 → 9.0.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.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import http, { type IncomingMessage, type ServerResponse } from "http";
|
|
|
2
2
|
import https from "https";
|
|
3
3
|
import type { Agent, Logger, Ctx } from "@sisu-ai/core";
|
|
4
4
|
import type { AddressInfo } from "net";
|
|
5
|
-
export { matchRoute } from "./router
|
|
5
|
+
export { matchRoute } from "./router";
|
|
6
6
|
export interface ListenOptions<Ctx> {
|
|
7
7
|
tls?: https.ServerOptions;
|
|
8
8
|
port?: number;
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import http from "http";
|
|
|
2
2
|
import https from "https";
|
|
3
3
|
import { createConsoleLogger, createRedactingLogger } from "@sisu-ai/core";
|
|
4
4
|
import { EventEmitter } from "events";
|
|
5
|
-
export { matchRoute } from "./router
|
|
5
|
+
export { matchRoute } from "./router";
|
|
6
6
|
export class Server {
|
|
7
7
|
constructor(agent, opts = {}) {
|
|
8
8
|
this.agent = agent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sisu-ai/server",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@sisu-ai/core": "^2.
|
|
15
|
+
"@sisu-ai/core": "^2.5.0"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|