bunite-core 0.3.0 → 0.3.1
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/package.json +1 -1
- package/src/bun/index.ts +3 -1
- package/src/view/index.ts +3 -1
package/package.json
CHANGED
package/src/bun/index.ts
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
type RPCSchema,
|
|
14
14
|
type RPCWithTransport
|
|
15
15
|
} from "../shared/rpc";
|
|
16
|
-
import { createTransportDemuxer, type TransportDemuxer } from "../shared/rpcDemux";
|
|
16
|
+
import { createTransportDemuxer, type ChannelHandle, type TransportDemuxer, type TransportDemuxerOptions } from "../shared/rpcDemux";
|
|
17
17
|
import { createWebSocketTransport, type WebSocketLike, type WebSocketTransportPipe } from "../shared/webSocketTransport";
|
|
18
18
|
import { createWebRPCHandler, type WebRPCClient } from "../shared/webRpcHandler";
|
|
19
19
|
import type { MessageBoxOptions, MessageBoxResponse } from "./core/Utils";
|
|
@@ -40,11 +40,13 @@ export type {
|
|
|
40
40
|
BuniteRPCConfig,
|
|
41
41
|
BuniteRPCSchema,
|
|
42
42
|
BrowserViewOptions,
|
|
43
|
+
ChannelHandle,
|
|
43
44
|
MessageBoxOptions,
|
|
44
45
|
MessageBoxResponse,
|
|
45
46
|
RPCSchema,
|
|
46
47
|
RPCWithTransport,
|
|
47
48
|
TransportDemuxer,
|
|
49
|
+
TransportDemuxerOptions,
|
|
48
50
|
WebRPCClient,
|
|
49
51
|
WebSocketLike,
|
|
50
52
|
WebSocketTransportPipe,
|
package/src/view/index.ts
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
type RPCTransport,
|
|
9
9
|
type RPCWithTransport
|
|
10
10
|
} from "../shared/rpc";
|
|
11
|
-
import { createTransportDemuxer, type TransportDemuxer } from "../shared/rpcDemux";
|
|
11
|
+
import { createTransportDemuxer, type ChannelHandle, type TransportDemuxer, type TransportDemuxerOptions } from "../shared/rpcDemux";
|
|
12
12
|
import { createWebSocketTransport, type WebSocketLike, type WebSocketTransportPipe } from "../shared/webSocketTransport";
|
|
13
13
|
import { decodeRPCPacket, encodeRPCPacket } from "../shared/rpcWire";
|
|
14
14
|
import { log } from "../shared/log";
|
|
@@ -176,8 +176,10 @@ export { createTransportDemuxer, createWebSocketTransport, defineWebviewRPC };
|
|
|
176
176
|
export type {
|
|
177
177
|
BuniteRPCConfig,
|
|
178
178
|
BuniteRPCSchema,
|
|
179
|
+
ChannelHandle,
|
|
179
180
|
RPCSchema,
|
|
180
181
|
TransportDemuxer,
|
|
182
|
+
TransportDemuxerOptions,
|
|
181
183
|
WebSocketLike,
|
|
182
184
|
WebSocketTransportPipe
|
|
183
185
|
};
|