@compass-labs/api-sdk 0.5.42 → 0.5.43

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 (34) hide show
  1. package/bin/mcp-server.js +40 -16
  2. package/bin/mcp-server.js.map +7 -7
  3. package/dist/commonjs/lib/config.d.ts +3 -3
  4. package/dist/commonjs/lib/config.js +3 -3
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts +54 -16
  8. package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
  9. package/dist/commonjs/models/components/uniswapbuyexactlyparams.js +51 -5
  10. package/dist/commonjs/models/components/uniswapbuyexactlyparams.js.map +1 -1
  11. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts +54 -16
  12. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js +51 -5
  14. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js.map +1 -1
  15. package/dist/esm/lib/config.d.ts +3 -3
  16. package/dist/esm/lib/config.js +3 -3
  17. package/dist/esm/mcp-server/mcp-server.js +1 -1
  18. package/dist/esm/mcp-server/server.js +1 -1
  19. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts +54 -16
  20. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
  21. package/dist/esm/models/components/uniswapbuyexactlyparams.js +46 -4
  22. package/dist/esm/models/components/uniswapbuyexactlyparams.js.map +1 -1
  23. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts +54 -16
  24. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
  25. package/dist/esm/models/components/uniswapbuyexactlyrequest.js +46 -4
  26. package/dist/esm/models/components/uniswapbuyexactlyrequest.js.map +1 -1
  27. package/docs/sdks/uniswapv3/README.md +4 -4
  28. package/jsr.json +1 -1
  29. package/package.json +2 -2
  30. package/src/lib/config.ts +3 -3
  31. package/src/mcp-server/mcp-server.ts +1 -1
  32. package/src/mcp-server/server.ts +1 -1
  33. package/src/models/components/uniswapbuyexactlyparams.ts +120 -20
  34. package/src/models/components/uniswapbuyexactlyrequest.ts +120 -20
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.42",
34268
- genVersion: "2.654.2",
34269
- userAgent: "speakeasy-sdk/typescript 0.5.42 2.654.2 0.0.1 @compass-labs/api-sdk"
34267
+ sdkVersion: "0.5.43",
34268
+ genVersion: "2.656.3",
34269
+ userAgent: "speakeasy-sdk/typescript 0.5.43 2.656.3 0.0.1 @compass-labs/api-sdk"
34270
34270
  };
34271
34271
  });
34272
34272
 
@@ -38618,12 +38618,24 @@ var init_feeenum = __esm(() => {
38618
38618
  });
38619
38619
 
38620
38620
  // src/models/components/uniswapbuyexactlyparams.ts
