@compass-labs/api-sdk 0.0.26 → 0.0.27

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.
Files changed (36) hide show
  1. package/bin/mcp-server.js +11 -11
  2. package/bin/mcp-server.js.map +7 -7
  3. package/dist/commonjs/lib/config.d.ts +2 -2
  4. package/dist/commonjs/lib/config.js +2 -2
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/operations/morphomarkets.d.ts +4 -4
  8. package/dist/commonjs/models/operations/morphomarkets.d.ts.map +1 -1
  9. package/dist/commonjs/models/operations/morphomarkets.js +4 -4
  10. package/dist/commonjs/models/operations/morphomarkets.js.map +1 -1
  11. package/dist/commonjs/models/operations/morphovaults.d.ts +2 -2
  12. package/dist/commonjs/models/operations/morphovaults.d.ts.map +1 -1
  13. package/dist/commonjs/models/operations/morphovaults.js +2 -2
  14. package/dist/commonjs/models/operations/morphovaults.js.map +1 -1
  15. package/dist/esm/lib/config.d.ts +2 -2
  16. package/dist/esm/lib/config.js +2 -2
  17. package/dist/esm/mcp-server/mcp-server.js +1 -1
  18. package/dist/esm/mcp-server/server.js +1 -1
  19. package/dist/esm/models/operations/morphomarkets.d.ts +4 -4
  20. package/dist/esm/models/operations/morphomarkets.d.ts.map +1 -1
  21. package/dist/esm/models/operations/morphomarkets.js +4 -4
  22. package/dist/esm/models/operations/morphomarkets.js.map +1 -1
  23. package/dist/esm/models/operations/morphovaults.d.ts +2 -2
  24. package/dist/esm/models/operations/morphovaults.d.ts.map +1 -1
  25. package/dist/esm/models/operations/morphovaults.js +2 -2
  26. package/dist/esm/models/operations/morphovaults.js.map +1 -1
  27. package/docs/sdks/aerodromeslipstream/README.md +6 -6
  28. package/docs/sdks/morpho/README.md +26 -8
  29. package/docs/sdks/transactionbatching/README.md +18 -12
  30. package/jsr.json +1 -1
  31. package/package.json +1 -1
  32. package/src/lib/config.ts +2 -2
  33. package/src/mcp-server/mcp-server.ts +1 -1
  34. package/src/mcp-server/server.ts +1 -1
  35. package/src/models/operations/morphomarkets.ts +8 -8
  36. package/src/models/operations/morphovaults.ts +4 -4
@@ -20,11 +20,11 @@ export type MorphoMarketsRequest = {
20
20
  /**
21
21
  * Collateral token to identify the market.
22
22
  */
23
- collateralToken?: string | null | undefined;
23
+ collateralToken: string | null;
24
24
  /**
25
25
  * Loan token to identify the market.
26
26
  */
27
- loanToken?: string | null | undefined;
27
+ loanToken: string | null;
28
28
  };
29
29
 
30
30
  /** @internal */
@@ -55,8 +55,8 @@ export const MorphoMarketsRequest$inboundSchema: z.ZodType<
55
55
  unknown
56
56
  > = z.object({
57
57
  chain: MorphoMarketsChain$inboundSchema.default("ethereum:mainnet"),
58
- collateral_token: z.nullable(z.string()).optional(),
59
- loan_token: z.nullable(z.string()).optional(),
58
+ collateral_token: z.nullable(z.string()),
59
+ loan_token: z.nullable(z.string()),
60
60
  }).transform((v) => {
61
61
  return remap$(v, {
62
62
  "collateral_token": "collateralToken",
@@ -67,8 +67,8 @@ export const MorphoMarketsRequest$inboundSchema: z.ZodType<
67
67
  /** @internal */
68
68
  export type MorphoMarketsRequest$Outbound = {
69
69
  chain: string;
70
- collateral_token?: string | null | undefined;
71
- loan_token?: string | null | undefined;
70
+ collateral_token: string | null;
71
+ loan_token: string | null;
72
72
  };
73
73
 
74
74
  /** @internal */
@@ -78,8 +78,8 @@ export const MorphoMarketsRequest$outboundSchema: z.ZodType<
78
78
  MorphoMarketsRequest
79
79
  > = z.object({
80
80
  chain: MorphoMarketsChain$outboundSchema.default("ethereum:mainnet"),
81
- collateralToken: z.nullable(z.string()).optional(),
82
- loanToken: z.nullable(z.string()).optional(),
81
+ collateralToken: z.nullable(z.string()),
82
+ loanToken: z.nullable(z.string()),
83
83
  }).transform((v) => {
84
84
  return remap$(v, {
85
85
  collateralToken: "collateral_token",
@@ -20,7 +20,7 @@ export type MorphoVaultsRequest = {
20
20
  /**
21
21
  * Token address that will filter vaults by this deposit token.
22
22
  */
23
- depositToken?: string | null | undefined;
23
+ depositToken: string | null;
24
24
  };
25
25
 
26
26
  /** @internal */
@@ -51,7 +51,7 @@ export const MorphoVaultsRequest$inboundSchema: z.ZodType<
51
51
  unknown
52
52
  > = z.object({
53
53
  chain: MorphoVaultsChain$inboundSchema.default("ethereum:mainnet"),
54
- deposit_token: z.nullable(z.string()).optional(),
54
+ deposit_token: z.nullable(z.string()),
55
55
  }).transform((v) => {
56
56
  return remap$(v, {
57
57
  "deposit_token": "depositToken",
@@ -61,7 +61,7 @@ export const MorphoVaultsRequest$inboundSchema: z.ZodType<
61
61
  /** @internal */
62
62
  export type MorphoVaultsRequest$Outbound = {
63
63
  chain: string;
64
- deposit_token?: string | null | undefined;
64
+ deposit_token: string | null;
65
65
  };
66
66
 
67
67
  /** @internal */
@@ -71,7 +71,7 @@ export const MorphoVaultsRequest$outboundSchema: z.ZodType<
71
71
  MorphoVaultsRequest
72
72
  > = z.object({
73
73
  chain: MorphoVaultsChain$outboundSchema.default("ethereum:mainnet"),
74
- depositToken: z.nullable(z.string()).optional(),
74
+ depositToken: z.nullable(z.string()),
75
75
  }).transform((v) => {
76
76
  return remap$(v, {
77
77
  depositToken: "deposit_token",