@compass-labs/api-sdk 1.0.8 → 1.0.9
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 +62 -69
- package/bin/mcp-server.js.map +16 -15
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.d.ts +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.d.ts.map +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.js +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/bundlertransactionresponse.d.ts +30 -0
- package/dist/commonjs/models/components/bundlertransactionresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/bundlertransactionresponse.js +70 -0
- package/dist/commonjs/models/components/bundlertransactionresponse.js.map +1 -0
- package/dist/commonjs/models/components/ethenarequesttowithdrawtransactionresponse.d.ts +4 -5
- package/dist/commonjs/models/components/ethenarequesttowithdrawtransactionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/ethenarequesttowithdrawtransactionresponse.js +0 -5
- package/dist/commonjs/models/components/ethenarequesttowithdrawtransactionresponse.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/pendletxresponse.d.ts +4 -5
- package/dist/commonjs/models/components/pendletxresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendletxresponse.js +0 -5
- package/dist/commonjs/models/components/pendletxresponse.js.map +1 -1
- package/dist/commonjs/models/components/transactionresponse.d.ts +4 -5
- package/dist/commonjs/models/components/transactionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/transactionresponse.js +0 -5
- package/dist/commonjs/models/components/transactionresponse.js.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlytransactionresponse.d.ts +4 -5
- package/dist/commonjs/models/components/uniswapbuyexactlytransactionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlytransactionresponse.js +0 -5
- package/dist/commonjs/models/components/uniswapbuyexactlytransactionresponse.js.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlytransactionresponse.d.ts +4 -5
- package/dist/commonjs/models/components/uniswapsellexactlytransactionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlytransactionresponse.js +0 -5
- package/dist/commonjs/models/components/uniswapsellexactlytransactionresponse.js.map +1 -1
- package/dist/commonjs/models/operations/v1transactionbundleraaveloop.d.ts +2 -2
- package/dist/commonjs/models/operations/v1transactionbundleraaveloop.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1transactionbundleraaveloop.js +2 -2
- package/dist/commonjs/models/operations/v1transactionbundleraaveloop.js.map +1 -1
- package/dist/commonjs/sdk/transactionbundler.d.ts +1 -1
- package/dist/commonjs/sdk/transactionbundler.d.ts.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.d.ts +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.d.ts.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.js +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/bundlertransactionresponse.d.ts +30 -0
- package/dist/esm/models/components/bundlertransactionresponse.d.ts.map +1 -0
- package/dist/esm/models/components/bundlertransactionresponse.js +32 -0
- package/dist/esm/models/components/bundlertransactionresponse.js.map +1 -0
- package/dist/esm/models/components/ethenarequesttowithdrawtransactionresponse.d.ts +4 -5
- package/dist/esm/models/components/ethenarequesttowithdrawtransactionresponse.d.ts.map +1 -1
- package/dist/esm/models/components/ethenarequesttowithdrawtransactionresponse.js +0 -5
- package/dist/esm/models/components/ethenarequesttowithdrawtransactionresponse.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/pendletxresponse.d.ts +4 -5
- package/dist/esm/models/components/pendletxresponse.d.ts.map +1 -1
- package/dist/esm/models/components/pendletxresponse.js +0 -5
- package/dist/esm/models/components/pendletxresponse.js.map +1 -1
- package/dist/esm/models/components/transactionresponse.d.ts +4 -5
- package/dist/esm/models/components/transactionresponse.d.ts.map +1 -1
- package/dist/esm/models/components/transactionresponse.js +0 -5
- package/dist/esm/models/components/transactionresponse.js.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlytransactionresponse.d.ts +4 -5
- package/dist/esm/models/components/uniswapbuyexactlytransactionresponse.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlytransactionresponse.js +0 -5
- package/dist/esm/models/components/uniswapbuyexactlytransactionresponse.js.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlytransactionresponse.d.ts +4 -5
- package/dist/esm/models/components/uniswapsellexactlytransactionresponse.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlytransactionresponse.js +0 -5
- package/dist/esm/models/components/uniswapsellexactlytransactionresponse.js.map +1 -1
- package/dist/esm/models/operations/v1transactionbundleraaveloop.d.ts +2 -2
- package/dist/esm/models/operations/v1transactionbundleraaveloop.d.ts.map +1 -1
- package/dist/esm/models/operations/v1transactionbundleraaveloop.js +2 -2
- package/dist/esm/models/operations/v1transactionbundleraaveloop.js.map +1 -1
- package/dist/esm/sdk/transactionbundler.d.ts +1 -1
- package/dist/esm/sdk/transactionbundler.d.ts.map +1 -1
- package/docs/sdks/transactionbundler/README.md +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/transactionBundlerTransactionBundlerExecute.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/bundlertransactionresponse.ts +72 -0
- package/src/models/components/ethenarequesttowithdrawtransactionresponse.ts +2 -20
- package/src/models/components/index.ts +1 -0
- package/src/models/components/pendletxresponse.ts +2 -20
- package/src/models/components/transactionresponse.ts +2 -20
- package/src/models/components/uniswapbuyexactlytransactionresponse.ts +2 -20
- package/src/models/components/uniswapsellexactlytransactionresponse.ts +2 -20
- package/src/models/operations/v1transactionbundleraaveloop.ts +4 -4
- package/src/sdk/transactionbundler.ts +1 -1
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.
|
|
34268
|
-
genVersion: "2.
|
|
34269
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
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"
|
|
34270
34270
|
};
|
|
34271
34271
|
});
|
|
34272
34272
|
|
|
@@ -39757,6 +39757,58 @@ var init_batcheduseroperationsresponse = __esm(() => {
|
|
|
39757
39757
|
})(BatchedUserOperationsResponse$ ||= {});
|
|
39758
39758
|
});
|
|
39759
39759
|
|
|
39760
|
+
// src/models/components/unsignedmulticalltransaction.ts
|
|
39761
|
+
var UnsignedMulticallTransaction$inboundSchema, UnsignedMulticallTransaction$outboundSchema, UnsignedMulticallTransaction$;
|
|
39762
|
+
var init_unsignedmulticalltransaction = __esm(() => {
|
|
39763
|
+
init_zod();
|
|
39764
|
+
init_signedauthorization();
|
|
39765
|
+
UnsignedMulticallTransaction$inboundSchema = objectType({
|
|
39766
|
+
chainId: numberType().int(),
|
|
39767
|
+
data: stringType(),
|
|
39768
|
+
from: stringType(),
|
|
39769
|
+
gas: numberType().int(),
|
|
39770
|
+
to: stringType(),
|
|
39771
|
+
value: numberType().int(),
|
|
39772
|
+
nonce: numberType().int(),
|
|
39773
|
+
maxFeePerGas: numberType().int(),
|
|
39774
|
+
maxPriorityFeePerGas: numberType().int(),
|
|
39775
|
+
authorizationList: arrayType(SignedAuthorization$inboundSchema).optional()
|
|
39776
|
+
});
|
|
39777
|
+
UnsignedMulticallTransaction$outboundSchema = objectType({
|
|
39778
|
+
chainId: numberType().int(),
|
|
39779
|
+
data: stringType(),
|
|
39780
|
+
from: stringType(),
|
|
39781
|
+
gas: numberType().int(),
|
|
39782
|
+
to: stringType(),
|
|
39783
|
+
value: numberType().int(),
|
|
39784
|
+
nonce: numberType().int(),
|
|
39785
|
+
maxFeePerGas: numberType().int(),
|
|
39786
|
+
maxPriorityFeePerGas: numberType().int(),
|
|
39787
|
+
authorizationList: arrayType(SignedAuthorization$outboundSchema).optional()
|
|
39788
|
+
});
|
|
39789
|
+
((UnsignedMulticallTransaction$) => {
|
|
39790
|
+
UnsignedMulticallTransaction$.inboundSchema = UnsignedMulticallTransaction$inboundSchema;
|
|
39791
|
+
UnsignedMulticallTransaction$.outboundSchema = UnsignedMulticallTransaction$outboundSchema;
|
|
39792
|
+
})(UnsignedMulticallTransaction$ ||= {});
|
|
39793
|
+
});
|
|
39794
|
+
|
|
39795
|
+
// src/models/components/bundlertransactionresponse.ts
|
|
39796
|
+
var BundlerTransactionResponse$inboundSchema, BundlerTransactionResponse$outboundSchema, BundlerTransactionResponse$;
|
|
39797
|
+
var init_bundlertransactionresponse = __esm(() => {
|
|
39798
|
+
init_zod();
|
|
39799
|
+
init_unsignedmulticalltransaction();
|
|
39800
|
+
BundlerTransactionResponse$inboundSchema = objectType({
|
|
39801
|
+
transaction: UnsignedMulticallTransaction$inboundSchema
|
|
39802
|
+
});
|
|
39803
|
+
BundlerTransactionResponse$outboundSchema = objectType({
|
|
39804
|
+
transaction: UnsignedMulticallTransaction$outboundSchema
|
|
39805
|
+
});
|
|
39806
|
+
((BundlerTransactionResponse$) => {
|
|
39807
|
+
BundlerTransactionResponse$.inboundSchema = BundlerTransactionResponse$inboundSchema;
|
|
39808
|
+
BundlerTransactionResponse$.outboundSchema = BundlerTransactionResponse$outboundSchema;
|
|
39809
|
+
})(BundlerTransactionResponse$ ||= {});
|
|
39810
|
+
});
|
|
39811
|
+
|
|
39760
39812
|
// src/models/components/chain.ts
|
|
39761
39813
|
var Chain, Chain$inboundSchema, Chain$outboundSchema, Chain$;
|
|
39762
39814
|
var init_chain = __esm(() => {
|
|
@@ -40546,41 +40598,6 @@ var init_ethenarequesttowithdrawrequest = __esm(() => {
|
|
|
40546
40598
|
})(EthenaRequestToWithdrawRequest$ ||= {});
|
|
40547
40599
|
});
|
|
40548
40600
|
|
|
40549
|
-
// src/models/components/unsignedmulticalltransaction.ts
|
|
40550
|
-
var UnsignedMulticallTransaction$inboundSchema, UnsignedMulticallTransaction$outboundSchema, UnsignedMulticallTransaction$;
|
|
40551
|
-
var init_unsignedmulticalltransaction = __esm(() => {
|
|
40552
|
-
init_zod();
|
|
40553
|
-
init_signedauthorization();
|
|
40554
|
-
UnsignedMulticallTransaction$inboundSchema = objectType({
|
|
40555
|
-
chainId: numberType().int(),
|
|
40556
|
-
data: stringType(),
|
|
40557
|
-
from: stringType(),
|
|
40558
|
-
gas: numberType().int(),
|
|
40559
|
-
to: stringType(),
|
|
40560
|
-
value: numberType().int(),
|
|
40561
|
-
nonce: numberType().int(),
|
|
40562
|
-
maxFeePerGas: numberType().int(),
|
|
40563
|
-
maxPriorityFeePerGas: numberType().int(),
|
|
40564
|
-
authorizationList: arrayType(SignedAuthorization$inboundSchema).optional()
|
|
40565
|
-
});
|
|
40566
|
-
UnsignedMulticallTransaction$outboundSchema = objectType({
|
|
40567
|
-
chainId: numberType().int(),
|
|
40568
|
-
data: stringType(),
|
|
40569
|
-
from: stringType(),
|
|
40570
|
-
gas: numberType().int(),
|
|
40571
|
-
to: stringType(),
|
|
40572
|
-
value: numberType().int(),
|
|
40573
|
-
nonce: numberType().int(),
|
|
40574
|
-
maxFeePerGas: numberType().int(),
|
|
40575
|
-
maxPriorityFeePerGas: numberType().int(),
|
|
40576
|
-
authorizationList: arrayType(SignedAuthorization$outboundSchema).optional()
|
|
40577
|
-
});
|
|
40578
|
-
((UnsignedMulticallTransaction$) => {
|
|
40579
|
-
UnsignedMulticallTransaction$.inboundSchema = UnsignedMulticallTransaction$inboundSchema;
|
|
40580
|
-
UnsignedMulticallTransaction$.outboundSchema = UnsignedMulticallTransaction$outboundSchema;
|
|
40581
|
-
})(UnsignedMulticallTransaction$ ||= {});
|
|
40582
|
-
});
|
|
40583
|
-
|
|
40584
40601
|
// src/models/components/unsignedtransaction.ts
|
|
40585
40602
|
var UnsignedTransaction$inboundSchema, UnsignedTransaction$outboundSchema, UnsignedTransaction$;
|
|
40586
40603
|
var init_unsignedtransaction = __esm(() => {
|
|
@@ -40618,17 +40635,14 @@ var EthenaRequestToWithdrawTransactionResponseTransaction$inboundSchema, EthenaR
|
|
|
40618
40635
|
var init_ethenarequesttowithdrawtransactionresponse = __esm(() => {
|
|
40619
40636
|
init_zod();
|
|
40620
40637
|
init_primitives();
|
|
40621
|
-
init_unsignedmulticalltransaction();
|
|
40622
40638
|
init_unsignedtransaction();
|
|
40623
40639
|
init_useroperationresponse();
|
|
40624
40640
|
EthenaRequestToWithdrawTransactionResponseTransaction$inboundSchema = unionType([
|
|
40625
40641
|
UnsignedTransaction$inboundSchema,
|
|
40626
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
40627
40642
|
UserOperationResponse$inboundSchema
|
|
40628
40643
|
]);
|
|
40629
40644
|
EthenaRequestToWithdrawTransactionResponseTransaction$outboundSchema = unionType([
|
|
40630
40645
|
UnsignedTransaction$outboundSchema,
|
|
40631
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
40632
40646
|
UserOperationResponse$outboundSchema
|
|
40633
40647
|
]);
|
|
40634
40648
|
((EthenaRequestToWithdrawTransactionResponseTransaction$) => {
|
|
@@ -40638,7 +40652,6 @@ var init_ethenarequesttowithdrawtransactionresponse = __esm(() => {
|
|
|
40638
40652
|
EthenaRequestToWithdrawTransactionResponse$inboundSchema = objectType({
|
|
40639
40653
|
transaction: unionType([
|
|
40640
40654
|
UnsignedTransaction$inboundSchema,
|
|
40641
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
40642
40655
|
UserOperationResponse$inboundSchema
|
|
40643
40656
|
]),
|
|
40644
40657
|
cooldown_duration_days: numberType().int()
|
|
@@ -40650,7 +40663,6 @@ var init_ethenarequesttowithdrawtransactionresponse = __esm(() => {
|
|
|
40650
40663
|
EthenaRequestToWithdrawTransactionResponse$outboundSchema = objectType({
|
|
40651
40664
|
transaction: unionType([
|
|
40652
40665
|
UnsignedTransaction$outboundSchema,
|
|
40653
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
40654
40666
|
UserOperationResponse$outboundSchema
|
|
40655
40667
|
]),
|
|
40656
40668
|
cooldownDurationDays: numberType().int()
|
|
@@ -42082,17 +42094,14 @@ var PendleTxResponseTransaction$inboundSchema, PendleTxResponseTransaction$outbo
|
|
|
42082
42094
|
var init_pendletxresponse = __esm(() => {
|
|
42083
42095
|
init_zod();
|
|
42084
42096
|
init_primitives();
|
|
42085
|
-
init_unsignedmulticalltransaction();
|
|
42086
42097
|
init_unsignedtransaction();
|
|
42087
42098
|
init_useroperationresponse();
|
|
42088
42099
|
PendleTxResponseTransaction$inboundSchema = unionType([
|
|
42089
42100
|
UnsignedTransaction$inboundSchema,
|
|
42090
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42091
42101
|
UserOperationResponse$inboundSchema
|
|
42092
42102
|
]);
|
|
42093
42103
|
PendleTxResponseTransaction$outboundSchema = unionType([
|
|
42094
42104
|
UnsignedTransaction$outboundSchema,
|
|
42095
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42096
42105
|
UserOperationResponse$outboundSchema
|
|
42097
42106
|
]);
|
|
42098
42107
|
((PendleTxResponseTransaction$) => {
|
|
@@ -42102,7 +42111,6 @@ var init_pendletxresponse = __esm(() => {
|
|
|
42102
42111
|
PendleTxResponse$inboundSchema = objectType({
|
|
42103
42112
|
transaction: unionType([
|
|
42104
42113
|
UnsignedTransaction$inboundSchema,
|
|
42105
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42106
42114
|
UserOperationResponse$inboundSchema
|
|
42107
42115
|
]),
|
|
42108
42116
|
amount_out_quote: stringType()
|
|
@@ -42114,7 +42122,6 @@ var init_pendletxresponse = __esm(() => {
|
|
|
42114
42122
|
PendleTxResponse$outboundSchema = objectType({
|
|
42115
42123
|
transaction: unionType([
|
|
42116
42124
|
UnsignedTransaction$outboundSchema,
|
|
42117
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42118
42125
|
UserOperationResponse$outboundSchema
|
|
42119
42126
|
]),
|
|
42120
42127
|
amountOutQuote: stringType()
|
|
@@ -42702,17 +42709,14 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
42702
42709
|
var TransactionResponseTransaction$inboundSchema, TransactionResponseTransaction$outboundSchema, TransactionResponseTransaction$, TransactionResponse$inboundSchema, TransactionResponse$outboundSchema, TransactionResponse$;
|
|
42703
42710
|
var init_transactionresponse = __esm(() => {
|
|
42704
42711
|
init_zod();
|
|
42705
|
-
init_unsignedmulticalltransaction();
|
|
42706
42712
|
init_unsignedtransaction();
|
|
42707
42713
|
init_useroperationresponse();
|
|
42708
42714
|
TransactionResponseTransaction$inboundSchema = unionType([
|
|
42709
42715
|
UnsignedTransaction$inboundSchema,
|
|
42710
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42711
42716
|
UserOperationResponse$inboundSchema
|
|
42712
42717
|
]);
|
|
42713
42718
|
TransactionResponseTransaction$outboundSchema = unionType([
|
|
42714
42719
|
UnsignedTransaction$outboundSchema,
|
|
42715
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42716
42720
|
UserOperationResponse$outboundSchema
|
|
42717
42721
|
]);
|
|
42718
42722
|
((TransactionResponseTransaction$) => {
|
|
@@ -42722,14 +42726,12 @@ var init_transactionresponse = __esm(() => {
|
|
|
42722
42726
|
TransactionResponse$inboundSchema = objectType({
|
|
42723
42727
|
transaction: unionType([
|
|
42724
42728
|
UnsignedTransaction$inboundSchema,
|
|
42725
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42726
42729
|
UserOperationResponse$inboundSchema
|
|
42727
42730
|
])
|
|
42728
42731
|
});
|
|
42729
42732
|
TransactionResponse$outboundSchema = objectType({
|
|
42730
42733
|
transaction: unionType([
|
|
42731
42734
|
UnsignedTransaction$outboundSchema,
|
|
42732
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42733
42735
|
UserOperationResponse$outboundSchema
|
|
42734
42736
|
])
|
|
42735
42737
|
});
|
|
@@ -42822,17 +42824,14 @@ var UniswapBuyExactlyTransactionResponseTransaction$inboundSchema, UniswapBuyExa
|
|
|
42822
42824
|
var init_uniswapbuyexactlytransactionresponse = __esm(() => {
|
|
42823
42825
|
init_zod();
|
|
42824
42826
|
init_primitives();
|
|
42825
|
-
init_unsignedmulticalltransaction();
|
|
42826
42827
|
init_unsignedtransaction();
|
|
42827
42828
|
init_useroperationresponse();
|
|
42828
42829
|
UniswapBuyExactlyTransactionResponseTransaction$inboundSchema = unionType([
|
|
42829
42830
|
UnsignedTransaction$inboundSchema,
|
|
42830
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42831
42831
|
UserOperationResponse$inboundSchema
|
|
42832
42832
|
]);
|
|
42833
42833
|
UniswapBuyExactlyTransactionResponseTransaction$outboundSchema = unionType([
|
|
42834
42834
|
UnsignedTransaction$outboundSchema,
|
|
42835
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42836
42835
|
UserOperationResponse$outboundSchema
|
|
42837
42836
|
]);
|
|
42838
42837
|
((UniswapBuyExactlyTransactionResponseTransaction$) => {
|
|
@@ -42842,7 +42841,6 @@ var init_uniswapbuyexactlytransactionresponse = __esm(() => {
|
|
|
42842
42841
|
UniswapBuyExactlyTransactionResponse$inboundSchema = objectType({
|
|
42843
42842
|
transaction: unionType([
|
|
42844
42843
|
UnsignedTransaction$inboundSchema,
|
|
42845
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42846
42844
|
UserOperationResponse$inboundSchema
|
|
42847
42845
|
]),
|
|
42848
42846
|
amount_in_quote: stringType()
|
|
@@ -42854,7 +42852,6 @@ var init_uniswapbuyexactlytransactionresponse = __esm(() => {
|
|
|
42854
42852
|
UniswapBuyExactlyTransactionResponse$outboundSchema = objectType({
|
|
42855
42853
|
transaction: unionType([
|
|
42856
42854
|
UnsignedTransaction$outboundSchema,
|
|
42857
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42858
42855
|
UserOperationResponse$outboundSchema
|
|
42859
42856
|
]),
|
|
42860
42857
|
amountInQuote: stringType()
|
|
@@ -43300,17 +43297,14 @@ var UniswapSellExactlyTransactionResponseTransaction$inboundSchema, UniswapSellE
|
|
|
43300
43297
|
var init_uniswapsellexactlytransactionresponse = __esm(() => {
|
|
43301
43298
|
init_zod();
|
|
43302
43299
|
init_primitives();
|
|
43303
|
-
init_unsignedmulticalltransaction();
|
|
43304
43300
|
init_unsignedtransaction();
|
|
43305
43301
|
init_useroperationresponse();
|
|
43306
43302
|
UniswapSellExactlyTransactionResponseTransaction$inboundSchema = unionType([
|
|
43307
43303
|
UnsignedTransaction$inboundSchema,
|
|
43308
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
43309
43304
|
UserOperationResponse$inboundSchema
|
|
43310
43305
|
]);
|
|
43311
43306
|
UniswapSellExactlyTransactionResponseTransaction$outboundSchema = unionType([
|
|
43312
43307
|
UnsignedTransaction$outboundSchema,
|
|
43313
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
43314
43308
|
UserOperationResponse$outboundSchema
|
|
43315
43309
|
]);
|
|
43316
43310
|
((UniswapSellExactlyTransactionResponseTransaction$) => {
|
|
@@ -43320,7 +43314,6 @@ var init_uniswapsellexactlytransactionresponse = __esm(() => {
|
|
|
43320
43314
|
UniswapSellExactlyTransactionResponse$inboundSchema = objectType({
|
|
43321
43315
|
transaction: unionType([
|
|
43322
43316
|
UnsignedTransaction$inboundSchema,
|
|
43323
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
43324
43317
|
UserOperationResponse$inboundSchema
|
|
43325
43318
|
]),
|
|
43326
43319
|
amount_out_quote: stringType()
|
|
@@ -43332,7 +43325,6 @@ var init_uniswapsellexactlytransactionresponse = __esm(() => {
|
|
|
43332
43325
|
UniswapSellExactlyTransactionResponse$outboundSchema = objectType({
|
|
43333
43326
|
transaction: unionType([
|
|
43334
43327
|
UnsignedTransaction$outboundSchema,
|
|
43335
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
43336
43328
|
UserOperationResponse$outboundSchema
|
|
43337
43329
|
]),
|
|
43338
43330
|
amountOutQuote: stringType()
|
|
@@ -43746,6 +43738,7 @@ var init_components = __esm(() => {
|
|
|
43746
43738
|
init_batcheduseroperationsrequest();
|
|
43747
43739
|
init_batcheduseroperationsresponse();
|
|
43748
43740
|
init_borrow();
|
|
43741
|
+
init_bundlertransactionresponse();
|
|
43749
43742
|
init_chain();
|
|
43750
43743
|
init_chaininfo();
|
|
43751
43744
|
init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance();
|
|
@@ -45792,11 +45785,11 @@ var init_v1transactionbundleraaveloop = __esm(() => {
|
|
|
45792
45785
|
init_zod();
|
|
45793
45786
|
init_components();
|
|
45794
45787
|
ResponseV1TransactionBundlerAaveLoop$inboundSchema = unionType([
|
|
45795
|
-
|
|
45788
|
+
BundlerTransactionResponse$inboundSchema,
|
|
45796
45789
|
BatchedUserOperationsResponse$inboundSchema
|
|
45797
45790
|
]);
|
|
45798
45791
|
ResponseV1TransactionBundlerAaveLoop$outboundSchema = unionType([
|
|
45799
|
-
|
|
45792
|
+
BundlerTransactionResponse$outboundSchema,
|
|
45800
45793
|
BatchedUserOperationsResponse$outboundSchema
|
|
45801
45794
|
]);
|
|
45802
45795
|
((ResponseV1TransactionBundlerAaveLoop$) => {
|
|
@@ -53530,7 +53523,7 @@ async function $do61(client, request, options) {
|
|
|
53530
53523
|
const responseFields = {
|
|
53531
53524
|
HttpMeta: { Response: response, Request: req }
|
|
53532
53525
|
};
|
|
53533
|
-
const [result] = await match(json(200,
|
|
53526
|
+
const [result] = await match(json(200, BundlerTransactionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
53534
53527
|
if (!result.ok) {
|
|
53535
53528
|
return [result, { status: "complete", request: req, response }];
|
|
53536
53529
|
}
|
|
@@ -55620,7 +55613,7 @@ it to be traded on DeFi protocols.`,
|
|
|
55620
55613
|
function createMCPServer(deps) {
|
|
55621
55614
|
const server = new McpServer({
|
|
55622
55615
|
name: "CompassApiSDK",
|
|
55623
|
-
version: "1.0.
|
|
55616
|
+
version: "1.0.9"
|
|
55624
55617
|
});
|
|
55625
55618
|
const client = new CompassApiSDKCore({
|
|
55626
55619
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -56994,7 +56987,7 @@ var routes = ln({
|
|
|
56994
56987
|
var app = _e(routes, {
|
|
56995
56988
|
name: "mcp",
|
|
56996
56989
|
versionInfo: {
|
|
56997
|
-
currentVersion: "1.0.
|
|
56990
|
+
currentVersion: "1.0.9"
|
|
56998
56991
|
}
|
|
56999
56992
|
});
|
|
57000
56993
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -57002,5 +56995,5 @@ export {
|
|
|
57002
56995
|
app
|
|
57003
56996
|
};
|
|
57004
56997
|
|
|
57005
|
-
//# debugId=
|
|
56998
|
+
//# debugId=0A46F564E76045DA64756E2164756E21
|
|
57006
56999
|
//# sourceMappingURL=mcp-server.js.map
|