@fugood/buttress-server 2.25.0-beta.50 → 2.25.0-beta.51
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/lib/index.d.mts +3 -2
- package/lib/index.mjs +18 -18
- package/package.json +2 -2
package/lib/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { AnyElysia, Elysia } from "elysia";
|
|
3
|
-
import crypto from "node:crypto";
|
|
4
3
|
import * as node_stream_web0 from "node:stream/web";
|
|
5
4
|
import { ReadableStream } from "node:stream/web";
|
|
5
|
+
import crypto from "node:crypto";
|
|
6
6
|
import { EventEmitter } from "node:events";
|
|
7
7
|
import { estimateOnnxRuntimeMemory as estimateRuntimeMemory } from "@fugood/buttress-hardware-guardrails";
|
|
8
8
|
|
|
@@ -409,6 +409,7 @@ type ServerInfo = {
|
|
|
409
409
|
name: string;
|
|
410
410
|
version: string;
|
|
411
411
|
address: string;
|
|
412
|
+
addresses?: string[];
|
|
412
413
|
port: number;
|
|
413
414
|
url: string;
|
|
414
415
|
generators: GeneratorInfo[];
|
|
@@ -427,7 +428,7 @@ type ServerInfo = {
|
|
|
427
428
|
//#region src/autodiscover/types.d.ts
|
|
428
429
|
type GetServerInfoFn = () => ServerInfo;
|
|
429
430
|
//#endregion
|
|
430
|
-
//#region src/autodiscover/
|
|
431
|
+
//#region src/autodiscover/sign.d.ts
|
|
431
432
|
interface AnnounceSigner {
|
|
432
433
|
kid: string;
|
|
433
434
|
privateKey: crypto.KeyObject;
|