@compass-labs/api-sdk 0.1.9 → 0.2.0

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.
@@ -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.9";
30
+ readonly sdkVersion: "0.2.0";
31
31
  readonly genVersion: "2.610.0";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.1.9 2.610.0 0.0.1 @compass-labs/api-sdk";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.2.0 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.9",
34
+ sdkVersion: "0.2.0",
35
35
  genVersion: "2.610.0",
36
- userAgent: "speakeasy-sdk/typescript 0.1.9 2.610.0 0.0.1 @compass-labs/api-sdk",
36
+ userAgent: "speakeasy-sdk/typescript 0.2.0 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.9",
25
+ currentVersion: "0.2.0",
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));
@@ -79,7 +79,7 @@ const universalWrapEth_js_1 = require("./tools/universalWrapEth.js");
79
79
  function createMCPServer(deps) {
80
80
  const server = new mcp_js_1.McpServer({
81
81
  name: "CompassApiSDK",
82
- version: "0.1.9",
82
+ version: "0.2.0",
83
83
  });
84
84
  const client = new core_js_1.CompassApiSDKCore({
85
85
  apiKeyAuth: deps.apiKeyAuth,
@@ -15,9 +15,6 @@ export type BatchedUserOperationsRequest = {
15
15
  * List of possible user operations
16
16
  */
17
17
  operations: Array<UserOperation>;
18
- additionalProperties?: {
19
- [k: string]: any;
20
- };
21
18
  };
22
19
  /** @internal */
23
20
  export declare const BatchedUserOperationsRequest$inboundSchema: z.ZodType<BatchedUserOperationsRequest, z.ZodTypeDef, unknown>;
@@ -25,7 +22,6 @@ export declare const BatchedUserOperationsRequest$inboundSchema: z.ZodType<Batch
25
22
  export type BatchedUserOperationsRequest$Outbound = {
26
23
  chain: string;
27
24
  operations: Array<UserOperation$Outbound>;
28
- [additionalProperties: string]: unknown;
29
25
  };
30
26
  /** @internal */
31
27
  export declare const BatchedUserOperationsRequest$outboundSchema: z.ZodType<BatchedUserOperationsRequest$Outbound, z.ZodTypeDef, BatchedUserOperationsRequest>;
@@ -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;AAMzB,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;IACjC,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAQR,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC1C,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAY5B,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,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"}
@@ -40,27 +40,18 @@ exports.BatchedUserOperationsRequest$ = exports.BatchedUserOperationsRequest$out
40
40
  exports.batchedUserOperationsRequestToJSON = batchedUserOperationsRequestToJSON;
41
41
  exports.batchedUserOperationsRequestFromJSON = batchedUserOperationsRequestFromJSON;
42
42
  const z = __importStar(require("zod"));
43
- const primitives_js_1 = require("../../lib/primitives.js");
44
43
  const schemas_js_1 = require("../../lib/schemas.js");
45
44
  const chain_js_1 = require("./chain.js");
46
45
  const useroperation_js_1 = require("./useroperation.js");
47
46
  /** @internal */
48
- exports.BatchedUserOperationsRequest$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
47
+ exports.BatchedUserOperationsRequest$inboundSchema = z.object({
49
48
  chain: chain_js_1.Chain$inboundSchema,
50
49
  operations: z.array(useroperation_js_1.UserOperation$inboundSchema),
51
- }).catchall(z.any()), "additionalProperties", true);
50
+ });
52
51
  /** @internal */
53
52
  exports.BatchedUserOperationsRequest$outboundSchema = z.object({
54
53
  chain: chain_js_1.Chain$outboundSchema,
55
54
  operations: z.array(useroperation_js_1.UserOperation$outboundSchema),
56
- additionalProperties: z.record(z.any()),
57
- }).transform((v) => {
58
- return {
59
- ...v.additionalProperties,
60
- ...(0, primitives_js_1.remap)(v, {
61
- additionalProperties: null,
62
- }),
63
- };
64
55
  });
