telegram-ads-mcp 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -369,7 +369,7 @@ declare const API_METHODS: readonly ApiMethod[];
|
|
|
369
369
|
declare function getMethod(name: string): ApiMethod | undefined;
|
|
370
370
|
declare function isWriteMethod(name: string): boolean;
|
|
371
371
|
|
|
372
|
-
declare const VERSION
|
|
372
|
+
declare const VERSION: string;
|
|
373
373
|
declare const SERVER_NAME = "telegram-ads-mcp";
|
|
374
374
|
|
|
375
375
|
export { API_METHODS, Policy, SERVER_NAME, TelegramAdsClient, VERSION, createServer, getMethod, isWriteMethod, loadConfig };
|
package/dist/index.js
CHANGED
|
@@ -1488,7 +1488,9 @@ function hintFor(error) {
|
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
1490
1490
|
// src/version.ts
|
|
1491
|
-
|
|
1491
|
+
import { readFileSync } from "fs";
|
|
1492
|
+
var pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
|
|
1493
|
+
var VERSION = pkg.version;
|
|
1492
1494
|
var SERVER_NAME = "telegram-ads-mcp";
|
|
1493
1495
|
|
|
1494
1496
|
// src/api/client.ts
|