@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.
@@ -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.20";
35
- readonly genVersion: "2.630.8";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.5.20 2.630.8 0.0.1 @compass-labs/api-sdk";
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.20",
35
- genVersion: "2.630.8",
36
- userAgent: "speakeasy-sdk/typescript 0.5.20 2.630.8 0.0.1 @compass-labs/api-sdk",
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.20",
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.20",
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,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,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,CAI5B,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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEH,gFAQC;AAED,oFAQC;AAnFD,uCAAyB;AACzB,qDAAiD;AAGjD,yCAA8E;AAC9E,yDAK4B;AAgB5B,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,8BAAmB;IAC1B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,8CAA2B,CAAC;CACjD,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,+BAAoB;IAC3B,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"}
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"}
@@ -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.20";
35
- readonly genVersion: "2.630.8";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.5.20 2.630.8 0.0.1 @compass-labs/api-sdk";
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
@@ -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.20",
31
- genVersion: "2.630.8",
32
- userAgent: "speakeasy-sdk/typescript 0.5.20 2.630.8 0.0.1 @compass-labs/api-sdk",
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
@@ -16,7 +16,7 @@ const routes = buildRouteMap({
16
16
  export const app = buildApplication(routes, {
17
17
  name: "mcp",
18
18
  versionInfo: {
19
- currentVersion: "0.5.20",
19
+ currentVersion: "0.5.21",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -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.20",
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,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,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,CAI5B,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"}
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;AAgB5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,mBAAmB;IAC1B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CACjD,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,oBAAoB;IAC3B,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"}
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@compass-labs/api-sdk",
5
- "version": "0.5.20",
5
+ "version": "0.5.21",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-labs/api-sdk",
3
- "version": "0.5.20",
3
+ "version": "0.5.21",
4
4
  "author": "royalnine",
5
5
  "type": "module",
6
6
  "bin": {
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.20",
65
- genVersion: "2.630.8",
64
+ sdkVersion: "0.5.21",
65
+ genVersion: "2.632.2",
66
66
  userAgent:
67
- "speakeasy-sdk/typescript 0.5.20 2.630.8 0.0.1 @compass-labs/api-sdk",
67
+ "speakeasy-sdk/typescript 0.5.21 2.632.2 0.0.1 @compass-labs/api-sdk",
68
68
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.5.20",
22
+ currentVersion: "0.5.21",
23
23
  },
24
24
  });
25
25
 
@@ -100,7 +100,7 @@ export function createMCPServer(deps: {
100
100
  }) {
101
101
  const server = new McpServer({
102
102
  name: "CompassApiSDK",
103
- version: "0.5.20",
103
+ version: "0.5.21",
104
104
  });
105
105
 
106
106
  const client = new CompassApiSDKCore({
@@ -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