@vitejs/devtools-rpc 0.0.0-alpha.13 → 0.0.0-alpha.15

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.
@@ -1,2 +1,2 @@
1
- import { a as RpcServerPresetBasicType, c as defineRpcServerPreset, i as RpcServerPreset, n as RpcClientPresetBasicType, o as RpcServerPresetReturnType, r as RpcClientPresetReturnType, s as defineRpcClientPreset, t as RpcClientPreset } from "../index-SwSDJlvS.js";
1
+ import { a as RpcServerPresetBasicType, c as defineRpcServerPreset, i as RpcServerPreset, n as RpcClientPresetBasicType, o as RpcServerPresetReturnType, r as RpcClientPresetReturnType, s as defineRpcClientPreset, t as RpcClientPreset } from "../index-SH_k2HUP.mjs";
2
2
  export { RpcClientPreset, RpcClientPresetBasicType, RpcClientPresetReturnType, RpcServerPreset, RpcServerPresetBasicType, RpcServerPresetReturnType, defineRpcClientPreset, defineRpcServerPreset };
@@ -0,0 +1,3 @@
1
+ import { n as defineRpcServerPreset, t as defineRpcClientPreset } from "../presets-DpriP7xc.mjs";
2
+
3
+ export { defineRpcClientPreset, defineRpcServerPreset };
@@ -1,4 +1,4 @@
1
- import { t as RpcClientPreset } from "../../index-SwSDJlvS.js";
1
+ import { t as RpcClientPreset } from "../../index-SH_k2HUP.mjs";
2
2
 
3
3
  //#region src/presets/ws/client.d.ts
4
4
  interface WebSocketRpcClientOptions {
@@ -1,4 +1,4 @@
1
- import { t as defineRpcClientPreset } from "../../presets-CHvTKHNF.js";
1
+ import { t as defineRpcClientPreset } from "../../presets-DpriP7xc.mjs";
2
2
  import { parse, stringify } from "structured-clone-es";
3
3
 
4
4
  //#region src/presets/ws/client.ts
@@ -1,4 +1,4 @@
1
- import { i as RpcServerPreset } from "../../index-SwSDJlvS.js";
1
+ import { i as RpcServerPreset } from "../../index-SH_k2HUP.mjs";
2
2
  import { BirpcGroup, BirpcOptions } from "birpc";
3
3
  import { WebSocket } from "ws";
4
4
 
@@ -1,4 +1,4 @@
1
- import { n as defineRpcServerPreset } from "../../presets-CHvTKHNF.js";
1
+ import { n as defineRpcServerPreset } from "../../presets-DpriP7xc.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { parse, stringify } from "structured-clone-es";
4
4
 
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.13",
4
+ "version": "0.0.0-alpha.15",
5
5
  "description": "DevTools rpc for Vite (work in progress)",
6
6
  "author": "VoidZero Inc.",
7
7
  "license": "MIT",
@@ -19,15 +19,15 @@
19
19
  ],
20
20
  "sideEffects": false,
21
21
  "exports": {
22
- ".": "./dist/index.js",
23
- "./presets": "./dist/presets/index.js",
24
- "./presets/ws/client": "./dist/presets/ws/client.js",
25
- "./presets/ws/server": "./dist/presets/ws/server.js",
22
+ ".": "./dist/index.mjs",
23
+ "./presets": "./dist/presets/index.mjs",
24
+ "./presets/ws/client": "./dist/presets/ws/client.mjs",
25
+ "./presets/ws/server": "./dist/presets/ws/server.mjs",
26
26
  "./package.json": "./package.json"
27
27
  },
28
- "main": "./dist/index.js",
29
- "module": "./dist/index.js",
30
- "types": "./dist/index.d.ts",
28
+ "main": "./dist/index.mjs",
29
+ "module": "./dist/index.mjs",
30
+ "types": "./dist/index.d.mts",
31
31
  "files": [
32
32
  "dist"
33
33
  ],
@@ -41,7 +41,7 @@
41
41
  "structured-clone-es": "^1.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "tsdown": "^0.15.12",
44
+ "tsdown": "^0.16.1",
45
45
  "ws": "^8.18.3"
46
46
  },
47
47
  "scripts": {
@@ -1,3 +0,0 @@
1
- import { n as defineRpcServerPreset, t as defineRpcClientPreset } from "../presets-CHvTKHNF.js";
2
-
3
- export { defineRpcClientPreset, defineRpcServerPreset };
File without changes
File without changes