@compass-labs/api-sdk 0.5.37 → 0.5.38

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/bin/mcp-server.js CHANGED
@@ -34264,9 +34264,9 @@ var init_config = __esm(() => {
34264
34264
  SDK_METADATA = {
34265
34265
  language: "typescript",
34266
34266
  openapiDocVersion: "0.0.1",
34267
- sdkVersion: "0.5.37",
34267
+ sdkVersion: "0.5.38",
34268
34268
  genVersion: "2.647.2",
34269
- userAgent: "speakeasy-sdk/typescript 0.5.37 2.647.2 0.0.1 @compass-labs/api-sdk"
34269
+ userAgent: "speakeasy-sdk/typescript 0.5.38 2.647.2 0.0.1 @compass-labs/api-sdk"
34270
34270
  };
34271
34271
  });
34272
34272
 
@@ -44687,10 +44687,12 @@ var init_tokenprice = __esm(() => {
44687
44687
  })(TokenPriceToken$ ||= {});
44688
44688
  TokenPriceRequest$inboundSchema = objectType({
44689
44689
  chain: TokenPriceChain$inboundSchema.default("ethereum:mainnet"),
44690
+ block: nullableType(numberType().int()).optional(),
44690
44691
  token: TokenPriceToken$inboundSchema.default("AAVE")
44691
44692
  });
44692
44693
  TokenPriceRequest$outboundSchema = objectType({
44693
44694
  chain: TokenPriceChain$outboundSchema.default("ethereum:mainnet"),
44695
+ block: nullableType(numberType().int()).optional(),
44694
44696
  token: TokenPriceToken$outboundSchema.default("AAVE")
44695
44697
  });
44696
44698
  ((TokenPriceRequest$) => {
@@ -51449,6 +51451,7 @@ async function $do56(client, request, options) {
51449
51451
  const body = null;
51450
51452
  const path = pathToFunc("/v0/token/price/get")();
51451
51453
  const query = encodeFormQuery({
51454
+ block: payload.block,
51452
51455
  chain: payload.chain,
51453
51456
  token: payload.token
51454
51457
  });
@@ -53983,7 +53986,7 @@ it to be traded on DeFi protocols.`,
53983
53986
  function createMCPServer(deps) {
53984
53987
  const server = new McpServer({
53985
53988
  name: "CompassApiSDK",
53986
- version: "0.5.37"
53989
+ version: "0.5.38"
53987
53990
  });
53988
53991
  const client = new CompassApiSDKCore({
53989
53992
  apiKeyAuth: deps.apiKeyAuth,
@@ -55355,7 +55358,7 @@ var routes = ln({
55355
55358
  var app = _e(routes, {
55356
55359
  name: "mcp",
55357
55360
  versionInfo: {
55358
- currentVersion: "0.5.37"
55361
+ currentVersion: "0.5.38"
55359
55362
  }
55360
55363
  });
55361
55364
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -55363,5 +55366,5 @@ export {
55363
55366
  app
55364
55367
  };
55365
55368
 
55366
- //# debugId=AC63E9787D82BA5C64756E2164756E21
55369
+ //# debugId=5B1589D61BE75D0C64756E2164756E21
55367
55370
  //# sourceMappingURL=mcp-server.js.map