@objectstack/core 3.2.6 → 3.2.8
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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +12 -0
- package/package.json +4 -4
- package/src/contracts/http-server.ts +7 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @objectstack/core@3.2.
|
|
2
|
+
> @objectstack/core@3.2.8 build /home/runner/work/spec/spec/packages/core
|
|
3
3
|
> tsup --config ../../tsup.config.ts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[32mESM[39m [1mdist/index.js [22m[32m150.14 KB[39m
|
|
14
14
|
[32mESM[39m [1mdist/index.js.map [22m[32m318.23 KB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 104ms
|
|
16
16
|
[32mCJS[39m [1mdist/index.cjs [22m[32m153.26 KB[39m
|
|
17
17
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m319.87 KB[39m
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 104ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 3754ms
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m63.12 KB[39m
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m63.12 KB[39m
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectstack/core",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Microkernel Core for ObjectStack",
|
|
6
6
|
"type": "module",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"typescript": "^5.0.0",
|
|
18
|
-
"vitest": "^4.0
|
|
19
|
-
"@types/node": "^25.
|
|
18
|
+
"vitest": "^4.1.0",
|
|
19
|
+
"@types/node": "^25.5.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"pino": "^10.3.1",
|
|
23
23
|
"pino-pretty": "^13.1.3",
|
|
24
24
|
"zod": "^4.3.6",
|
|
25
|
-
"@objectstack/spec": "3.2.
|
|
25
|
+
"@objectstack/spec": "3.2.8"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"pino": "^8.0.0"
|
|
@@ -135,6 +135,13 @@ export interface IHttpServer {
|
|
|
135
135
|
* @returns Promise that resolves when server is ready
|
|
136
136
|
*/
|
|
137
137
|
listen(port: number): Promise<void>;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Get the port the server is listening on.
|
|
141
|
+
* Returns the actual bound port after `listen()` resolves, or the
|
|
142
|
+
* configured port before that.
|
|
143
|
+
*/
|
|
144
|
+
getPort?(): number;
|
|
138
145
|
|
|
139
146
|
/**
|
|
140
147
|
* Stop the HTTP server
|