38621
- var UniswapBuyExactlyParamsAmount$inboundSchema, UniswapBuyExactlyParamsAmount$outboundSchema, UniswapBuyExactlyParamsAmount$, UniswapBuyExactlyParams$inboundSchema, UniswapBuyExactlyParams$outboundSchema, UniswapBuyExactlyParams$;
38621
+ var UniswapBuyExactlyParamsTokenIn$inboundSchema, UniswapBuyExactlyParamsTokenIn$outboundSchema, UniswapBuyExactlyParamsTokenIn$, UniswapBuyExactlyParamsTokenOut$inboundSchema, UniswapBuyExactlyParamsTokenOut$outboundSchema, UniswapBuyExactlyParamsTokenOut$, UniswapBuyExactlyParamsAmount$inboundSchema, UniswapBuyExactlyParamsAmount$outboundSchema, UniswapBuyExactlyParamsAmount$, UniswapBuyExactlyParams$inboundSchema, UniswapBuyExactlyParams$outboundSchema, UniswapBuyExactlyParams$;
38622
38622
  var init_uniswapbuyexactlyparams = __esm(() => {
38623
38623
  init_zod();
38624
38624
  init_primitives();
38625
38625
  init_feeenum();
38626
38626
  init_tokenenum();
38627
+ UniswapBuyExactlyParamsTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
38628
+ UniswapBuyExactlyParamsTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
38629
+ ((UniswapBuyExactlyParamsTokenIn$) => {
38630
+ UniswapBuyExactlyParamsTokenIn$.inboundSchema = UniswapBuyExactlyParamsTokenIn$inboundSchema;
38631
+ UniswapBuyExactlyParamsTokenIn$.outboundSchema = UniswapBuyExactlyParamsTokenIn$outboundSchema;
38632
+ })(UniswapBuyExactlyParamsTokenIn$ ||= {});
38633
+ UniswapBuyExactlyParamsTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
38634
+ UniswapBuyExactlyParamsTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
38635
+ ((UniswapBuyExactlyParamsTokenOut$) => {
38636
+ UniswapBuyExactlyParamsTokenOut$.inboundSchema = UniswapBuyExactlyParamsTokenOut$inboundSchema;
38637
+ UniswapBuyExactlyParamsTokenOut$.outboundSchema = UniswapBuyExactlyParamsTokenOut$outboundSchema;
38638
+ })(UniswapBuyExactlyParamsTokenOut$ ||= {});
38627
38639
  UniswapBuyExactlyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38628
38640
  UniswapBuyExactlyParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38629
38641
  ((UniswapBuyExactlyParamsAmount$) => {
@@ -38632,8 +38644,8 @@ var init_uniswapbuyexactlyparams = __esm(() => {
38632
38644
  })(UniswapBuyExactlyParamsAmount$ ||= {});
38633
38645
  UniswapBuyExactlyParams$inboundSchema = objectType({
38634
38646
  action_type: literalType("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
38635
- token_in: TokenEnum$inboundSchema,
38636
- token_out: TokenEnum$inboundSchema,
38647
+ token_in: unionType([TokenEnum$inboundSchema, stringType()]),
38648
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
38637
38649
  fee: FeeEnum$inboundSchema,
38638
38650
  amount: unionType([numberType(), stringType()]),
38639
38651
  max_slippage_percent: numberType(),
@@ -38649,8 +38661,8 @@ var init_uniswapbuyexactlyparams = __esm(() => {
38649
38661
  });
38650
38662
  UniswapBuyExactlyParams$outboundSchema = objectType({
38651
38663
  actionType: literalType("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
38652
- tokenIn: TokenEnum$outboundSchema,
38653
- tokenOut: TokenEnum$outboundSchema,
38664
+ tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
38665
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
38654
38666
  fee: FeeEnum$outboundSchema,
38655
38667
  amount: unionType([numberType(), stringType()]),
38656
38668
  maxSlippagePercent: numberType(),
@@ -41857,13 +41869,25 @@ var init_txresponse = __esm(() => {
41857
41869
  });
41858
41870
 
41859
41871
  // src/models/components/uniswapbuyexactlyrequest.ts
41860
- var UniswapBuyExactlyRequestAmount$inboundSchema, UniswapBuyExactlyRequestAmount$outboundSchema, UniswapBuyExactlyRequestAmount$, UniswapBuyExactlyRequest$inboundSchema, UniswapBuyExactlyRequest$outboundSchema, UniswapBuyExactlyRequest$;
41872
+ var UniswapBuyExactlyRequestTokenIn$inboundSchema, UniswapBuyExactlyRequestTokenIn$outboundSchema, UniswapBuyExactlyRequestTokenIn$, UniswapBuyExactlyRequestTokenOut$inboundSchema, UniswapBuyExactlyRequestTokenOut$outboundSchema, UniswapBuyExactlyRequestTokenOut$, UniswapBuyExactlyRequestAmount$inboundSchema, UniswapBuyExactlyRequestAmount$outboundSchema, UniswapBuyExactlyRequestAmount$, UniswapBuyExactlyRequest$inboundSchema, UniswapBuyExactlyRequest$outboundSchema, UniswapBuyExactlyRequest$;
41861
41873
  var init_uniswapbuyexactlyrequest = __esm(() => {
41862
41874
  init_zod();
41863
41875
  init_primitives();
41864
41876
  init_chain();
41865
41877
  init_feeenum();
41866
41878
  init_tokenenum();
41879
+ UniswapBuyExactlyRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
41880
+ UniswapBuyExactlyRequestTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
41881
+ ((UniswapBuyExactlyRequestTokenIn$) => {
41882
+ UniswapBuyExactlyRequestTokenIn$.inboundSchema = UniswapBuyExactlyRequestTokenIn$inboundSchema;
41883
+ UniswapBuyExactlyRequestTokenIn$.outboundSchema = UniswapBuyExactlyRequestTokenIn$outboundSchema;
41884
+ })(UniswapBuyExactlyRequestTokenIn$ ||= {});
41885
+ UniswapBuyExactlyRequestTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
41886
+ UniswapBuyExactlyRequestTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
41887
+ ((UniswapBuyExactlyRequestTokenOut$) => {
41888
+ UniswapBuyExactlyRequestTokenOut$.inboundSchema = UniswapBuyExactlyRequestTokenOut$inboundSchema;
41889
+ UniswapBuyExactlyRequestTokenOut$.outboundSchema = UniswapBuyExactlyRequestTokenOut$outboundSchema;
41890
+ })(UniswapBuyExactlyRequestTokenOut$ ||= {});
41867
41891
  UniswapBuyExactlyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
41868
41892
  UniswapBuyExactlyRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
41869
41893
  ((UniswapBuyExactlyRequestAmount$) => {
@@ -41872,8 +41896,8 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
41872
41896
  })(UniswapBuyExactlyRequestAmount$ ||= {});
41873
41897
  UniswapBuyExactlyRequest$inboundSchema = objectType({
41874
41898
  action_type: literalType("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
41875
- token_in: TokenEnum$inboundSchema,
41876
- token_out: TokenEnum$inboundSchema,
41899
+ token_in: unionType([TokenEnum$inboundSchema, stringType()]),
41900
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
41877
41901
  fee: FeeEnum$inboundSchema,
41878
41902
  amount: unionType([numberType(), stringType()]),
41879
41903
  max_slippage_percent: numberType(),
@@ -41891,8 +41915,8 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
41891
41915
  });
41892
41916
  UniswapBuyExactlyRequest$outboundSchema = objectType({
41893
41917
  actionType: literalType("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
41894
- tokenIn: TokenEnum$outboundSchema,
41895
- tokenOut: TokenEnum$outboundSchema,
41918
+ tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
41919
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
41896
41920
  fee: FeeEnum$outboundSchema,
41897
41921
  amount: unionType([numberType(), stringType()]),
41898
41922
  maxSlippagePercent: numberType(),
@@ -53699,7 +53723,7 @@ it to be traded on DeFi protocols.`,
53699
53723
  function createMCPServer(deps) {
53700
53724
  const server = new McpServer({
53701
53725
  name: "CompassApiSDK",
53702
- version: "0.5.42"
53726
+ version: "0.5.43"
53703
53727
  });
53704
53728
  const client = new CompassApiSDKCore({
53705
53729
  apiKeyAuth: deps.apiKeyAuth,
@@ -55069,7 +55093,7 @@ var routes = ln({
55069
55093
  var app = _e(routes, {
55070
55094
  name: "mcp",
55071
55095
  versionInfo: {
55072
- currentVersion: "0.5.42"
55096
+ currentVersion: "0.5.43"
55073
55097
  }
55074
55098
  });
55075
55099
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -55077,5 +55101,5 @@ export {
55077
55101
  app
55078
55102
  };
55079
55103
 
55080
- //# debugId=F8E5773669B5D1E264756E2164756E21
55104
+ //# debugId=5275D4C20130653C64756E2164756E21
55081
55105
  //# sourceMappingURL=mcp-server.js.map