@twin.org/api-server-fastify 0.0.1-next.31 → 0.0.1-next.33
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/docs/changelog.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @twin.org/api-server-fastify - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.33](https://github.com/twinfoundation/api/compare/api-server-fastify-v0.0.1-next.32...api-server-fastify-v0.0.1-next.33) (2025-04-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* use shared store mechanism ([#19](https://github.com/twinfoundation/api/issues/19)) ([32116df](https://github.com/twinfoundation/api/commit/32116df3b4380a30137f5056f242a5c99afa2df9))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/api-models bumped from 0.0.1-next.32 to 0.0.1-next.33
|
|
16
|
+
* @twin.org/api-core bumped from 0.0.1-next.32 to 0.0.1-next.33
|
|
17
|
+
* devDependencies
|
|
18
|
+
* @twin.org/api-processors bumped from 0.0.1-next.32 to 0.0.1-next.33
|
|
19
|
+
|
|
20
|
+
## [0.0.1-next.32](https://github.com/twinfoundation/api/compare/api-server-fastify-v0.0.1-next.31...api-server-fastify-v0.0.1-next.32) (2025-03-28)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Miscellaneous Chores
|
|
24
|
+
|
|
25
|
+
* **api-server-fastify:** Synchronize repo versions
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Dependencies
|
|
29
|
+
|
|
30
|
+
* The following workspace dependencies were updated
|
|
31
|
+
* dependencies
|
|
32
|
+
* @twin.org/api-models bumped from 0.0.1-next.31 to 0.0.1-next.32
|
|
33
|
+
* @twin.org/api-core bumped from 0.0.1-next.31 to 0.0.1-next.32
|
|
34
|
+
* devDependencies
|
|
35
|
+
* @twin.org/api-processors bumped from next to 0.0.1-next.32
|
|
36
|
+
|
|
3
37
|
## v0.0.1-next.31
|
|
4
38
|
|
|
5
39
|
- Initial Release
|
|
@@ -8,9 +8,9 @@ Implementation of the web server using Fastify.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new FastifyWebServer**(`options
|
|
13
|
+
> **new FastifyWebServer**(`options?`): `FastifyWebServer`
|
|
14
14
|
|
|
15
15
|
Create a new instance of FastifyWebServer.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ The options for the server.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`FastifyWebServer`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -56,7 +56,7 @@ The web server instance.
|
|
|
56
56
|
|
|
57
57
|
### build()
|
|
58
58
|
|
|
59
|
-
> **build**(`restRouteProcessors
|
|
59
|
+
> **build**(`restRouteProcessors?`, `restRoutes?`, `socketRouteProcessors?`, `socketRoutes?`, `options?`): `Promise`\<`void`\>
|
|
60
60
|
|
|
61
61
|
Build the server.
|
|
62
62
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/api-server-fastify",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.33",
|
|
4
4
|
"description": "Use Fastify as the core web server for APIs",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@fastify/compress": "8.0.1",
|
|
18
|
-
"@fastify/cors": "11.0.
|
|
19
|
-
"@twin.org/api-core": "0.0.1-next.
|
|
20
|
-
"@twin.org/api-models": "0.0.1-next.
|
|
18
|
+
"@fastify/cors": "11.0.1",
|
|
19
|
+
"@twin.org/api-core": "0.0.1-next.33",
|
|
20
|
+
"@twin.org/api-models": "0.0.1-next.33",
|
|
21
21
|
"@twin.org/core": "next",
|
|
22
22
|
"@twin.org/logging-models": "next",
|
|
23
23
|
"@twin.org/nameof": "next",
|
|
24
24
|
"@twin.org/web": "next",
|
|
25
|
-
"fastify": "5.
|
|
25
|
+
"fastify": "5.3.0",
|
|
26
26
|
"socket.io": "4.8.1"
|
|
27
27
|
},
|
|
28
28
|
"main": "./dist/cjs/index.cjs",
|