@compass-labs/api-sdk 0.5.20 → 0.5.21
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 +8 -6
- 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/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts +5 -0
- package/dist/commonjs/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/batcheduseroperationsrequest.js +2 -0
- package/dist/commonjs/models/components/batcheduseroperationsrequest.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/batcheduseroperationsrequest.d.ts +5 -0
- package/dist/esm/models/components/batcheduseroperationsrequest.d.ts.map +1 -1
- package/dist/esm/models/components/batcheduseroperationsrequest.js +2 -0
- package/dist/esm/models/components/batcheduseroperationsrequest.js.map +1 -1
- package/docs/sdks/smartaccount/README.md +2 -0
- 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/components/batcheduseroperationsrequest.ts +7 -0
|
@@ -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.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34
|
+
readonly sdkVersion: "0.5.21";
|
|
35
|
+
readonly genVersion: "2.632.2";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.5.21 2.632.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.
|
|
35
|
-
genVersion: "2.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34
|
+
sdkVersion: "0.5.21",
|
|
35
|
+
genVersion: "2.632.2",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.5.21 2.632.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.21",
|
|
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));
|
|
@@ -88,7 +88,7 @@ const universalWrapEth_js_1 = require("./tools/universalWrapEth.js");
|
|
|
88
88
|
function createMCPServer(deps) {
|
|
89
89
|
const server = new mcp_js_1.McpServer({
|
|
90
90
|
name: "CompassApiSDK",
|
|
91
|
-
version: "0.5.
|
|
91
|
+
version: "0.5.21",
|
|
92
92
|
});
|
|
93
93
|
const client = new core_js_1.CompassApiSDKCore({
|
|
94
94
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -11,6 +11,10 @@ export type BatchedUserOperationsRequest = {
|
|
|
11
11
|
* The chain to use.
|
|
12
12
|
*/
|
|
13
13
|
chain: Chain;
|
|
14
|
+
/**
|
|
15
|
+
* The address of the transaction sender.
|
|
16
|
+
*/
|
|
17
|
+
sender: string;
|
|
14
18
|
/**
|
|
15
19
|
* List of possible user operations
|
|
16
20
|
*/
|
|
@@ -21,6 +25,7 @@ export declare const BatchedUserOperationsRequest$inboundSchema: z.ZodType<Batch
|
|
|
21
25
|
/** @internal */
|
|
22
26
|
export type BatchedUserOperationsRequest$Outbound = {
|
|
23
27
|
chain: string;
|
|
28
|
+
sender: string;
|
|
24
29
|
operations: Array<UserOperation$Outbound>;
|
|
25
30
|
};
|
|
26
31
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batcheduseroperationsrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.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,EAAE,KAAK,EAA6C,MAAM,YAAY,CAAC;AAC9E,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"batcheduseroperationsrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.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,EAAE,KAAK,EAA6C,MAAM,YAAY,CAAC;AAC9E,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAK5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAC9D;AAED,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AAED,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -46,11 +46,13 @@ const useroperation_js_1 = require("./useroperation.js");
|
|
|
46
46
|
/** @internal */
|
|
47
47
|
exports.BatchedUserOperationsRequest$inboundSchema = z.object({
|
|
48
48
|
chain: chain_js_1.Chain$inboundSchema,
|
|
49
|
+
sender: z.string(),
|
|
49
50
|
operations: z.array(useroperation_js_1.UserOperation$inboundSchema),
|
|
50
51
|
});
|
|
51
52
|
/** @internal */
|
|
52
53
|
exports.BatchedUserOperationsRequest$outboundSchema = z.object({
|
|
53
54
|
chain: chain_js_1.Chain$outboundSchema,
|
|
55
|
+
sender: z.string(),
|
|
54
56
|
operations: z.array(useroperation_js_1.UserOperation$outboundSchema),
|
|
55
57
|
});
|
|
56
58
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batcheduseroperationsrequest.js","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"batcheduseroperationsrequest.js","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EH,gFAQC;AAED,oFAQC;AA1FD,uCAAyB;AACzB,qDAAiD;AAGjD,yCAA8E;AAC9E,yDAK4B;AAoB5B,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,8BAAmB;IAC1B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,8CAA2B,CAAC;CACjD,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,+BAAoB;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,+CAA4B,CAAC;CAClD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC5C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAG5E,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C;AAED,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
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.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34
|
+
readonly sdkVersion: "0.5.21";
|
|
35
|
+
readonly genVersion: "2.632.2";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.5.21 2.632.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.
|
|
31
|
-
genVersion: "2.
|
|
32
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
30
|
+
sdkVersion: "0.5.21",
|
|
31
|
+
genVersion: "2.632.2",
|
|
32
|
+
userAgent: "speakeasy-sdk/typescript 0.5.21 2.632.2 0.0.1 @compass-labs/api-sdk",
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.js.map
|
|
@@ -85,7 +85,7 @@ import { tool$universalWrapEth } from "./tools/universalWrapEth.js";
|
|
|
85
85
|
export function createMCPServer(deps) {
|
|
86
86
|
const server = new McpServer({
|
|
87
87
|
name: "CompassApiSDK",
|
|
88
|
-
version: "0.5.
|
|
88
|
+
version: "0.5.21",
|
|
89
89
|
});
|
|
90
90
|
const client = new CompassApiSDKCore({
|
|
91
91
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -11,6 +11,10 @@ export type BatchedUserOperationsRequest = {
|
|
|
11
11
|
* The chain to use.
|
|
12
12
|
*/
|
|
13
13
|
chain: Chain;
|
|
14
|
+
/**
|
|
15
|
+
* The address of the transaction sender.
|
|
16
|
+
*/
|
|
17
|
+
sender: string;
|
|
14
18
|
/**
|
|
15
19
|
* List of possible user operations
|
|
16
20
|
*/
|
|
@@ -21,6 +25,7 @@ export declare const BatchedUserOperationsRequest$inboundSchema: z.ZodType<Batch
|
|
|
21
25
|
/** @internal */
|
|
22
26
|
export type BatchedUserOperationsRequest$Outbound = {
|
|
23
27
|
chain: string;
|
|
28
|
+
sender: string;
|
|
24
29
|
operations: Array<UserOperation$Outbound>;
|
|
25
30
|
};
|
|
26
31
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batcheduseroperationsrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.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,EAAE,KAAK,EAA6C,MAAM,YAAY,CAAC;AAC9E,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"batcheduseroperationsrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.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,EAAE,KAAK,EAA6C,MAAM,YAAY,CAAC;AAC9E,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAK5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAC9D;AAED,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AAED,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -8,11 +8,13 @@ import { UserOperation$inboundSchema, UserOperation$outboundSchema, } from "./us
|
|
|
8
8
|
/** @internal */
|
|
9
9
|
export const BatchedUserOperationsRequest$inboundSchema = z.object({
|
|
10
10
|
chain: Chain$inboundSchema,
|
|
11
|
+
sender: z.string(),
|
|
11
12
|
operations: z.array(UserOperation$inboundSchema),
|
|
12
13
|
});
|
|
13
14
|
/** @internal */
|
|
14
15
|
export const BatchedUserOperationsRequest$outboundSchema = z.object({
|
|
15
16
|
chain: Chain$outboundSchema,
|
|
17
|
+
sender: z.string(),
|
|
16
18
|
operations: z.array(UserOperation$outboundSchema),
|
|
17
19
|
});
|
|
18
20
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batcheduseroperationsrequest.js","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAS,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAC9E,OAAO,EAEL,2BAA2B,EAE3B,4BAA4B,GAC7B,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"batcheduseroperationsrequest.js","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAS,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAC9E,OAAO,EAEL,2BAA2B,EAE3B,4BAA4B,GAC7B,MAAM,oBAAoB,CAAC;AAoB5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CACjD,CAAC,CAAC;AASH,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,oBAAoB;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC;CAClD,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC5C,4EAA4E;IAC/D,2CAAa,GAAG,0CAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,2CAA2C,CAAC;AAG5E,CAAC,EAPgB,6BAA6B,KAA7B,6BAA6B,QAO7C;AAED,MAAM,UAAU,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,2CAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oCAAoC,CAClD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -23,6 +23,7 @@ const compassApiSDK = new CompassApiSDK({
|
|
|
23
23
|
async function run() {
|
|
24
24
|
const result = await compassApiSDK.smartAccount.accountBatchedUserOperations({
|
|
25
25
|
chain: "base:mainnet",
|
|
26
|
+
sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
|
|
26
27
|
operations: [
|
|
27
28
|
{
|
|
28
29
|
body: {
|
|
@@ -57,6 +58,7 @@ const compassApiSDK = new CompassApiSDKCore({
|
|
|
57
58
|
async function run() {
|
|
58
59
|
const res = await smartAccountAccountBatchedUserOperations(compassApiSDK, {
|
|
59
60
|
chain: "base:mainnet",
|
|
61
|
+
sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
|
|
60
62
|
operations: [
|
|
61
63
|
{
|
|
62
64
|
body: {
|
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.
|
|
65
|
-
genVersion: "2.
|
|
64
|
+
sdkVersion: "0.5.21",
|
|
65
|
+
genVersion: "2.632.2",
|
|
66
66
|
userAgent:
|
|
67
|
-
"speakeasy-sdk/typescript 0.5.
|
|
67
|
+
"speakeasy-sdk/typescript 0.5.21 2.632.2 0.0.1 @compass-labs/api-sdk",
|
|
68
68
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -22,6 +22,10 @@ export type BatchedUserOperationsRequest = {
|
|
|
22
22
|
* The chain to use.
|
|
23
23
|
*/
|
|
24
24
|
chain: Chain;
|
|
25
|
+
/**
|
|
26
|
+
* The address of the transaction sender.
|
|
27
|
+
*/
|
|
28
|
+
sender: string;
|
|
25
29
|
/**
|
|
26
30
|
* List of possible user operations
|
|
27
31
|
*/
|
|
@@ -35,12 +39,14 @@ export const BatchedUserOperationsRequest$inboundSchema: z.ZodType<
|
|
|
35
39
|
unknown
|
|
36
40
|
> = z.object({
|
|
37
41
|
chain: Chain$inboundSchema,
|
|
42
|
+
sender: z.string(),
|
|
38
43
|
operations: z.array(UserOperation$inboundSchema),
|
|
39
44
|
});
|
|
40
45
|
|
|
41
46
|
/** @internal */
|
|
42
47
|
export type BatchedUserOperationsRequest$Outbound = {
|
|
43
48
|
chain: string;
|
|
49
|
+
sender: string;
|
|
44
50
|
operations: Array<UserOperation$Outbound>;
|
|
45
51
|
};
|
|
46
52
|
|
|
@@ -51,6 +57,7 @@ export const BatchedUserOperationsRequest$outboundSchema: z.ZodType<
|
|
|
51
57
|
BatchedUserOperationsRequest
|
|
52
58
|
> = z.object({
|
|
53
59
|
chain: Chain$outboundSchema,
|
|
60
|
+
sender: z.string(),
|
|
54
61
|
operations: z.array(UserOperation$outboundSchema),
|
|
55
62
|
});
|
|
56
63
|
|