65
56
  /**
66
57
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"batcheduseroperationsrequest.js","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqFH,gFAQC;AAED,oFAQC;AArGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAG8B;AAG9B,yCAA8E;AAC9E,yDAK4B;AAiB5B,gBAAgB;AACH,QAAA,0CAA0C,GAInD,IAAA,6BAAiB,EACnB,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,8BAAmB;IAC1B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,8CAA2B,CAAC;CACjD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EACpB,sBAAsB,EACtB,IAAI,CACL,CAAC;AASF,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,+BAAoB;IAC3B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,+CAA4B,CAAC;IACjD,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CACxC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO;QACL,GAAG,CAAC,CAAC,oBAAoB;QACzB,GAAG,IAAA,qBAAM,EAAC,CAAC,EAAE;YACX,oBAAoB,EAAE,IAAI;SAC3B,CAAC;KACH,CAAC;AACJ,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -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.9";
30
+ readonly sdkVersion: "0.2.0";
31
31
  readonly genVersion: "2.610.0";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.1.9 2.610.0 0.0.1 @compass-labs/api-sdk";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.2.0 2.610.0 0.0.1 @compass-labs/api-sdk";
33
33
  };
34
34
  //# 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.1.9",
30
+ sdkVersion: "0.2.0",
31
31
  genVersion: "2.610.0",
32
- userAgent: "speakeasy-sdk/typescript 0.1.9 2.610.0 0.0.1 @compass-labs/api-sdk",
32
+ userAgent: "speakeasy-sdk/typescript 0.2.0 2.610.0 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.1.9",
19
+ currentVersion: "0.2.0",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -76,7 +76,7 @@ import { tool$universalWrapEth } from "./tools/universalWrapEth.js";
76
76
  export function createMCPServer(deps) {
77
77
  const server = new McpServer({
78
78
  name: "CompassApiSDK",
79
- version: "0.1.9",
79
+ version: "0.2.0",
80
80
  });
81
81
  const client = new CompassApiSDKCore({
82
82
  apiKeyAuth: deps.apiKeyAuth,
@@ -15,9 +15,6 @@ export type BatchedUserOperationsRequest = {
15
15
  * List of possible user operations
16
16
  */
17
17
  operations: Array<UserOperation>;
18
- additionalProperties?: {
19
- [k: string]: any;
20
- };
21
18
  };
22
19
  /** @internal */
23
20
  export declare const BatchedUserOperationsRequest$inboundSchema: z.ZodType<BatchedUserOperationsRequest, z.ZodTypeDef, unknown>;
@@ -25,7 +22,6 @@ export declare const BatchedUserOperationsRequest$inboundSchema: z.ZodType<Batch
25
22
  export type BatchedUserOperationsRequest$Outbound = {
26
23
  chain: string;
27
24
  operations: Array<UserOperation$Outbound>;
28
- [additionalProperties: string]: unknown;
29
25
  };
30
26
  /** @internal */
31
27
  export declare const BatchedUserOperationsRequest$outboundSchema: z.ZodType<BatchedUserOperationsRequest$Outbound, z.ZodTypeDef, BatchedUserOperationsRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"batcheduseroperationsrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/batcheduseroperationsrequest.ts"],"names":[],"mappings":"AAIA,O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;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,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"}
@@ -2,27 +2,18 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
  import * as z from "zod";
5
- import { remap as remap$ } from "../../lib/primitives.js";
6
- import { collectExtraKeys as collectExtraKeys$, safeParse, } from "../../lib/schemas.js";
5
+ import { safeParse } from "../../lib/schemas.js";
7
6
  import { Chain$inboundSchema, Chain$outboundSchema } from "./chain.js";
8
7
  import { UserOperation$inboundSchema, UserOperation$outboundSchema, } from "./useroperation.js";
9
8
  /** @internal */
10
- export const BatchedUserOperationsRequest$inboundSchema = collectExtraKeys$(z.object({
9
+ export const BatchedUserOperationsRequest$inboundSchema = z.object({
11
10
  chain: Chain$inboundSchema,
12
11
  operations: z.array(UserOperation$inboundSchema),
13
- }).catchall(z.any()), "additionalProperties", true);
12
+ });
14
13
  /** @internal */
