diff --git a/src/Connection.ts b/src/Connection.ts index 7578c1d..9e25940 100644 --- a/src/Connection.ts +++ b/src/Connection.ts @@ -2,7 +2,7 @@ import {clientServiceLogger} from "./Logging"; import {Message, MessageCommand, MessageCommandResult, MessageNotify} from "./Messages"; import {Registry} from "tc-events"; -const kApiVersion = 1; +export const kApiVersion = 1; type ConnectionState = "disconnected" | "connecting" | "connected" | "reconnect-pending"; type PendingCommand = { diff --git a/src/index.ts b/src/index.ts index 7b9df5e..37571ac 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,10 @@ -export { ClientServiceConfig, ClientServices, LocalAgent } from "./ClientService"; export { ClientServiceLogger, setClientServiceLogger } from "./Logging"; -export { ClientSessionType } from "./Messages"; +export { ActionResult } from "./Action"; -export { ClientServiceInvite, InviteActionResult, InviteLinkInfo, InviteCreateResult } from "./ClientServiceInvite"; \ No newline at end of file +export { ClientServiceConnection } from "./Connection"; + +export { ClientSessionType } from "./Messages"; +export * as Messages from "./Messages"; + +export { ClientServiceInvite, InviteLinkInfo } from "./ClientServiceInvite"; +export { ClientServiceConfig, ClientServices, LocalAgent } from "./ClientService";