@compass-labs/api-sdk 0.5.1 → 0.5.2
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 +9 -17
- package/bin/mcp-server.js.map +6 -6
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/useroperation.d.ts +10 -4
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +4 -12
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/useroperation.d.ts +10 -4
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +4 -12
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/useroperation.ts +20 -16
package/bin/mcp-server.js
CHANGED
|
@@ -34205,9 +34205,9 @@ var init_config = __esm(() => {
|
|
|
34205
34205
|
SDK_METADATA = {
|
|
34206
34206
|
language: "typescript",
|
|
34207
34207
|
openapiDocVersion: "0.0.1",
|
|
34208
|
-
sdkVersion: "0.5.
|
|
34208
|
+
sdkVersion: "0.5.2",
|
|
34209
34209
|
genVersion: "2.616.1",
|
|
34210
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34210
|
+
userAgent: "speakeasy-sdk/typescript 0.5.2 2.616.1 0.0.1 @compass-labs/api-sdk"
|
|
34211
34211
|
};
|
|
34212
34212
|
});
|
|
34213
34213
|
|
|
@@ -38732,9 +38732,7 @@ var init_useroperation = __esm(() => {
|
|
|
38732
38732
|
actionType: v2.action_type
|
|
38733
38733
|
}))),
|
|
38734
38734
|
MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38735
|
-
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("
|
|
38736
|
-
actionType: v2.action_type
|
|
38737
|
-
}))),
|
|
38735
|
+
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38738
38736
|
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
38739
38737
|
actionType: v2.action_type
|
|
38740
38738
|
}))),
|
|
@@ -38811,9 +38809,7 @@ var init_useroperation = __esm(() => {
|
|
|
38811
38809
|
MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
|
|
38812
38810
|
action_type: v2.actionType
|
|
38813
38811
|
}))),
|
|
38814
|
-
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("
|
|
38815
|
-
action_type: v2.actionType
|
|
38816
|
-
}))),
|
|
38812
|
+
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38817
38813
|
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
38818
38814
|
action_type: v2.actionType
|
|
38819
38815
|
}))),
|
|
@@ -38891,9 +38887,7 @@ var init_useroperation = __esm(() => {
|
|
|
38891
38887
|
actionType: v2.action_type
|
|
38892
38888
|
}))),
|
|
38893
38889
|
MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38894
|
-
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("
|
|
38895
|
-
actionType: v2.action_type
|
|
38896
|
-
}))),
|
|
38890
|
+
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38897
38891
|
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
38898
38892
|
actionType: v2.action_type
|
|
38899
38893
|
}))),
|
|
@@ -38972,9 +38966,7 @@ var init_useroperation = __esm(() => {
|
|
|
38972
38966
|
MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
|
|
38973
38967
|
action_type: v2.actionType
|
|
38974
38968
|
}))),
|
|
38975
|
-
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("
|
|
38976
|
-
action_type: v2.actionType
|
|
38977
|
-
}))),
|
|
38969
|
+
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38978
38970
|
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
38979
38971
|
action_type: v2.actionType
|
|
38980
38972
|
}))),
|
|
@@ -52866,7 +52858,7 @@ it to be traded on DeFi protocols.`,
|
|
|
52866
52858
|
function createMCPServer(deps) {
|
|
52867
52859
|
const server = new McpServer({
|
|
52868
52860
|
name: "CompassApiSDK",
|
|
52869
|
-
version: "0.5.
|
|
52861
|
+
version: "0.5.2"
|
|
52870
52862
|
});
|
|
52871
52863
|
const client = new CompassApiSDKCore({
|
|
52872
52864
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -54223,7 +54215,7 @@ var routes = an({
|
|
|
54223
54215
|
var app = He(routes, {
|
|
54224
54216
|
name: "mcp",
|
|
54225
54217
|
versionInfo: {
|
|
54226
|
-
currentVersion: "0.5.
|
|
54218
|
+
currentVersion: "0.5.2"
|
|
54227
54219
|
}
|
|
54228
54220
|
});
|
|
54229
54221
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -54231,5 +54223,5 @@ export {
|
|
|
54231
54223
|
app
|
|
54232
54224
|
};
|
|
54233
54225
|
|
|
54234
|
-
//# debugId=
|
|
54226
|
+
//# debugId=F204E7737509743264756E2164756E21
|
|
54235
54227
|
//# sourceMappingURL=mcp-server.js.map
|