@compass-labs/api-sdk 0.0.3 → 0.0.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/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@compass-labs/api-sdk",
5
- "version": "0.0.3",
5
+ "version": "0.0.5",
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.0.3",
3
+ "version": "0.0.5",
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.0.3",
60
+ sdkVersion: "0.0.5",
61
61
  genVersion: "2.595.4",
62
62
  userAgent:
63
- "speakeasy-sdk/typescript 0.0.3 2.595.4 0.0.1 @compass-labs/api-sdk",
63
+ "speakeasy-sdk/typescript 0.0.5 2.595.4 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.0.3",
22
+ currentVersion: "0.0.5",
23
23
  },
24
24
  });
25
25
 
@@ -76,7 +76,7 @@ export function createMCPServer(deps: {
76
76
  }) {
77
77
  const server = new McpServer({
78
78
  name: "CompassApiSDK",
79
- version: "0.0.3",
79
+ version: "0.0.5",
80
80
  });
81
81
 
82
82
  const client = new CompassApiSDKCore({
@@ -27,7 +27,7 @@ export type MorphoVaultsRequest = {
27
27
  * The chain to use.
28
28
  */
29
29
  chain?: MorphoVaultsChain | undefined;
30
- depositToken?: string | null | undefined;
30
+ depositToken: string | null;
31
31
  };
32
32
 
33
33
  /** @internal */
@@ -58,7 +58,7 @@ export const MorphoVaultsRequest$inboundSchema: z.ZodType<
58
58
  unknown
59
59
  > = z.object({
60
60
  chain: MorphoVaultsChain$inboundSchema.default("ethereum:mainnet"),
61
- deposit_token: z.nullable(z.string()).optional(),
61
+ deposit_token: z.nullable(z.string()),
62
62
  }).transform((v) => {
63
63
  return remap$(v, {
64
64
  "deposit_token": "depositToken",
@@ -68,7 +68,7 @@ export const MorphoVaultsRequest$inboundSchema: z.ZodType<
68
68
  /** @internal */
69
69
  export type MorphoVaultsRequest$Outbound = {
70
70
  chain: string;
71
- deposit_token?: string | null | undefined;
71
+ deposit_token: string | null;
72
72
  };
73
73
 
74
74
  /** @internal */
@@ -78,7 +78,7 @@ export const MorphoVaultsRequest$outboundSchema: z.ZodType<
78
78
  MorphoVaultsRequest
79
79
  > = z.object({
80
80
  chain: MorphoVaultsChain$outboundSchema.default("ethereum:mainnet"),
81
- depositToken: z.nullable(z.string()).optional(),
81
+ depositToken: z.nullable(z.string()),
82
82
  }).transform((v) => {
83
83
  return remap$(v, {
84
84
  depositToken: "deposit_token",