@compass-labs/api-sdk 0.5.58 → 0.5.59

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.
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  *
29
29
  * In order to make this transaction, token allowances need to be set on the following contracts.
30
30
  *
31
- * - `USDC`
31
+ * - `<vault-contract-address>`
32
32
  * </Info>
33
33
  */
34
34
  export declare function morphoDeposit(client: CompassApiSDKCore, request: components.MorphoDepositRequest, options?: RequestOptions): APIPromise<Result<components.TxResponse, errors.HTTPValidationError | CompassAPISDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
@@ -66,7 +66,7 @@ const async_js_1 = require("../types/async.js");
66
66
  *
67
67
  * In order to make this transaction, token allowances need to be set on the following contracts.
68
68
  *
69
- * - `USDC`
69
+ * - `<vault-contract-address>`
70
70
  * </Info>
71
71
  */
72
72
  function morphoDeposit(client, request, options) {
@@ -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.58";
34
+ readonly sdkVersion: "0.5.59";
35
35
  readonly genVersion: "2.664.0";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.5.58 2.664.0 0.0.1 @compass-labs/api-sdk";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.5.59 2.664.0 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.58",
34
+ sdkVersion: "0.5.59",
35
35
  genVersion: "2.664.0",
36
- userAgent: "speakeasy-sdk/typescript 0.5.58 2.664.0 0.0.1 @compass-labs/api-sdk",
36
+ userAgent: "speakeasy-sdk/typescript 0.5.59 2.664.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.5.58",
25
+ currentVersion: "0.5.59",
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));
@@ -93,7 +93,7 @@ const universalWrapEth_js_1 = require("./tools/universalWrapEth.js");
93
93
  function createMCPServer(deps) {
94
94
  const server = new mcp_js_1.McpServer({
95
95
  name: "CompassApiSDK",
96
- version: "0.5.58",
96
+ version: "0.5.59",
97
97
  });
98
98
  const client = new core_js_1.CompassApiSDKCore({
99
99
  apiKeyAuth: deps.apiKeyAuth,
@@ -63,7 +63,7 @@ state at any time, and withdraw their liquidity at their discretion.
63
63
 
64
64
  In order to make this transaction, token allowances need to be set on the following contracts.
65
65
 
66
- - \`USDC\`
66
+ - \`<vault-contract-address>\`
67
67
  </Info>
68
68
  `,
69
69
  args,
@@ -86,7 +86,7 @@ export declare class Morpho extends ClientSDK {
86
86
  *
87
87
  * In order to make this transaction, token allowances need to be set on the following contracts.
88
88
  *
89
- * - `USDC`
89
+ * - `<vault-contract-address>`
90
90
  * </Info>
91
91
  */
92
92
  deposit(request: components.MorphoDepositRequest, options?: RequestOptions): Promise<components.TxResponse>;
@@ -115,7 +115,7 @@ class Morpho extends sdks_js_1.ClientSDK {
115
115
  *
116
116
  * In order to make this transaction, token allowances need to be set on the following contracts.
117
117
  *
118
- * - `USDC`
118
+ * - `<vault-contract-address>`
119
119
  * </Info>
120
120
  */
121
121
  async deposit(request, options) {
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  *
29
29
  * In order to make this transaction, token allowances need to be set on the following contracts.
30
30
  *
31
- * - `USDC`
31
+ * - `<vault-contract-address>`
32
32
  * </Info>
33
33
  */
34
34
  export declare function morphoDeposit(client: CompassApiSDKCore, request: components.MorphoDepositRequest, options?: RequestOptions): APIPromise<Result<components.TxResponse, errors.HTTPValidationError | CompassAPISDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
@@ -30,7 +30,7 @@ import { APIPromise } from "../types/async.js";
30
30
  *
31
31
  * In order to make this transaction, token allowances need to be set on the following contracts.
32
32
  *
33
- * - `USDC`
33
+ * - `<vault-contract-address>`
34
34
  * </Info>
35
35
  */
36
36
  export function morphoDeposit(client, request, options) {
@@ -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.58";
34
+ readonly sdkVersion: "0.5.59";
35
35
  readonly genVersion: "2.664.0";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.5.58 2.664.0 0.0.1 @compass-labs/api-sdk";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.5.59 2.664.0 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.58",
30
+ sdkVersion: "0.5.59",
31
31
  genVersion: "2.664.0",
32
- userAgent: "speakeasy-sdk/typescript 0.5.58 2.664.0 0.0.1 @compass-labs/api-sdk",
32
+ userAgent: "speakeasy-sdk/typescript 0.5.59 2.664.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.5.58",
19
+ currentVersion: "0.5.59",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -90,7 +90,7 @@ import { tool$universalWrapEth } from "./tools/universalWrapEth.js";
90
90
  export function createMCPServer(deps) {
91
91
  const server = new McpServer({
92
92
  name: "CompassApiSDK",
93
- version: "0.5.58",
93
+ version: "0.5.59",
94
94
  });
95
95
  const client = new CompassApiSDKCore({
96
96
  apiKeyAuth: deps.apiKeyAuth,
@@ -27,7 +27,7 @@ state at any time, and withdraw their liquidity at their discretion.
27
27
 
28
28
  In order to make this transaction, token allowances need to be set on the following contracts.
29
29
 
30
- - \`USDC\`
30
+ - \`<vault-contract-address>\`
31
31
  </Info>
32
32
  `,
33
33
  args,
@@ -86,7 +86,7 @@ export declare class Morpho extends ClientSDK {
86
86
  *
87
87
  * In order to make this transaction, token allowances need to be set on the following contracts.
88
88
  *
89
- * - `USDC`
89
+ * - `<vault-contract-address>`
90
90
  * </Info>
91
91
  */
92
92
  deposit(request: components.MorphoDepositRequest, options?: RequestOptions): Promise<components.TxResponse>;
@@ -112,7 +112,7 @@ export class Morpho extends ClientSDK {
112
112
  *
113
113
  * In order to make this transaction, token allowances need to be set on the following contracts.
114
114
  *
115
- * - `USDC`
115
+ * - `<vault-contract-address>`
116
116
  * </Info>
117
117
  */
118
118
  async deposit(request, options) {
@@ -472,7 +472,7 @@ state at any time, and withdraw their liquidity at their discretion.
472
472
 
473
473
  In order to make this transaction, token allowances need to be set on the following contracts.
474
474
 
475
- - `USDC`
475
+ - `<vault-contract-address>`
476
476
  </Info>
477
477
 
478
478
 
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@compass-labs/api-sdk",
5
- "version": "0.5.58",
5
+ "version": "0.5.59",
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.58",
3
+ "version": "0.5.59",
4
4
  "author": "royalnine",
5
5
  "type": "module",
6
6
  "bin": {
@@ -45,7 +45,7 @@ import { Result } from "../types/fp.js";
45
45
  *
46
46
  * In order to make this transaction, token allowances need to be set on the following contracts.
47
47
  *
48
- * - `USDC`
48
+ * - `<vault-contract-address>`
49
49
  * </Info>
50
50
  */
51
51
  export function morphoDeposit(
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.58",
64
+ sdkVersion: "0.5.59",
65
65
  genVersion: "2.664.0",
66
66
  userAgent:
67
- "speakeasy-sdk/typescript 0.5.58 2.664.0 0.0.1 @compass-labs/api-sdk",
67
+ "speakeasy-sdk/typescript 0.5.59 2.664.0 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.58",
22
+ currentVersion: "0.5.59",
23
23
  },
24
24
  });
25
25
 
@@ -105,7 +105,7 @@ export function createMCPServer(deps: {
105
105
  }) {
106
106
  const server = new McpServer({
107
107
  name: "CompassApiSDK",
108
- version: "0.5.58",
108
+ version: "0.5.59",
109
109
  });
110
110
 
111
111
  const client = new CompassApiSDKCore({
@@ -30,7 +30,7 @@ state at any time, and withdraw their liquidity at their discretion.
30
30
 
31
31
  In order to make this transaction, token allowances need to be set on the following contracts.
32
32
 
33
- - \`USDC\`
33
+ - \`<vault-contract-address>\`
34
34
  </Info>
35
35
  `,
36
36
  args,
package/src/sdk/morpho.ts CHANGED
@@ -164,7 +164,7 @@ export class Morpho extends ClientSDK {
164
164
  *
165
165
  * In order to make this transaction, token allowances need to be set on the following contracts.
166
166
  *
167
- * - `USDC`
167
+ * - `<vault-contract-address>`
168
168
  * </Info>
169
169
  */
170
170
  async deposit(