@compass-labs/api-sdk 1.0.9 → 1.0.10

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.
Files changed (31) hide show
  1. package/bin/mcp-server.js +9 -16
  2. package/bin/mcp-server.js.map +6 -6
  3. package/dist/commonjs/lib/config.d.ts +3 -3
  4. package/dist/commonjs/lib/config.js +3 -3
  5. package/dist/commonjs/lib/config.js.map +1 -1
  6. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  7. package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/mcp-server/server.js.map +1 -1
  10. package/dist/commonjs/models/operations/v1tokenprice.d.ts +2 -27
  11. package/dist/commonjs/models/operations/v1tokenprice.d.ts.map +1 -1
  12. package/dist/commonjs/models/operations/v1tokenprice.js +3 -27
  13. package/dist/commonjs/models/operations/v1tokenprice.js.map +1 -1
  14. package/dist/esm/lib/config.d.ts +3 -3
  15. package/dist/esm/lib/config.js +3 -3
  16. package/dist/esm/lib/config.js.map +1 -1
  17. package/dist/esm/mcp-server/mcp-server.js +1 -1
  18. package/dist/esm/mcp-server/mcp-server.js.map +1 -1
  19. package/dist/esm/mcp-server/server.js +1 -1
  20. package/dist/esm/mcp-server/server.js.map +1 -1
  21. package/dist/esm/models/operations/v1tokenprice.d.ts +2 -27
  22. package/dist/esm/models/operations/v1tokenprice.d.ts.map +1 -1
  23. package/dist/esm/models/operations/v1tokenprice.js +2 -24
  24. package/dist/esm/models/operations/v1tokenprice.js.map +1 -1
  25. package/examples/aaveV3AaveAaveSupportedTokens.example.ts +1 -1
  26. package/jsr.json +1 -1
  27. package/package.json +1 -1
  28. package/src/lib/config.ts +3 -3
  29. package/src/mcp-server/mcp-server.ts +1 -1
  30. package/src/mcp-server/server.ts +1 -1
  31. package/src/models/operations/v1tokenprice.ts +4 -58
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: "1.0.9",
34268
- genVersion: "2.680.0",
34269
- userAgent: "speakeasy-sdk/typescript 1.0.9 2.680.0 0.0.1 @compass-labs/api-sdk"
34267
+ sdkVersion: "1.0.10",
34268
+ genVersion: "2.681.1",
34269
+ userAgent: "speakeasy-sdk/typescript 1.0.10 2.681.1 0.0.1 @compass-labs/api-sdk"
34270
34270
  };
34271
34271
  });
34272
34272
 
@@ -45742,10 +45742,9 @@ var init_v1tokenbalance = __esm(() => {
45742
45742
  });
45743
45743
 
45744
45744
  // src/models/operations/v1tokenprice.ts
45745
- var V1TokenPriceChain, V1TokenPriceChain$inboundSchema, V1TokenPriceChain$outboundSchema, V1TokenPriceChain$, V1TokenPriceToken$inboundSchema, V1TokenPriceToken$outboundSchema, V1TokenPriceToken$, V1TokenPriceRequest$inboundSchema, V1TokenPriceRequest$outboundSchema, V1TokenPriceRequest$;
45745
+ var V1TokenPriceChain, V1TokenPriceChain$inboundSchema, V1TokenPriceChain$outboundSchema, V1TokenPriceChain$, V1TokenPriceRequest$inboundSchema, V1TokenPriceRequest$outboundSchema, V1TokenPriceRequest$;
45746
45746
  var init_v1tokenprice = __esm(() => {
45747
45747
  init_zod();
45748
- init_components();
45749
45748
  V1TokenPriceChain = {
45750
45749
  Arbitrum: "arbitrum",
45751
45750
  Base: "base",
@@ -45757,21 +45756,15 @@ var init_v1tokenprice = __esm(() => {
45757
45756
  V1TokenPriceChain$.inboundSchema = V1TokenPriceChain$inboundSchema;
45758
45757
  V1TokenPriceChain$.outboundSchema = V1TokenPriceChain$outboundSchema;
45759
45758
  })(V1TokenPriceChain$ ||= {});
45760
- V1TokenPriceToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
45761
- V1TokenPriceToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
45762
- ((V1TokenPriceToken$) => {
45763
- V1TokenPriceToken$.inboundSchema = V1TokenPriceToken$inboundSchema;
45764
- V1TokenPriceToken$.outboundSchema = V1TokenPriceToken$outboundSchema;
45765
- })(V1TokenPriceToken$ ||= {});
45766
45759
  V1TokenPriceRequest$inboundSchema = objectType({
45767
45760
  chain: V1TokenPriceChain$inboundSchema.default("ethereum"),
45768
45761
  block: nullableType(numberType().int()).optional(),
45769
- token: unionType([TokenEnum$inboundSchema, stringType()])
45762
+ token: anyType().optional()
45770
45763
  });
45771
45764
  V1TokenPriceRequest$outboundSchema = objectType({
45772
45765
  chain: V1TokenPriceChain$outboundSchema.default("ethereum"),
45773
45766
  block: nullableType(numberType().int()).optional(),
45774
- token: unionType([TokenEnum$outboundSchema, stringType()])
45767
+ token: anyType().optional()
45775
45768
  });
45776
45769
  ((V1TokenPriceRequest$) => {
45777
45770
  V1TokenPriceRequest$.inboundSchema = V1TokenPriceRequest$inboundSchema;
@@ -55613,7 +55606,7 @@ it to be traded on DeFi protocols.`,
55613
55606
  function createMCPServer(deps) {
55614
55607
  const server = new McpServer({
55615
55608
  name: "CompassApiSDK",
55616
- version: "1.0.9"
55609
+ version: "1.0.10"
55617
55610
  });
55618
55611
  const client = new CompassApiSDKCore({
55619
55612
  apiKeyAuth: deps.apiKeyAuth,
@@ -56987,7 +56980,7 @@ var routes = ln({
56987
56980
  var app = _e(routes, {
56988
56981
  name: "mcp",
56989
56982
  versionInfo: {
56990
- currentVersion: "1.0.9"
56983
+ currentVersion: "1.0.10"
56991
56984
  }
56992
56985
  });
56993
56986
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -56995,5 +56988,5 @@ export {
56995
56988
  app
56996
56989
  };
56997
56990
 
56998
- //# debugId=0A46F564E76045DA64756E2164756E21
56991
+ //# debugId=2E43E454FDB0C82E64756E2164756E21
56999
56992
  //# sourceMappingURL=mcp-server.js.map