@compass-labs/api-sdk 0.5.76 → 0.5.77
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 -5
- package/bin/mcp-server.js.map +11 -11
- package/dist/commonjs/funcs/pendlePendleLiquidity.d.ts +2 -0
- package/dist/commonjs/funcs/pendlePendleLiquidity.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendleLiquidity.js +2 -0
- package/dist/commonjs/funcs/pendlePendleLiquidity.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendlePt.d.ts +2 -0
- package/dist/commonjs/funcs/pendlePendlePt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendlePt.js +2 -0
- package/dist/commonjs/funcs/pendlePendlePt.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendleYt.d.ts +2 -0
- package/dist/commonjs/funcs/pendlePendleYt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendleYt.js +2 -0
- package/dist/commonjs/funcs/pendlePendleYt.js.map +1 -1
- 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/mcp-server/tools/pendlePendleLiquidity.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendlePendleLiquidity.js +2 -0
- package/dist/commonjs/mcp-server/tools/pendlePendleLiquidity.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendlePendlePt.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendlePendlePt.js +2 -0
- package/dist/commonjs/mcp-server/tools/pendlePendlePt.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendlePendleYt.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendlePendleYt.js +2 -0
- package/dist/commonjs/mcp-server/tools/pendlePendleYt.js.map +1 -1
- package/dist/commonjs/sdk/pendle.d.ts +6 -0
- package/dist/commonjs/sdk/pendle.d.ts.map +1 -1
- package/dist/commonjs/sdk/pendle.js +6 -0
- package/dist/commonjs/sdk/pendle.js.map +1 -1
- package/dist/esm/funcs/pendlePendleLiquidity.d.ts +2 -0
- package/dist/esm/funcs/pendlePendleLiquidity.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendleLiquidity.js +2 -0
- package/dist/esm/funcs/pendlePendleLiquidity.js.map +1 -1
- package/dist/esm/funcs/pendlePendlePt.d.ts +2 -0
- package/dist/esm/funcs/pendlePendlePt.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendlePt.js +2 -0
- package/dist/esm/funcs/pendlePendlePt.js.map +1 -1
- package/dist/esm/funcs/pendlePendleYt.d.ts +2 -0
- package/dist/esm/funcs/pendlePendleYt.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendleYt.js +2 -0
- package/dist/esm/funcs/pendlePendleYt.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/mcp-server/tools/pendlePendleLiquidity.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendlePendleLiquidity.js +2 -0
- package/dist/esm/mcp-server/tools/pendlePendleLiquidity.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendlePendlePt.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendlePendlePt.js +2 -0
- package/dist/esm/mcp-server/tools/pendlePendlePt.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendlePendleYt.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/pendlePendleYt.js +2 -0
- package/dist/esm/mcp-server/tools/pendlePendleYt.js.map +1 -1
- package/dist/esm/sdk/pendle.d.ts +6 -0
- package/dist/esm/sdk/pendle.d.ts.map +1 -1
- package/dist/esm/sdk/pendle.js +6 -0
- package/dist/esm/sdk/pendle.js.map +1 -1
- package/docs/sdks/pendle/README.md +6 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/pendlePendleLiquidity.ts +2 -0
- package/src/funcs/pendlePendlePt.ts +2 -0
- package/src/funcs/pendlePendleYt.ts +2 -0
- 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/mcp-server/tools/pendlePendleLiquidity.ts +2 -0
- package/src/mcp-server/tools/pendlePendlePt.ts +2 -0
- package/src/mcp-server/tools/pendlePendleYt.ts +2 -0
- package/src/sdk/pendle.ts +6 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pendlePendleYt.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/pendlePendleYt.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,kCAAkC;CACvD,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAgC;IAC9D,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"pendlePendleYt.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/pendlePendleYt.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,kCAAkC;CACvD,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAgC;IAC9D,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE;;;;;;;;;;;;;;;;;iBAiBE;IACf,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,cAAc,CAC5C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
package/dist/esm/sdk/pendle.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export declare class Pendle extends ClientSDK {
|
|
|
35
35
|
*
|
|
36
36
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
37
37
|
* beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the PT contract.
|
|
38
|
+
*
|
|
39
|
+
* A quote is included with the response.
|
|
38
40
|
* <Info>
|
|
39
41
|
* **Required Allowances**
|
|
40
42
|
*
|
|
@@ -54,6 +56,8 @@ export declare class Pendle extends ClientSDK {
|
|
|
54
56
|
*
|
|
55
57
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
56
58
|
* beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the YT contract.
|
|
59
|
+
*
|
|
60
|
+
* A quote is included with the response.
|
|
57
61
|
* <Info>
|
|
58
62
|
* **Required Allowances**
|
|
59
63
|
*
|
|
@@ -76,6 +80,8 @@ export declare class Pendle extends ClientSDK {
|
|
|
76
80
|
*
|
|
77
81
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
78
82
|
* beforehand. For `action` set to `SUPPLY`, this is the `token` contract. For `action` set to `WTIHDRAW`, this is the market contract (LP).
|
|
83
|
+
*
|
|
84
|
+
* A quote is included with the response.
|
|
79
85
|
* <Info>
|
|
80
86
|
* **Required Allowances**
|
|
81
87
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pendle.d.ts","sourceRoot":"","sources":["../../../src/sdk/pendle.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,MAAO,SAAQ,SAAS;IACnC;;;;;;;OAOG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,sEAAsE,CAClF;IAQD;;;;;OAKG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,iFAAiF,CAC7F;IAQD;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,yEAAyE,CACrF;IAQD
|
|
1
|
+
{"version":3,"file":"pendle.d.ts","sourceRoot":"","sources":["../../../src/sdk/pendle.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OA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
|
51
51
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
52
52
|
* beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the PT contract.
|
|
53
|
+
*
|
|
54
|
+
* A quote is included with the response.
|
|
53
55
|
* <Info>
|
|
54
56
|
* **Required Allowances**
|
|
55
57
|
*
|
|
@@ -71,6 +73,8 @@ export class Pendle extends ClientSDK {
|
|
|
71
73
|
*
|
|
72
74
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
73
75
|
* beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the YT contract.
|
|
76
|
+
*
|
|
77
|
+
* A quote is included with the response.
|
|
74
78
|
* <Info>
|
|
75
79
|
* **Required Allowances**
|
|
76
80
|
*
|
|
@@ -95,6 +99,8 @@ export class Pendle extends ClientSDK {
|
|
|
95
99
|
*
|
|
96
100
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
97
101
|
* beforehand. For `action` set to `SUPPLY`, this is the `token` contract. For `action` set to `WTIHDRAW`, this is the market contract (LP).
|
|
102
|
+
*
|
|
103
|
+
* A quote is included with the response.
|
|
98
104
|
* <Info>
|
|
99
105
|
* **Required Allowances**
|
|
100
106
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pendle.js","sourceRoot":"","sources":["../../../src/sdk/pendle.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,c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;IACL,CAAC;CACF"}
|
|
@@ -233,6 +233,8 @@ PT is traded with a token of the user's choice.
|
|
|
233
233
|
|
|
234
234
|
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
235
235
|
beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the PT contract.
|
|
236
|
+
|
|
237
|
+
A quote is included with the response.
|
|
236
238
|
<Info>
|
|
237
239
|
**Required Allowances**
|
|
238
240
|
|
|
@@ -332,6 +334,8 @@ YT is traded with a token of the user's choice.
|
|
|
332
334
|
|
|
333
335
|
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
334
336
|
beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the YT contract.
|
|
337
|
+
|
|
338
|
+
A quote is included with the response.
|
|
335
339
|
<Info>
|
|
336
340
|
**Required Allowances**
|
|
337
341
|
|
|
@@ -434,6 +438,8 @@ Provider Token (LP) received by the user.
|
|
|
434
438
|
|
|
435
439
|
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
436
440
|
beforehand. For `action` set to `SUPPLY`, this is the `token` contract. For `action` set to `WTIHDRAW`, this is the market contract (LP).
|
|
441
|
+
|
|
442
|
+
A quote is included with the response.
|
|
437
443
|
<Info>
|
|
438
444
|
**Required Allowances**
|
|
439
445
|
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -38,6 +38,8 @@ import { Result } from "../types/fp.js";
|
|
|
38
38
|
*
|
|
39
39
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
40
40
|
* beforehand. For `action` set to `SUPPLY`, this is the `token` contract. For `action` set to `WTIHDRAW`, this is the market contract (LP).
|
|
41
|
+
*
|
|
42
|
+
* A quote is included with the response.
|
|
41
43
|
* <Info>
|
|
42
44
|
* **Required Allowances**
|
|
43
45
|
*
|
|
@@ -35,6 +35,8 @@ import { Result } from "../types/fp.js";
|
|
|
35
35
|
*
|
|
36
36
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
37
37
|
* beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the PT contract.
|
|
38
|
+
*
|
|
39
|
+
* A quote is included with the response.
|
|
38
40
|
* <Info>
|
|
39
41
|
* **Required Allowances**
|
|
40
42
|
*
|
|
@@ -35,6 +35,8 @@ import { Result } from "../types/fp.js";
|
|
|
35
35
|
*
|
|
36
36
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
37
37
|
* beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the YT contract.
|
|
38
|
+
*
|
|
39
|
+
* A quote is included with the response.
|
|
38
40
|
* <Info>
|
|
39
41
|
* **Required Allowances**
|
|
40
42
|
*
|
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.
|
|
64
|
+
sdkVersion: "0.5.77",
|
|
65
65
|
genVersion: "2.672.0",
|
|
66
66
|
userAgent:
|
|
67
|
-
"speakeasy-sdk/typescript 0.5.
|
|
67
|
+
"speakeasy-sdk/typescript 0.5.77 2.672.0 0.0.1 @compass-labs/api-sdk",
|
|
68
68
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -23,6 +23,8 @@ Provider Token (LP) received by the user.
|
|
|
23
23
|
|
|
24
24
|
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
25
25
|
beforehand. For \`action\` set to \`SUPPLY\`, this is the \`token\` contract. For \`action\` set to \`WTIHDRAW\`, this is the market contract (LP).
|
|
26
|
+
|
|
27
|
+
A quote is included with the response.
|
|
26
28
|
<Info>
|
|
27
29
|
**Required Allowances**
|
|
28
30
|
|
|
@@ -20,6 +20,8 @@ PT is traded with a token of the user's choice.
|
|
|
20
20
|
|
|
21
21
|
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
22
22
|
beforehand. For \`action\` set to \`BUY\`, this is the \`token\` contract. For \`action\` set to \`SELL\`, this is the PT contract.
|
|
23
|
+
|
|
24
|
+
A quote is included with the response.
|
|
23
25
|
<Info>
|
|
24
26
|
**Required Allowances**
|
|
25
27
|
|
|
@@ -20,6 +20,8 @@ YT is traded with a token of the user's choice.
|
|
|
20
20
|
|
|
21
21
|
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
22
22
|
beforehand. For \`action\` set to \`BUY\`, this is the \`token\` contract. For \`action\` set to \`SELL\`, this is the YT contract.
|
|
23
|
+
|
|
24
|
+
A quote is included with the response.
|
|
23
25
|
<Info>
|
|
24
26
|
**Required Allowances**
|
|
25
27
|
|
package/src/sdk/pendle.ts
CHANGED
|
@@ -84,6 +84,8 @@ export class Pendle extends ClientSDK {
|
|
|
84
84
|
*
|
|
85
85
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
86
86
|
* beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the PT contract.
|
|
87
|
+
*
|
|
88
|
+
* A quote is included with the response.
|
|
87
89
|
* <Info>
|
|
88
90
|
* **Required Allowances**
|
|
89
91
|
*
|
|
@@ -113,6 +115,8 @@ export class Pendle extends ClientSDK {
|
|
|
113
115
|
*
|
|
114
116
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
115
117
|
* beforehand. For `action` set to `BUY`, this is the `token` contract. For `action` set to `SELL`, this is the YT contract.
|
|
118
|
+
*
|
|
119
|
+
* A quote is included with the response.
|
|
116
120
|
* <Info>
|
|
117
121
|
* **Required Allowances**
|
|
118
122
|
*
|
|
@@ -145,6 +149,8 @@ export class Pendle extends ClientSDK {
|
|
|
145
149
|
*
|
|
146
150
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
147
151
|
* beforehand. For `action` set to `SUPPLY`, this is the `token` contract. For `action` set to `WTIHDRAW`, this is the market contract (LP).
|
|
152
|
+
*
|
|
153
|
+
* A quote is included with the response.
|
|
148
154
|
* <Info>
|
|
149
155
|
* **Required Allowances**
|
|
150
156
|
*
|