@compass-labs/api-sdk 0.0.4 → 0.0.6
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/README.md +0 -7
- package/bin/mcp-server.js +6 -12
- package/bin/mcp-server.js.map +7 -8
- package/dist/commonjs/hooks/hooks.d.ts.map +1 -1
- package/dist/commonjs/hooks/hooks.js +0 -2
- package/dist/commonjs/hooks/hooks.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/esm/hooks/hooks.d.ts.map +1 -1
- package/dist/esm/hooks/hooks.js +0 -2
- package/dist/esm/hooks/hooks.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/docs/sdks/aavev3/README.md +8 -8
- package/docs/sdks/aerodromeslipstream/README.md +10 -10
- package/docs/sdks/morpho/README.md +28 -28
- package/docs/sdks/token/README.md +2 -2
- package/docs/sdks/uniswapv3/README.md +10 -10
- package/docs/sdks/universal/README.md +10 -10
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/hooks/hooks.ts +0 -3
- 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/README.md
CHANGED
|
@@ -3,17 +3,12 @@
|
|
|
3
3
|
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@compass-labs/api-sdk* API.
|
|
4
4
|
|
|
5
5
|
<div align="left">
|
|
6
|
-
<a href="https://www.speakeasy.com/?utm_source=@compass-labs/api-sdk&utm_campaign=typescript"><img src="https://custom-icon-badges.demolab.com/badge/-Built%20By%20Speakeasy-212015?style=for-the-badge&logoColor=FBE331&logo=speakeasy&labelColor=545454" /></a>
|
|
7
6
|
<a href="https://opensource.org/licenses/MIT">
|
|
8
7
|
<img src="https://img.shields.io/badge/License-MIT-blue.svg" style="width: 100px; height: 28px;" />
|
|
9
8
|
</a>
|
|
10
9
|
</div>
|
|
11
10
|
|
|
12
11
|
|
|
13
|
-
<br /><br />
|
|
14
|
-
> [!IMPORTANT]
|
|
15
|
-
> This SDK is not yet ready for production use. To complete setup please follow the steps outlined in your [workspace](https://app.speakeasy.com/org/compasslabs/api). Delete this section before > publishing to a package manager.
|
|
16
|
-
|
|
17
12
|
<!-- Start Summary [summary] -->
|
|
18
13
|
## Summary
|
|
19
14
|
|
|
@@ -632,5 +627,3 @@ looking for the latest version.
|
|
|
632
627
|
|
|
633
628
|
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
|
|
634
629
|
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
|
|
635
|
-
|
|
636
|
-
### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=@compass-labs/api-sdk&utm_campaign=typescript)
|
package/bin/mcp-server.js
CHANGED
|
@@ -34001,9 +34001,6 @@ var init_mcp = __esm(() => {
|
|
|
34001
34001
|
};
|
|
34002
34002
|
});
|
|
34003
34003
|
|
|
34004
|
-
// src/hooks/registration.ts
|
|
34005
|
-
function initHooks(hooks) {}
|
|
34006
|
-
|
|
34007
34004
|
// src/hooks/hooks.ts
|
|
34008
34005
|
class SDKHooks {
|
|
34009
34006
|
sdkInitHooks = [];
|
|
@@ -34030,7 +34027,6 @@ class SDKHooks {
|
|
|
34030
34027
|
this.registerAfterErrorHook(hook);
|
|
34031
34028
|
}
|
|
34032
34029
|
}
|
|
34033
|
-
initHooks(this);
|
|
34034
34030
|
}
|
|
34035
34031
|
registerSDKInitHook(hook) {
|
|
34036
34032
|
this.sdkInitHooks.push(hook);
|
|
@@ -34082,7 +34078,6 @@ class SDKHooks {
|
|
|
34082
34078
|
return { response: res, error: err };
|
|
34083
34079
|
}
|
|
34084
34080
|
}
|
|
34085
|
-
var init_hooks = () => {};
|
|
34086
34081
|
|
|
34087
34082
|
// src/models/errors/httpclienterrors.ts
|
|
34088
34083
|
var HTTPClientError, UnexpectedClientError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, ConnectionError;
|
|
@@ -34190,9 +34185,9 @@ var init_config = __esm(() => {
|
|
|
34190
34185
|
SDK_METADATA = {
|
|
34191
34186
|
language: "typescript",
|
|
34192
34187
|
openapiDocVersion: "0.0.1",
|
|
34193
|
-
sdkVersion: "0.0.
|
|
34194
|
-
genVersion: "2.
|
|
34195
|
-
userAgent: "speakeasy-sdk/typescript 0.0.
|
|
34188
|
+
sdkVersion: "0.0.6",
|
|
34189
|
+
genVersion: "2.596.2",
|
|
34190
|
+
userAgent: "speakeasy-sdk/typescript 0.0.6 2.596.2 0.0.1 @compass-labs/api-sdk"
|
|
34196
34191
|
};
|
|
34197
34192
|
});
|
|
34198
34193
|
|
|
@@ -34912,7 +34907,6 @@ async function logResponse(logger, res, req) {
|
|
|
34912
34907
|
}
|
|
34913
34908
|
var gt, webWorkerLike, isBrowserLike, jsonLikeContentTypeRE, jsonlLikeContentTypeRE;
|
|
34914
34909
|
var init_sdks = __esm(() => {
|
|
34915
|
-
init_hooks();
|
|
34916
34910
|
init_httpclienterrors();
|
|
34917
34911
|
init_base64();
|
|
34918
34912
|
init_config();
|
|
@@ -45700,7 +45694,7 @@ it to be traded on DeFi protocols.`,
|
|
|
45700
45694
|
function createMCPServer(deps) {
|
|
45701
45695
|
const server = new McpServer({
|
|
45702
45696
|
name: "CompassApiSDK",
|
|
45703
|
-
version: "0.0.
|
|
45697
|
+
version: "0.0.6"
|
|
45704
45698
|
});
|
|
45705
45699
|
const client = new CompassApiSDKCore({
|
|
45706
45700
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -47015,7 +47009,7 @@ var routes = an({
|
|
|
47015
47009
|
var app = He(routes, {
|
|
47016
47010
|
name: "mcp",
|
|
47017
47011
|
versionInfo: {
|
|
47018
|
-
currentVersion: "0.0.
|
|
47012
|
+
currentVersion: "0.0.6"
|
|
47019
47013
|
}
|
|
47020
47014
|
});
|
|
47021
47015
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -47023,5 +47017,5 @@ export {
|
|
|
47023
47017
|
app
|
|
47024
47018
|
};
|
|
47025
47019
|
|
|
47026
|
-
//# debugId=
|
|
47020
|
+
//# debugId=D9B6317D2043B2BA64756E2164756E21
|
|
47027
47021
|
//# sourceMappingURL=mcp-server.js.map
|