@compass-labs/api-sdk 0.1.4 → 0.1.5
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 +46 -43
- package/bin/mcp-server.js.map +8 -8
- 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/txresponse.d.ts +3 -2
- package/dist/commonjs/models/components/txresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/txresponse.js +3 -0
- package/dist/commonjs/models/components/txresponse.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/txresponse.d.ts +3 -2
- package/dist/esm/models/components/txresponse.d.ts.map +1 -1
- package/dist/esm/models/components/txresponse.js +3 -0
- package/dist/esm/models/components/txresponse.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +2 -2
- 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/txresponse.ts +14 -2
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.1";
|
|
30
|
-
readonly sdkVersion: "0.1.
|
|
31
|
-
readonly genVersion: "2.
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.
|
|
30
|
+
readonly sdkVersion: "0.1.5";
|
|
31
|
+
readonly genVersion: "2.610.0";
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.5 2.610.0 0.0.1 @compass-labs/api-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# 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.1.
|
|
35
|
-
genVersion: "2.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.
|
|
34
|
+
sdkVersion: "0.1.5",
|
|
35
|
+
genVersion: "2.610.0",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.5 2.610.0 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.1.
|
|
25
|
+
currentVersion: "0.1.5",
|
|
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));
|
|
@@ -77,7 +77,7 @@ const universalWrapEth_js_1 = require("./tools/universalWrapEth.js");
|
|
|
77
77
|
function createMCPServer(deps) {
|
|
78
78
|
const server = new mcp_js_1.McpServer({
|
|
79
79
|
name: "CompassApiSDK",
|
|
80
|
-
version: "0.1.
|
|
80
|
+
version: "0.1.5",
|
|
81
81
|
});
|
|
82
82
|
const client = new core_js_1.CompassApiSDKCore({
|
|
83
83
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { UnsignedMulticallTransaction, UnsignedMulticallTransaction$Outbound } from "./unsignedmulticalltransaction.js";
|
|
4
5
|
import { UnsignedTransaction, UnsignedTransaction$Outbound } from "./unsignedtransaction.js";
|
|
5
6
|
import { UserOperationResponse, UserOperationResponse$Outbound } from "./useroperationresponse.js";
|
|
6
|
-
export type TxResponse = UserOperationResponse | UnsignedTransaction;
|
|
7
|
+
export type TxResponse = UserOperationResponse | UnsignedTransaction | UnsignedMulticallTransaction;
|
|
7
8
|
/** @internal */
|
|
8
9
|
export declare const TxResponse$inboundSchema: z.ZodType<TxResponse, z.ZodTypeDef, unknown>;
|
|
9
10
|
/** @internal */
|
|
10
|
-
export type TxResponse$Outbound = UserOperationResponse$Outbound | UnsignedTransaction$Outbound;
|
|
11
|
+
export type TxResponse$Outbound = UserOperationResponse$Outbound | UnsignedTransaction$Outbound | UnsignedMulticallTransaction$Outbound;
|
|
11
12
|
/** @internal */
|
|
12
13
|
export declare const TxResponse$outboundSchema: z.ZodType<TxResponse$Outbound, z.ZodTypeDef, TxResponse>;
|
|
13
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"txresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/txresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"txresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/txresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,UAAU,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,4BAA4B,CAAC;AAEjC,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mBAAmB,GAC3B,8BAA8B,GAC9B,4BAA4B,GAC5B,qCAAqC,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,UAAU,CAKV,CAAC;AAEH;;;GAGG;AACH,yBAAiB,WAAW,CAAC;IAC3B,0DAA0D;IACnD,MAAM,aAAa,8CAA2B,CAAC;IACtD,2DAA2D;IACpD,MAAM,cAAc,0DAA4B,CAAC;IACxD,qDAAqD;IACrD,KAAY,QAAQ,GAAG,mBAAmB,CAAC;CAC5C;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAE/D;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -41,17 +41,20 @@ exports.txResponseToJSON = txResponseToJSON;
|
|
|
41
41
|
exports.txResponseFromJSON = txResponseFromJSON;
|
|
42
42
|
const z = __importStar(require("zod"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const unsignedmulticalltransaction_js_1 = require("./unsignedmulticalltransaction.js");
|
|
44
45
|
const unsignedtransaction_js_1 = require("./unsignedtransaction.js");
|
|
45
46
|
const useroperationresponse_js_1 = require("./useroperationresponse.js");
|
|
46
47
|
/** @internal */
|
|
47
48
|
exports.TxResponse$inboundSchema = z.union([
|
|
48
49
|
useroperationresponse_js_1.UserOperationResponse$inboundSchema,
|
|
49
50
|
unsignedtransaction_js_1.UnsignedTransaction$inboundSchema,
|
|
51
|
+
unsignedmulticalltransaction_js_1.UnsignedMulticallTransaction$inboundSchema,
|
|
50
52
|
]);
|
|
51
53
|
/** @internal */
|
|
52
54
|
exports.TxResponse$outboundSchema = z.union([
|
|
53
55
|
useroperationresponse_js_1.UserOperationResponse$outboundSchema,
|
|
54
56
|
unsignedtransaction_js_1.UnsignedTransaction$outboundSchema,
|
|
57
|
+
unsignedmulticalltransaction_js_1.UnsignedMulticallTransaction$outboundSchema,
|
|
55
58
|
]);
|
|
56
59
|
/**
|
|
57
60
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"txresponse.js","sourceRoot":"","sources":["../../../../src/models/components/txresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"txresponse.js","sourceRoot":"","sources":["../../../../src/models/components/txresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,4CAEC;AAED,gDAQC;AAjFD,uCAAyB;AACzB,qDAAiD;AAGjD,uFAK2C;AAC3C,qEAKkC;AAClC,yEAKoC;AAOpC,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,KAAK,CAAC;IACV,8DAAmC;IACnC,0DAAiC;IACjC,4EAA0C;CAC3C,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,KAAK,CAAC;IACV,+DAAoC;IACpC,2DAAkC;IAClC,6EAA2C;CAC5C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,WAAW,CAO3B;AAPD,WAAiB,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,gCAAwB,CAAC;IACtD,2DAA2D;IAC9C,0BAAc,GAAG,iCAAyB,CAAC;AAG1D,CAAC,EAPgB,WAAW,2BAAX,WAAW,QAO3B;AAED,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,iCAAyB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACrE,CAAC;AAED,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.1";
|
|
30
|
-
readonly sdkVersion: "0.1.
|
|
31
|
-
readonly genVersion: "2.
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.
|
|
30
|
+
readonly sdkVersion: "0.1.5";
|
|
31
|
+
readonly genVersion: "2.610.0";
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.5 2.610.0 0.0.1 @compass-labs/api-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# 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.1.
|
|
31
|
-
genVersion: "2.
|
|
32
|
-
userAgent: "speakeasy-sdk/typescript 0.1.
|
|
30
|
+
sdkVersion: "0.1.5",
|
|
31
|
+
genVersion: "2.610.0",
|
|
32
|
+
userAgent: "speakeasy-sdk/typescript 0.1.5 2.610.0 0.0.1 @compass-labs/api-sdk",
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.js.map
|
|
@@ -74,7 +74,7 @@ import { tool$universalWrapEth } from "./tools/universalWrapEth.js";
|
|
|
74
74
|
export function createMCPServer(deps) {
|
|
75
75
|
const server = new McpServer({
|
|
76
76
|
name: "CompassApiSDK",
|
|
77
|
-
version: "0.1.
|
|
77
|
+
version: "0.1.5",
|
|
78
78
|
});
|
|
79
79
|
const client = new CompassApiSDKCore({
|
|
80
80
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { UnsignedMulticallTransaction, UnsignedMulticallTransaction$Outbound } from "./unsignedmulticalltransaction.js";
|
|
4
5
|
import { UnsignedTransaction, UnsignedTransaction$Outbound } from "./unsignedtransaction.js";
|
|
5
6
|
import { UserOperationResponse, UserOperationResponse$Outbound } from "./useroperationresponse.js";
|
|
6
|
-
export type TxResponse = UserOperationResponse | UnsignedTransaction;
|
|
7
|
+
export type TxResponse = UserOperationResponse | UnsignedTransaction | UnsignedMulticallTransaction;
|
|
7
8
|
/** @internal */
|
|
8
9
|
export declare const TxResponse$inboundSchema: z.ZodType<TxResponse, z.ZodTypeDef, unknown>;
|
|
9
10
|
/** @internal */
|
|
10
|
-
export type TxResponse$Outbound = UserOperationResponse$Outbound | UnsignedTransaction$Outbound;
|
|
11
|
+
export type TxResponse$Outbound = UserOperationResponse$Outbound | UnsignedTransaction$Outbound | UnsignedMulticallTransaction$Outbound;
|
|
11
12
|
/** @internal */
|
|
12
13
|
export declare const TxResponse$outboundSchema: z.ZodType<TxResponse$Outbound, z.ZodTypeDef, TxResponse>;
|
|
13
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"txresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/txresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"txresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/txresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,UAAU,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,4BAA4B,CAAC;AAEjC,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mBAAmB,GAC3B,8BAA8B,GAC9B,4BAA4B,GAC5B,qCAAqC,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,UAAU,CAKV,CAAC;AAEH;;;GAGG;AACH,yBAAiB,WAAW,CAAC;IAC3B,0DAA0D;IACnD,MAAM,aAAa,8CAA2B,CAAC;IACtD,2DAA2D;IACpD,MAAM,cAAc,0DAA4B,CAAC;IACxD,qDAAqD;IACrD,KAAY,QAAQ,GAAG,mBAAmB,CAAC;CAC5C;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAE/D;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -3,17 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import { UnsignedMulticallTransaction$inboundSchema, UnsignedMulticallTransaction$outboundSchema, } from "./unsignedmulticalltransaction.js";
|
|
6
7
|
import { UnsignedTransaction$inboundSchema, UnsignedTransaction$outboundSchema, } from "./unsignedtransaction.js";
|
|
7
8
|
import { UserOperationResponse$inboundSchema, UserOperationResponse$outboundSchema, } from "./useroperationresponse.js";
|
|
8
9
|
/** @internal */
|
|
9
10
|
export const TxResponse$inboundSchema = z.union([
|
|
10
11
|
UserOperationResponse$inboundSchema,
|
|
11
12
|
UnsignedTransaction$inboundSchema,
|
|
13
|
+
UnsignedMulticallTransaction$inboundSchema,
|
|
12
14
|
]);
|
|
13
15
|
/** @internal */
|
|
14
16
|
export const TxResponse$outboundSchema = z.union([
|
|
15
17
|
UserOperationResponse$outboundSchema,
|
|
16
18
|
UnsignedTransaction$outboundSchema,
|
|
19
|
+
UnsignedMulticallTransaction$outboundSchema,
|
|
17
20
|
]);
|
|
18
21
|
/**
|
|
19
22
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"txresponse.js","sourceRoot":"","sources":["../../../../src/models/components/txresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,iCAAiC,EAEjC,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,mCAAmC,EAEnC,oCAAoC,GACrC,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"txresponse.js","sourceRoot":"","sources":["../../../../src/models/components/txresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,0CAA0C,EAE1C,2CAA2C,GAC5C,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAEL,iCAAiC,EAEjC,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,mCAAmC,EAEnC,oCAAoC,GACrC,MAAM,4BAA4B,CAAC;AAOpC,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAIjC,CAAC,CAAC,KAAK,CAAC;IACV,mCAAmC;IACnC,iCAAiC;IACjC,0CAA0C;CAC3C,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GAIlC,CAAC,CAAC,KAAK,CAAC;IACV,oCAAoC;IACpC,kCAAkC;IAClC,2CAA2C;CAC5C,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,WAAW,CAO3B;AAPD,WAAiB,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,wBAAwB,CAAC;IACtD,2DAA2D;IAC9C,0BAAc,GAAG,yBAAyB,CAAC;AAG1D,CAAC,EAPgB,WAAW,KAAX,WAAW,QAO3B;AAED,MAAM,UAAU,gBAAgB,CAAC,UAAsB;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,yBAAyB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wBAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compass-labs/api-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"author": "royalnine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"tshy": "^2.0.0",
|
|
56
56
|
"typescript": "^5.4.5",
|
|
57
57
|
"typescript-eslint": "^8.22.0",
|
|
58
|
-
"zod": "^3.
|
|
58
|
+
"zod": "^3.25.17"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {},
|
|
61
61
|
"exports": {
|
package/src/lib/config.ts
CHANGED
|
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
57
57
|
export const SDK_METADATA = {
|
|
58
58
|
language: "typescript",
|
|
59
59
|
openapiDocVersion: "0.0.1",
|
|
60
|
-
sdkVersion: "0.1.
|
|
61
|
-
genVersion: "2.
|
|
60
|
+
sdkVersion: "0.1.5",
|
|
61
|
+
genVersion: "2.610.0",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.5 2.610.0 0.0.1 @compass-labs/api-sdk",
|
|
64
64
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -6,6 +6,12 @@ import * as z from "zod";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
UnsignedMulticallTransaction,
|
|
11
|
+
UnsignedMulticallTransaction$inboundSchema,
|
|
12
|
+
UnsignedMulticallTransaction$Outbound,
|
|
13
|
+
UnsignedMulticallTransaction$outboundSchema,
|
|
14
|
+
} from "./unsignedmulticalltransaction.js";
|
|
9
15
|
import {
|
|
10
16
|
UnsignedTransaction,
|
|
11
17
|
UnsignedTransaction$inboundSchema,
|
|
@@ -19,7 +25,10 @@ import {
|
|
|
19
25
|
UserOperationResponse$outboundSchema,
|
|
20
26
|
} from "./useroperationresponse.js";
|
|
21
27
|
|
|
22
|
-
export type TxResponse =
|
|
28
|
+
export type TxResponse =
|
|
29
|
+
| UserOperationResponse
|
|
30
|
+
| UnsignedTransaction
|
|
31
|
+
| UnsignedMulticallTransaction;
|
|
23
32
|
|
|
24
33
|
/** @internal */
|
|
25
34
|
export const TxResponse$inboundSchema: z.ZodType<
|
|
@@ -29,12 +38,14 @@ export const TxResponse$inboundSchema: z.ZodType<
|
|
|
29
38
|
> = z.union([
|
|
30
39
|
UserOperationResponse$inboundSchema,
|
|
31
40
|
UnsignedTransaction$inboundSchema,
|
|
41
|
+
UnsignedMulticallTransaction$inboundSchema,
|
|
32
42
|
]);
|
|
33
43
|
|
|
34
44
|
/** @internal */
|
|
35
45
|
export type TxResponse$Outbound =
|
|
36
46
|
| UserOperationResponse$Outbound
|
|
37
|
-
| UnsignedTransaction$Outbound
|
|
47
|
+
| UnsignedTransaction$Outbound
|
|
48
|
+
| UnsignedMulticallTransaction$Outbound;
|
|
38
49
|
|
|
39
50
|
/** @internal */
|
|
40
51
|
export const TxResponse$outboundSchema: z.ZodType<
|
|
@@ -44,6 +55,7 @@ export const TxResponse$outboundSchema: z.ZodType<
|
|
|
44
55
|
> = z.union([
|
|
45
56
|
UserOperationResponse$outboundSchema,
|
|
46
57
|
UnsignedTransaction$outboundSchema,
|
|
58
|
+
UnsignedMulticallTransaction$outboundSchema,
|
|
47
59
|
]);
|
|
48
60
|
|
|
49
61
|
/**
|