@rest-vir/implement-service 0.16.0 → 0.17.0
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/dist/util/data.d.ts +2 -2
- package/package.json +2 -2
package/dist/util/data.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type GenericWebSocketDefinition, type NoParam, type OverwriteWebSocketMethods, type WebSocketLocation } from '@rest-vir/define-service';
|
|
2
2
|
import { type FastifyReply, type FastifyRequest } from 'fastify';
|
|
3
3
|
import { type WebSocket as WsWebSocket } from 'ws';
|
|
4
4
|
/**
|
|
@@ -27,4 +27,4 @@ export type ServerResponse = FastifyReply;
|
|
|
27
27
|
* @category Package : @rest-vir/implement-service
|
|
28
28
|
* @package [`@rest-vir/implement-service`](https://www.npmjs.com/package/@rest-vir/implement-service)
|
|
29
29
|
*/
|
|
30
|
-
export type ServerWebSocket<SpecificWebSocket extends
|
|
30
|
+
export type ServerWebSocket<SpecificWebSocket extends GenericWebSocketDefinition | NoParam = NoParam> = OverwriteWebSocketMethods<WsWebSocket, WebSocketLocation.OnHost, SpecificWebSocket>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rest-vir/implement-service",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Implement a service defined by @rest-vir/define-service.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rest",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@augment-vir/assert": "^31.16.0",
|
|
43
43
|
"@augment-vir/common": "^31.16.0",
|
|
44
|
-
"@rest-vir/define-service": "^0.
|
|
44
|
+
"@rest-vir/define-service": "^0.17.0",
|
|
45
45
|
"@types/ws": "^8.18.1",
|
|
46
46
|
"fastify": "^5.3.2",
|
|
47
47
|
"path-to-regexp": "^8.2.0",
|