Fix file exports

This commit is contained in:
Guilherme Werner
2024-01-03 11:00:09 -03:00
parent 142943a983
commit a427a32465
2 changed files with 18 additions and 5 deletions

View File

@ -1,12 +1,10 @@
// Copyright (c) Tribufu. All Rights Reserved. // Copyright (c) Tribufu. All Rights Reserved.
import packageJson from "../package.json";
/** /**
* The version of the Tribufu SDK. * The version of the Tribufu SDK.
* @type {string} * @type {string}
*/ */
export const TRIBUFU_VERSION = packageJson.version; export const TRIBUFU_VERSION = "0.1.1";
/** /**
* The default Tribufu API URL. * The default Tribufu API URL.

View File

@ -2,9 +2,24 @@
import { TRIBUFU_VERSION, TRIBUFU_API_URL, TRIBUFU_CDN_URL } from "./constants"; import { TRIBUFU_VERSION, TRIBUFU_API_URL, TRIBUFU_CDN_URL } from "./constants";
import { TribufuApi } from "./api"; import { TribufuApi } from "./api";
import { TribufuApiOptions } from "./options";
import { TribufuBot } from "./bot"; import { TribufuBot } from "./bot";
import { TribufuClient } from "./client"; import { TribufuClient } from "./client";
import { TribufuServer } from "./server"; import { TribufuServer } from "./server";
import { TribufuHttp, TribufuHttpOptions } from "./http";
export { TRIBUFU_VERSION, TRIBUFU_API_URL, TRIBUFU_CDN_URL }; export {
export { TribufuApi, TribufuBot, TribufuClient, TribufuServer }; TRIBUFU_API_URL,
TRIBUFU_CDN_URL,
TRIBUFU_VERSION,
};
export {
TribufuApi,
TribufuApiOptions,
TribufuBot,
TribufuClient,
TribufuHttp,
TribufuHttpOptions,
TribufuServer,
};