@compass-labs/api-sdk 0.5.42 → 0.5.44

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 (43) hide show
  1. package/bin/mcp-server.js +48 -20
  2. package/bin/mcp-server.js.map +8 -8
  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/commonjs/models/components/uniswappositionssolidityresponse.d.ts +2 -0
  16. package/dist/commonjs/models/components/uniswappositionssolidityresponse.d.ts.map +1 -1
  17. package/dist/commonjs/models/components/uniswappositionssolidityresponse.js +4 -0
  18. package/dist/commonjs/models/components/uniswappositionssolidityresponse.js.map +1 -1
  19. package/dist/esm/lib/config.d.ts +3 -3
  20. package/dist/esm/lib/config.js +3 -3
  21. package/dist/esm/mcp-server/mcp-server.js +1 -1
  22. package/dist/esm/mcp-server/server.js +1 -1
  23. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts +54 -16
  24. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
  25. package/dist/esm/models/components/uniswapbuyexactlyparams.js +46 -4
  26. package/dist/esm/models/components/uniswapbuyexactlyparams.js.map +1 -1
  27. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts +54 -16
  28. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
  29. package/dist/esm/models/components/uniswapbuyexactlyrequest.js +46 -4
  30. package/dist/esm/models/components/uniswapbuyexactlyrequest.js.map +1 -1
  31. package/dist/esm/models/components/uniswappositionssolidityresponse.d.ts +2 -0
  32. package/dist/esm/models/components/uniswappositionssolidityresponse.d.ts.map +1 -1
  33. package/dist/esm/models/components/uniswappositionssolidityresponse.js +4 -0
  34. package/dist/esm/models/components/uniswappositionssolidityresponse.js.map +1 -1
  35. package/docs/sdks/uniswapv3/README.md +4 -4
  36. package/jsr.json +1 -1
  37. package/package.json +2 -2
  38. package/src/lib/config.ts +3 -3
  39. package/src/mcp-server/mcp-server.ts +1 -1
  40. package/src/mcp-server/server.ts +1 -1
  41. package/src/models/components/uniswapbuyexactlyparams.ts +120 -20
  42. package/src/models/components/uniswapbuyexactlyrequest.ts +120 -20
  43. package/src/models/components/uniswappositionssolidityresponse.ts +6 -0
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.44",
34268
+ genVersion: "2.656.5",
34269
+ userAgent: "speakeasy-sdk/typescript 0.5.44 2.656.5 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(),
@@ -42059,7 +42083,8 @@ var init_uniswappositionssolidityresponse = __esm(() => {
42059
42083
  fee_growth_inside0_last_x128: numberType().int(),
42060
42084
  fee_growth_inside1_last_x128: numberType().int(),
42061
42085
  tokens_owed0: numberType().int(),
42062
- tokens_owed1: numberType().int()
42086
+ tokens_owed1: numberType().int(),
42087
+ lp_token_address: nullableType(stringType()).optional()
42063
42088
  }).transform((v2) => {
42064
42089
  return remap(v2, {
42065
42090
  tick_lower: "tickLower",
@@ -42067,7 +42092,8 @@ var init_uniswappositionssolidityresponse = __esm(() => {
42067
42092
  fee_growth_inside0_last_x128: "feeGrowthInside0LastX128",
42068
42093
  fee_growth_inside1_last_x128: "feeGrowthInside1LastX128",
42069
42094
  tokens_owed0: "tokensOwed0",
42070
- tokens_owed1: "tokensOwed1"
42095
+ tokens_owed1: "tokensOwed1",
42096
+ lp_token_address: "lpTokenAddress"
42071
42097
  });
42072
42098
  });
42073
42099
  UniswapPositionsSolidityResponse$outboundSchema = objectType({
@@ -42082,7 +42108,8 @@ var init_uniswappositionssolidityresponse = __esm(() => {
42082
42108
  feeGrowthInside0LastX128: numberType().int(),
42083
42109
  feeGrowthInside1LastX128: numberType().int(),
42084
42110
  tokensOwed0: numberType().int(),
42085
- tokensOwed1: numberType().int()
42111
+ tokensOwed1: numberType().int(),
42112
+ lpTokenAddress: nullableType(stringType()).optional()
42086
42113
  }).transform((v2) => {
42087
42114
  return remap(v2, {
42088
42115
  tickLower: "tick_lower",
@@ -42090,7 +42117,8 @@ var init_uniswappositionssolidityresponse = __esm(() => {
42090
42117
  feeGrowthInside0LastX128: "fee_growth_inside0_last_x128",
42091
42118
  feeGrowthInside1LastX128: "fee_growth_inside1_last_x128",
42092
42119
  tokensOwed0: "tokens_owed0",
42093
- tokensOwed1: "tokens_owed1"
42120
+ tokensOwed1: "tokens_owed1",
42121
+ lpTokenAddress: "lp_token_address"
42094
42122
  });
42095
42123
  });
42096
42124
  ((UniswapPositionsSolidityResponse$) => {
@@ -53699,7 +53727,7 @@ it to be traded on DeFi protocols.`,
53699
53727
  function createMCPServer(deps) {
53700
53728
  const server = new McpServer({
53701
53729
  name: "CompassApiSDK",
53702
- version: "0.5.42"
53730
+ version: "0.5.44"
53703
53731
  });
53704
53732
  const client = new CompassApiSDKCore({
53705
53733
  apiKeyAuth: deps.apiKeyAuth,
@@ -55069,7 +55097,7 @@ var routes = ln({
55069
55097
  var app = _e(routes, {
55070
55098
  name: "mcp",
55071
55099
  versionInfo: {
55072
- currentVersion: "0.5.42"
55100
+ currentVersion: "0.5.44"
55073
55101
  }
55074
55102
  });
55075
55103
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -55077,5 +55105,5 @@ export {
55077
55105
  app
55078
55106
  };
55079
55107
 
55080
- //# debugId=F8E5773669B5D1E264756E2164756E21
55108
+ //# debugId=1E4ED2CEEEFDA46164756E2164756E21
55081
55109
  //# sourceMappingURL=mcp-server.js.map