15
14
  export const BatchedUserOperationsRequest$outboundSchema = z.object({
16
15
  chain: Chain$outboundSchema,
17
16
  operations: z.array(UserOperation$outboundSchema),
18
- additionalProperties: z.record(z.any()),
19
- }).transform((v) => {
20
- return {
21
- ...v.additionalProperties,
22
- ...remap$(v, {
23
- additionalProperties: null,
24
- }),
25
- };
26
17
  });
27
18
  /**
28
19
  * @internal
@@ -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,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACL,gBAAgB,IAAI,iBAAiB,EACrC,SAAS,GACV,MAAM,sBAAsB,CAAC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U,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;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"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@compass-labs/api-sdk",
5
- "version": "0.1.9",
5
+ "version": "0.2.0",
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.1.9",
3
+ "version": "0.2.0",
4
4
  "author": "royalnine",
5
5
  "type": "module",
6
6
  "bin": {
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.9",
60
+ sdkVersion: "0.2.0",
61
61
  genVersion: "2.610.0",
62
62
  userAgent:
63
- "speakeasy-sdk/typescript 0.1.9 2.610.0 0.0.1 @compass-labs/api-sdk",
63
+ "speakeasy-sdk/typescript 0.2.0 2.610.0 0.0.1 @compass-labs/api-sdk",
64
64
  } 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.1.9",
22
+ currentVersion: "0.2.0",
23
23
  },
24
24
  });
25
25
 
@@ -91,7 +91,7 @@ export function createMCPServer(deps: {
91
91
  }) {
92
92
  const server = new McpServer({
93
93
  name: "CompassApiSDK",
94
- version: "0.1.9",
94
+ version: "0.2.0",
95
95
  });
96
96
 
97
97
  const client = new CompassApiSDKCore({
@@ -3,11 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import {
8
- collectExtraKeys as collectExtraKeys$,
9
- safeParse,
10
- } from "../../lib/schemas.js";
6
+ import { safeParse } from "../../lib/schemas.js";
11
7
  import { Result as SafeParseResult } from "../../types/fp.js";
12
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
13
9
  import { Chain, Chain$inboundSchema, Chain$outboundSchema } from "./chain.js";
@@ -30,7 +26,6 @@ export type BatchedUserOperationsRequest = {
30
26
  * List of possible user operations
31
27
  */
32
28
  operations: Array<UserOperation>;
33
- additionalProperties?: { [k: string]: any };
34
29
  };
35
30
 
36
31
  /** @internal */
@@ -38,20 +33,15 @@ export const BatchedUserOperationsRequest$inboundSchema: z.ZodType<
38
33
  BatchedUserOperationsRequest,
39
34
  z.ZodTypeDef,
40
35
  unknown
41
- > = collectExtraKeys$(
42
- z.object({
43
- chain: Chain$inboundSchema,
44
- operations: z.array(UserOperation$inboundSchema),
45
- }).catchall(z.any()),
46
- "additionalProperties",
47
- true,
48
- );
36
+ > = z.object({
37
+ chain: Chain$inboundSchema,
38
+ operations: z.array(UserOperation$inboundSchema),
39
+ });
49
40
 
50
41
  /** @internal */
51
42
  export type BatchedUserOperationsRequest$Outbound = {
52
43
  chain: string;
53
44
  operations: Array<UserOperation$Outbound>;
54
- [additionalProperties: string]: unknown;
55
45
  };
56
46
 
57
47
  /** @internal */
@@ -62,14 +52,6 @@ export const BatchedUserOperationsRequest$outboundSchema: z.ZodType<
62
52
  > = z.object({
63
53
  chain: Chain$outboundSchema,
64
54
  operations: z.array(UserOperation$outboundSchema),
65
- additionalProperties: z.record(z.any()),
66
- }).transform((v) => {
67
- return {
68
- ...v.additionalProperties,
69
- ...remap$(v, {
70
- additionalProperties: null,
71
- }),
72
- };
73
55
  });
74
56
 
75
57
  /**