@compass-labs/api-sdk 0.5.12 → 0.5.13
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 +7 -7
- package/bin/mcp-server.js.map +5 -5
- 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/operations/tokenprice.js +2 -2
- 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/operations/tokenprice.js +2 -2
- 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/operations/tokenprice.ts +2 -2
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.0.1";
|
|
34
|
-
readonly sdkVersion: "0.5.
|
|
34
|
+
readonly sdkVersion: "0.5.13";
|
|
35
35
|
readonly genVersion: "2.623.2";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.5.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.5.13 2.623.2 0.0.1 @compass-labs/api-sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.1",
|
|
34
|
-
sdkVersion: "0.5.
|
|
34
|
+
sdkVersion: "0.5.13",
|
|
35
35
|
genVersion: "2.623.2",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.5.13 2.623.2 0.0.1 @compass-labs/api-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.5.
|
|
25
|
+
currentVersion: "0.5.13",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
|
@@ -85,7 +85,7 @@ const universalWrapEth_js_1 = require("./tools/universalWrapEth.js");
|
|
|
85
85
|
function createMCPServer(deps) {
|
|
86
86
|
const server = new mcp_js_1.McpServer({
|
|
87
87
|
name: "CompassApiSDK",
|
|
88
|
-
version: "0.5.
|
|
88
|
+
version: "0.5.13",
|
|
89
89
|
});
|
|
90
90
|
const client = new core_js_1.CompassApiSDKCore({
|
|
91
91
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -136,12 +136,12 @@ var TokenPriceToken$;
|
|
|
136
136
|
/** @internal */
|
|
137
137
|
exports.TokenPriceRequest$inboundSchema = z.object({
|
|
138
138
|
chain: exports.TokenPriceChain$inboundSchema.default("ethereum:mainnet"),
|
|
139
|
-
token: exports.TokenPriceToken$inboundSchema.default("
|
|
139
|
+
token: exports.TokenPriceToken$inboundSchema.default("AAVE"),
|
|
140
140
|
});
|
|
141
141
|
/** @internal */
|
|
142
142
|
exports.TokenPriceRequest$outboundSchema = z.object({
|
|
143
143
|
chain: exports.TokenPriceChain$outboundSchema.default("ethereum:mainnet"),
|
|
144
|
-
token: exports.TokenPriceToken$outboundSchema.default("
|
|
144
|
+
token: exports.TokenPriceToken$outboundSchema.default("AAVE"),
|
|
145
145
|
});
|
|
146
146
|
/**
|
|
147
147
|
* @internal
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.0.1";
|
|
34
|
-
readonly sdkVersion: "0.5.
|
|
34
|
+
readonly sdkVersion: "0.5.13";
|
|
35
35
|
readonly genVersion: "2.623.2";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.5.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.5.13 2.623.2 0.0.1 @compass-labs/api-sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -27,8 +27,8 @@ export function serverURLFromOptions(options) {
|
|
|
27
27
|
export const SDK_METADATA = {
|
|
28
28
|
language: "typescript",
|
|
29
29
|
openapiDocVersion: "0.0.1",
|
|
30
|
-
sdkVersion: "0.5.
|
|
30
|
+
sdkVersion: "0.5.13",
|
|
31
31
|
genVersion: "2.623.2",
|
|
32
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
32
|
+
userAgent: "speakeasy-sdk/typescript 0.5.13 2.623.2 0.0.1 @compass-labs/api-sdk",
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.js.map
|
|
@@ -82,7 +82,7 @@ import { tool$universalWrapEth } from "./tools/universalWrapEth.js";
|
|
|
82
82
|
export function createMCPServer(deps) {
|
|
83
83
|
const server = new McpServer({
|
|
84
84
|
name: "CompassApiSDK",
|
|
85
|
-
version: "0.5.
|
|
85
|
+
version: "0.5.13",
|
|
86
86
|
});
|
|
87
87
|
const client = new CompassApiSDKCore({
|
|
88
88
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -98,12 +98,12 @@ export var TokenPriceToken$;
|
|
|
98
98
|
/** @internal */
|
|
99
99
|
export const TokenPriceRequest$inboundSchema = z.object({
|
|
100
100
|
chain: TokenPriceChain$inboundSchema.default("ethereum:mainnet"),
|
|
101
|
-
token: TokenPriceToken$inboundSchema.default("
|
|
101
|
+
token: TokenPriceToken$inboundSchema.default("AAVE"),
|
|
102
102
|
});
|
|
103
103
|
/** @internal */
|
|
104
104
|
export const TokenPriceRequest$outboundSchema = z.object({
|
|
105
105
|
chain: TokenPriceChain$outboundSchema.default("ethereum:mainnet"),
|
|
106
|
-
token: TokenPriceToken$outboundSchema.default("
|
|
106
|
+
token: TokenPriceToken$outboundSchema.default("AAVE"),
|
|
107
107
|
});
|
|
108
108
|
/**
|
|
109
109
|
* @internal
|
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -61,8 +61,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.1",
|
|
64
|
-
sdkVersion: "0.5.
|
|
64
|
+
sdkVersion: "0.5.13",
|
|
65
65
|
genVersion: "2.623.2",
|
|
66
66
|
userAgent:
|
|
67
|
-
"speakeasy-sdk/typescript 0.5.
|
|
67
|
+
"speakeasy-sdk/typescript 0.5.13 2.623.2 0.0.1 @compass-labs/api-sdk",
|
|
68
68
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -145,7 +145,7 @@ export const TokenPriceRequest$inboundSchema: z.ZodType<
|
|
|
145
145
|
unknown
|
|
146
146
|
> = z.object({
|
|
147
147
|
chain: TokenPriceChain$inboundSchema.default("ethereum:mainnet"),
|
|
148
|
-
token: TokenPriceToken$inboundSchema.default("
|
|
148
|
+
token: TokenPriceToken$inboundSchema.default("AAVE"),
|
|
149
149
|
});
|
|
150
150
|
|
|
151
151
|
/** @internal */
|
|
@@ -161,7 +161,7 @@ export const TokenPriceRequest$outboundSchema: z.ZodType<
|
|
|
161
161
|
TokenPriceRequest
|
|
162
162
|
> = z.object({
|
|
163
163
|
chain: TokenPriceChain$outboundSchema.default("ethereum:mainnet"),
|
|
164
|
-
token: TokenPriceToken$outboundSchema.default("
|
|
164
|
+
token: TokenPriceToken$outboundSchema.default("AAVE"),
|
|
165
165
|
});
|
|
166
166
|
|
|
167
167
|
/**
|