This commit is contained in:
NK 2023-04-30 19:25:29 +01:00
parent 755a1b6990
commit 34e8c39dbe
3 changed files with 14 additions and 15 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "cath", "name": "cath",
"version": "1.5.21", "version": "1.5.22",
"description": "A powerful package that can interact with Cath API", "description": "A powerful package that can interact with Cath API",
"main": "./dist/index.js", "main": "./dist/index.js",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",

12
src/config.ts Normal file
View file

@ -0,0 +1,12 @@
const config: ConfigURLS = {
api: "https://api.night0721.me",
code: "https://cdn.night0721.me/api/paste",
url: "https://cdn.night0721.me/api/url",
};
interface ConfigURLS {
api: string;
code: string;
url: string;
}
export { config, ConfigURLS };

View file

@ -52,17 +52,4 @@ export {
export { getLilaseDownloads } from "./functions/getLilaseDownloads"; export { getLilaseDownloads } from "./functions/getLilaseDownloads";
export { emojify } from "./functions/emojify"; export { emojify } from "./functions/emojify";
export { obama } from "./functions/obama"; export { obama } from "./functions/obama";
export { ConfigURLS, config } from "./config";
const config: ConfigURLS = {
api: "https://api.night0721.me",
code: "https://cdn.night0721.me/api/paste",
url: "https://cdn.night0721.me/api/url",
};
interface ConfigURLS {
api: string;
code: string;
url: string;
}
export { config };