@mgcrea/mcp-x-api 0.1.0 → 0.1.1
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { B as setupInstructions, I as hasAdsAccess, L as hasApiCredentials, R as loadConfig, T as startLoginFlow, a as openInBrowser, q as BUILD_INFO, r as createServer } from "./server-
|
|
2
|
+
import { B as setupInstructions, I as hasAdsAccess, L as hasApiCredentials, R as loadConfig, T as startLoginFlow, a as openInBrowser, q as BUILD_INFO, r as createServer } from "./server-BxRyFZIc.js";
|
|
3
3
|
import { ZodError } from "zod";
|
|
4
4
|
import { StdioServerTransport } from "@modelcontextprotocol/server/stdio";
|
|
5
5
|
//#region src/cli.ts
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as AdsApiClient, C as compositeTokenProvider, D as fromMicro, E as MICRO, F as effectiveScopes, G as WritesDisabledError, H as BudgetExceededError, I as hasAdsAccess, K as XApiRequestError, M as DEFAULT_PRICING, N as SANDBOX_ADS_BASE_URL, O as shapeMoney, P as adsSetupInstructions, R as loadConfig, S as bearerTokenProvider, U as PreconditionError, V as AdsAccessError, W as UserContextRequiredError, _ as shapeUser, b as createDayCache, c as buildIntentUrl, d as TCO_URL_LENGTH, f as weightedLength, g as shapePostsResponse, h as shapePostResponse, i as registerTools, j as DEFAULT_ADS_BASE_URL, k as toMicro, l as validateIntent, m as buildIncludesIndex, n as SERVER_VERSION, o as INTENT_BASE_URL, p as XApiClient, q as BUILD_INFO, r as createServer, s as assembleComposerText, t as SERVER_NAME, u as MAX_WEIGHTED_LENGTH, v as shapeUsersResponse, w as staticTokenProvider, x as utcDay, y as createLedger, z as resolveConfigPath } from "./server-
|
|
1
|
+
import { A as AdsApiClient, C as compositeTokenProvider, D as fromMicro, E as MICRO, F as effectiveScopes, G as WritesDisabledError, H as BudgetExceededError, I as hasAdsAccess, K as XApiRequestError, M as DEFAULT_PRICING, N as SANDBOX_ADS_BASE_URL, O as shapeMoney, P as adsSetupInstructions, R as loadConfig, S as bearerTokenProvider, U as PreconditionError, V as AdsAccessError, W as UserContextRequiredError, _ as shapeUser, b as createDayCache, c as buildIntentUrl, d as TCO_URL_LENGTH, f as weightedLength, g as shapePostsResponse, h as shapePostResponse, i as registerTools, j as DEFAULT_ADS_BASE_URL, k as toMicro, l as validateIntent, m as buildIncludesIndex, n as SERVER_VERSION, o as INTENT_BASE_URL, p as XApiClient, q as BUILD_INFO, r as createServer, s as assembleComposerText, t as SERVER_NAME, u as MAX_WEIGHTED_LENGTH, v as shapeUsersResponse, w as staticTokenProvider, x as utcDay, y as createLedger, z as resolveConfigPath } from "./server-BxRyFZIc.js";
|
|
2
2
|
export { AdsAccessError, AdsApiClient, BUILD_INFO, BudgetExceededError, DEFAULT_ADS_BASE_URL, DEFAULT_PRICING, INTENT_BASE_URL, MAX_WEIGHTED_LENGTH, MICRO, PreconditionError, SANDBOX_ADS_BASE_URL, SERVER_NAME, SERVER_VERSION, TCO_URL_LENGTH, UserContextRequiredError, WritesDisabledError, XApiClient, XApiRequestError, adsSetupInstructions, assembleComposerText, bearerTokenProvider, buildIncludesIndex, buildIntentUrl, compositeTokenProvider, createDayCache, createLedger, createServer, effectiveScopes, fromMicro, hasAdsAccess, loadConfig, registerTools, resolveConfigPath, shapeMoney, shapePostResponse, shapePostsResponse, shapeUser, shapeUsersResponse, staticTokenProvider, toMicro, utcDay, validateIntent, weightedLength };
|
|
@@ -23,8 +23,8 @@ const pkg = readPackageJson();
|
|
|
23
23
|
const BUILD_INFO = {
|
|
24
24
|
name: pkg.name,
|
|
25
25
|
version: pkg.version,
|
|
26
|
-
gitCommit: "
|
|
27
|
-
gitCommitDate: "2026-
|
|
26
|
+
gitCommit: "ffa4d5a",
|
|
27
|
+
gitCommitDate: "2026-09-01T00:09:48+02:00"
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/client/errors.ts
|
|
@@ -4005,4 +4005,4 @@ const createServer$1 = (opts) => {
|
|
|
4005
4005
|
//#endregion
|
|
4006
4006
|
export { AdsApiClient as A, setupInstructions as B, compositeTokenProvider as C, fromMicro as D, MICRO as E, effectiveScopes as F, WritesDisabledError as G, BudgetExceededError as H, hasAdsAccess as I, XApiRequestError as K, hasApiCredentials as L, DEFAULT_PRICING as M, SANDBOX_ADS_BASE_URL as N, shapeMoney as O, adsSetupInstructions as P, loadConfig as R, bearerTokenProvider as S, startLoginFlow as T, PreconditionError as U, AdsAccessError as V, UserContextRequiredError as W, shapeUser as _, openInBrowser as a, createDayCache as b, buildIntentUrl as c, TCO_URL_LENGTH as d, weightedLength as f, shapePostsResponse as g, shapePostResponse as h, registerTools as i, DEFAULT_ADS_BASE_URL as j, toMicro as k, validateIntent as l, buildIncludesIndex as m, SERVER_VERSION as n, INTENT_BASE_URL as o, XApiClient as p, BUILD_INFO as q, createServer$1 as r, assembleComposerText as s, SERVER_NAME as t, MAX_WEIGHTED_LENGTH as u, shapeUsersResponse as v, staticTokenProvider as w, utcDay as x, createLedger as y, resolveConfigPath as z };
|
|
4007
4007
|
|
|
4008
|
-
//# sourceMappingURL=server-
|
|
4008
|
+
//# sourceMappingURL=server-BxRyFZIc.js.map
|