diff --git a/src/constants.js b/src/constants.ts similarity index 78% rename from src/constants.js rename to src/constants.ts index 1f9424d..a618473 100644 --- a/src/constants.js +++ b/src/constants.ts @@ -1,12 +1,10 @@ // Copyright (c) Tribufu. All Rights Reserved. -import packageJson from "../package.json"; - /** * The version of the Tribufu SDK. * @type {string} */ -export const TRIBUFU_VERSION = packageJson.version; +export const TRIBUFU_VERSION = "0.1.1"; /** * The default Tribufu API URL. diff --git a/src/index.ts b/src/index.ts index 7f1ad37..d876465 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,9 +2,24 @@ import { TRIBUFU_VERSION, TRIBUFU_API_URL, TRIBUFU_CDN_URL } from "./constants"; import { TribufuApi } from "./api"; +import { TribufuApiOptions } from "./options"; import { TribufuBot } from "./bot"; import { TribufuClient } from "./client"; import { TribufuServer } from "./server"; +import { TribufuHttp, TribufuHttpOptions } from "./http"; -export { TRIBUFU_VERSION, TRIBUFU_API_URL, TRIBUFU_CDN_URL }; -export { TribufuApi, TribufuBot, TribufuClient, TribufuServer }; +export { + TRIBUFU_API_URL, + TRIBUFU_CDN_URL, + TRIBUFU_VERSION, +}; + +export { + TribufuApi, + TribufuApiOptions, + TribufuBot, + TribufuClient, + TribufuHttp, + TribufuHttpOptions, + TribufuServer, +};