balda 0.0.56 → 0.0.58
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.cjs +38 -38
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +4 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +38 -38
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -1910,6 +1910,10 @@ declare class Server<H extends NodeHttpClient = NodeHttpClient> implements Serve
|
|
|
1910
1910
|
get protectedKeys(): string[];
|
|
1911
1911
|
get url(): string;
|
|
1912
1912
|
get port(): number;
|
|
1913
|
+
/**
|
|
1914
|
+
* @throws if set while server is already listening
|
|
1915
|
+
*/
|
|
1916
|
+
set port(value: number);
|
|
1913
1917
|
get host(): string;
|
|
1914
1918
|
get routes(): Route[];
|
|
1915
1919
|
get fs(): typeof nativeFs;
|
package/lib/index.d.ts
CHANGED
|
@@ -1910,6 +1910,10 @@ declare class Server<H extends NodeHttpClient = NodeHttpClient> implements Serve
|
|
|
1910
1910
|
get protectedKeys(): string[];
|
|
1911
1911
|
get url(): string;
|
|
1912
1912
|
get port(): number;
|
|
1913
|
+
/**
|
|
1914
|
+
* @throws if set while server is already listening
|
|
1915
|
+
*/
|
|
1916
|
+
set port(value: number);
|
|
1913
1917
|
get host(): string;
|
|
1914
1918
|
get routes(): Route[];
|
|
1915
1919
|
get fs(): typeof nativeFs;
|