@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.
- package/bin/mcp-server.js +9 -16
- package/bin/mcp-server.js.map +6 -6
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/models/operations/v1tokenprice.d.ts +2 -27
- package/dist/commonjs/models/operations/v1tokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1tokenprice.js +3 -27
- package/dist/commonjs/models/operations/v1tokenprice.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/mcp-server.js.map +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/models/operations/v1tokenprice.d.ts +2 -27
- package/dist/esm/models/operations/v1tokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/v1tokenprice.js +2 -24
- package/dist/esm/models/operations/v1tokenprice.js.map +1 -1
- package/examples/aaveV3AaveAaveSupportedTokens.example.ts +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- 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/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.
|
|
34268
|
-
genVersion: "2.
|
|
34269
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
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$,
|
|
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:
|
|
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:
|
|
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.
|
|
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.
|
|
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=
|
|
56991
|
+
//# debugId=2E43E454FDB0C82E64756E2164756E21
|
|
56999
56992
|
//# sourceMappingURL=mcp-server.js.map
|