@twin.org/api-server-fastify 0.0.1-next.30 → 0.0.1-next.31

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,5 @@
1
1
  # @twin.org/api-server-fastify - Changelog
2
2
 
3
- ## v0.0.1-next.30
3
+ ## v0.0.1-next.31
4
4
 
5
5
  - Initial Release
@@ -38,13 +38,13 @@ Runtime name for the class.
38
38
 
39
39
  ### getInstance()
40
40
 
41
- > **getInstance**(): `FastifyInstance`\<`IncomingMessage`, `ServerResponse`\>
41
+ > **getInstance**(): `FastifyInstance`
42
42
 
43
43
  Get the web server instance.
44
44
 
45
45
  #### Returns
46
46
 
47
- `FastifyInstance`\<`IncomingMessage`, `ServerResponse`\>
47
+ `FastifyInstance`
48
48
 
49
49
  The web server instance.
50
50
 
@@ -70,7 +70,7 @@ The processors for incoming requests over REST.
70
70
 
71
71
  ##### restRoutes?
72
72
 
73
- `IRestRoute`[]
73
+ `IRestRoute`\<`any`, `any`\>[]
74
74
 
75
75
  The REST routes.
76
76
 
@@ -82,7 +82,7 @@ The processors for incoming requests over Sockets.
82
82
 
83
83
  ##### socketRoutes?
84
84
 
85
- `ISocketRoute`[]
85
+ `ISocketRoute`\<`any`, `any`\>[]
86
86
 
87
87
  The socket routes.
88
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/api-server-fastify",
3
- "version": "0.0.1-next.30",
3
+ "version": "0.0.1-next.31",
4
4
  "description": "Use Fastify as the core web server for APIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,9 +15,9 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@fastify/compress": "8.0.1",
18
- "@fastify/cors": "10.0.2",
19
- "@twin.org/api-core": "0.0.1-next.30",
20
- "@twin.org/api-models": "0.0.1-next.30",
18
+ "@fastify/cors": "11.0.0",
19
+ "@twin.org/api-core": "0.0.1-next.31",
20
+ "@twin.org/api-models": "0.0.1-next.31",
21
21
  "@twin.org/core": "next",
22
22
  "@twin.org/logging-models": "next",
23
23
  "@twin.org/nameof": "next",