@vitejs/devtools-rpc 0.0.0-alpha.32 → 0.0.0-alpha.34
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/client.mjs +1 -3
- package/dist/index.mjs +1 -8
- package/dist/presets/index.mjs +1 -2
- package/dist/presets/ws/client.mjs +1 -3
- package/dist/presets/ws/server.d.mts +1 -1
- package/dist/presets/ws/server.mjs +3 -3562
- package/dist/server.mjs +1 -3
- package/package.json +5 -2
package/dist/server.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createBirpcGroup } from "birpc";
|
|
2
|
-
|
|
3
2
|
//#region src/server.ts
|
|
4
3
|
function createRpcServer(functions, options) {
|
|
5
4
|
const rpc = createBirpcGroup(functions, [], {
|
|
@@ -9,6 +8,5 @@ function createRpcServer(functions, options) {
|
|
|
9
8
|
options?.preset(rpc);
|
|
10
9
|
return rpc;
|
|
11
10
|
}
|
|
12
|
-
|
|
13
11
|
//#endregion
|
|
14
|
-
export { createRpcServer };
|
|
12
|
+
export { createRpcServer };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitejs/devtools-rpc",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.0-alpha.
|
|
4
|
+
"version": "0.0.0-alpha.34",
|
|
5
5
|
"description": "Vite DevTools RPC Layer",
|
|
6
6
|
"author": "VoidZero Inc.",
|
|
7
7
|
"license": "MIT",
|
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
"files": [
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"ws": "*"
|
|
36
|
+
},
|
|
34
37
|
"peerDependenciesMeta": {
|
|
35
38
|
"ws": {
|
|
36
39
|
"optional": true
|
|
@@ -44,7 +47,7 @@
|
|
|
44
47
|
"valibot": "^1.2.0"
|
|
45
48
|
},
|
|
46
49
|
"devDependencies": {
|
|
47
|
-
"tsdown": "^0.
|
|
50
|
+
"tsdown": "^0.21.1",
|
|
48
51
|
"ws": "^8.19.0"
|
|
49
52
|
},
|
|
50
53
|
"scripts": {
|