|
@@ -1,5 +1,8 @@
|
|
|
export { util, type Util } from "./util";
|
|
|
import { Peer } from "./peer";
|
|
|
+import { CborPeer } from "./cborPeer";
|
|
|
+import { MsgPackPeer } from "./msgPackPeer";
|
|
|
+
|
|
|
export type { PeerEvents, PeerError, PeerOptions } from "./peer";
|
|
|
|
|
|
export type {
|
|
@@ -24,6 +27,8 @@ export { BufferedConnection } from "./dataconnection/BufferedConnection/Buffered
|
|
|
export { StreamConnection } from "./dataconnection/StreamConnection/StreamConnection";
|
|
|
export { Cbor } from "./dataconnection/StreamConnection/Cbor";
|
|
|
export { MsgPack } from "./dataconnection/StreamConnection/MsgPack";
|
|
|
+export type { SerializerMapping } from "./peer";
|
|
|
+
|
|
|
+export { Peer, MsgPackPeer, CborPeer };
|
|
|
|
|
|
-export { Peer };
|
|
|
export default Peer;
|