@arrirpc/server 0.45.4 → 0.45.6

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 CHANGED
@@ -278,7 +278,7 @@ stream.end()
278
278
  stream.on(e: 'request:close' | 'close', callback: () => any)
279
279
  ```
280
280
 
281
- ### Creating Websocket Procedures
281
+ ### Creating Websocket Procedures (Experimental)
282
282
 
283
283
  ```ts
284
284
  // Websocket procedures work really well with discriminated unions
package/dist/index.cjs CHANGED
@@ -936,7 +936,7 @@ function registerWebsocketRpc(router, path, rpc) {
936
936
  }
937
937
  const rpcHandler = typeof rpc.handler === "function" ? rpc.handler() : rpc.handler;
938
938
  const handler = h3.defineWebSocketHandler({
939
- upgrade(req) {
939
+ upgrade(_req) {
940
940
  },
941
941
  open(peer) {
942
942
  const urlParts = peer.url.split("?");
package/dist/index.mjs CHANGED
@@ -935,7 +935,7 @@ function registerWebsocketRpc(router, path, rpc) {
935
935
  }
936
936
  const rpcHandler = typeof rpc.handler === "function" ? rpc.handler() : rpc.handler;
937
937
  const handler = defineWebSocketHandler({
938
- upgrade(req) {
938
+ upgrade(_req) {
939
939
  },
940
940
  open(peer) {
941
941
  const urlParts = peer.url.split("?");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/server",
3
- "version": "0.45.4",
3
+ "version": "0.45.6",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -29,14 +29,14 @@
29
29
  "scule": "^1.3.0",
30
30
  "source-map-support": "^0.5.21",
31
31
  "uncrypto": "^0.1.3",
32
- "@arrirpc/codegen-kotlin": "0.45.4",
33
- "@arrirpc/codegen-ts": "0.45.4",
34
- "@arrirpc/codegen-dart": "0.45.4",
35
- "@arrirpc/schema": "0.45.4",
36
- "@arrirpc/codegen-utils": "0.45.4",
37
- "arri": "0.45.4"
32
+ "@arrirpc/codegen-dart": "0.45.6",
33
+ "@arrirpc/codegen-kotlin": "0.45.6",
34
+ "@arrirpc/codegen-ts": "0.45.6",
35
+ "@arrirpc/codegen-utils": "0.45.6",
36
+ "arri": "0.45.6",
37
+ "@arrirpc/schema": "0.45.6"
38
38
  },
39
39
  "devDependencies": {
40
- "bun-types": "^1.1.8"
40
+ "bun-types": "^1.1.10"
41
41
  }
42
42
  }