@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.
- package/bin/mcp-server.js +11 -11
- package/bin/mcp-server.js.map +7 -7
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/morphomarkets.d.ts +4 -4
- package/dist/commonjs/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.js +4 -4
- package/dist/commonjs/models/operations/morphomarkets.js.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.d.ts +2 -2
- package/dist/commonjs/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.js +2 -2
- package/dist/commonjs/models/operations/morphovaults.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/morphomarkets.d.ts +4 -4
- package/dist/esm/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarkets.js +4 -4
- package/dist/esm/models/operations/morphomarkets.js.map +1 -1
- package/dist/esm/models/operations/morphovaults.d.ts +2 -2
- package/dist/esm/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovaults.js +2 -2
- package/dist/esm/models/operations/morphovaults.js.map +1 -1
- package/docs/sdks/aerodromeslipstream/README.md +6 -6
- package/docs/sdks/morpho/README.md +26 -8
- package/docs/sdks/transactionbatching/README.md +18 -12
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/morphomarkets.ts +8 -8
- 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
|
|
23
|
+
collateralToken: string | null;
|
|
24
24
|
/**
|
|
25
25
|
* Loan token to identify the market.
|
|
26
26
|
*/
|
|
27
|
-
loanToken
|
|
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())
|
|
59
|
-
loan_token: z.nullable(z.string())
|
|
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
|
|
71
|
-
loan_token
|
|
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())
|
|
82
|
-
loanToken: z.nullable(z.string())
|
|
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
|
|
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())
|
|
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
|
|
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())
|
|
74
|
+
depositToken: z.nullable(z.string()),
|
|
75
75
|
}).transform((v) => {
|
|
76
76
|
return remap$(v, {
|
|
77
77
|
depositToken: "deposit_token",
|