Preserve application frame identity through encryption so negotiated binary traffic avoids base64 expansion while mixed-version peers remain compatible.
12 lines
382 B
TypeScript
12 lines
382 B
TypeScript
export { createClientChannel, createDaemonChannel, EncryptedChannel } from "./encrypted-channel.js";
|
|
export type { Transport, TransportMessage, EncryptedChannelEvents } from "./encrypted-channel.js";
|
|
|
|
export {
|
|
generateKeyPair,
|
|
exportPublicKey,
|
|
importPublicKey,
|
|
exportSecretKey,
|
|
importSecretKey,
|
|
} from "./crypto.js";
|
|
export type { KeyPair, SharedKey } from "./crypto.js";
|