From 2ded5fa473976d60ed3f23f242d55bb5d6e90bc3 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 17 Feb 2021 23:28:17 +0100 Subject: [PATCH] Some minor changes --- src/Connection.ts | 2 +- src/index.ts | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Connection.ts b/src/Connection.ts index ad4e343..f567793 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";