@funduck/connectrpc-fastify 1.0.4 → 1.0.5
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/README.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ This library allows you to:
|
|
|
24
24
|
*Bidirectional streaming RPC is currently out of scope because it requires HTTP/2, which is unstable on public networks. In practice, HTTP/1 provides more consistent performance.*
|
|
25
25
|
|
|
26
26
|
## How To Use
|
|
27
|
-
You can check out `test` directory for a complete example of server and client.
|
|
27
|
+
You can check out `test` directory for a complete example of server and client. Start reading from `test/server.ts`.
|
|
28
28
|
|
|
29
29
|
### Controllers
|
|
30
30
|
Controller must implement the service interface and register itself with `ConnectRPC.registerController` in the constructor.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funduck/connectrpc-fastify",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"author": "Oleg Milekhin <qlfunduck@gmail.com>",
|
|
5
5
|
"description": "Wrapper for official @connectrpc/connect and fastify. Simplifies configuration, type safe binding to controller, simplifies use of middlewares and guards.",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@bufbuild/protobuf": "^2.10.2",
|
|
15
|
-
"@connectrpc/connect": "^2.1.1",
|
|
16
15
|
"@connectrpc/connect-fastify": "^2.1.1",
|
|
17
16
|
"fastify": "^5.6.2",
|
|
18
17
|
"type-fest": "^5.4.1"
|
|
@@ -20,6 +19,7 @@
|
|
|
20
19
|
"devDependencies": {
|
|
21
20
|
"@bufbuild/buf": "^1.64.0",
|
|
22
21
|
"@bufbuild/protoc-gen-es": "^2.10.2",
|
|
22
|
+
"@connectrpc/connect": "^2.1.1",
|
|
23
23
|
"@connectrpc/connect-node": "^2.1.1",
|
|
24
24
|
"@types/node": "^25.0.9",
|
|
25
25
|
"prettier-plugin-organize-imports": "^4.3.0"
|