@compass-labs/api-sdk 1.0.1 → 1.0.2
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 +5 -11
- package/bin/mcp-server.js.map +11 -11
- package/dist/commonjs/funcs/pendlePendleLiquidity.d.ts +0 -2
- package/dist/commonjs/funcs/pendlePendleLiquidity.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendleLiquidity.js +0 -2
- package/dist/commonjs/funcs/pendlePendleLiquidity.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendlePt.d.ts +0 -2
- package/dist/commonjs/funcs/pendlePendlePt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendlePt.js +0 -2
- package/dist/commonjs/funcs/pendlePendlePt.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendleYt.d.ts +0 -2
- package/dist/commonjs/funcs/pendlePendleYt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendleYt.js +0 -2
- 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 +0 -2
- 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 +0 -2
- 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 +0 -2
- package/dist/commonjs/mcp-server/tools/pendlePendleYt.js.map +1 -1
- package/dist/commonjs/sdk/pendle.d.ts +0 -6
- package/dist/commonjs/sdk/pendle.d.ts.map +1 -1
- package/dist/commonjs/sdk/pendle.js +0 -6
- package/dist/commonjs/sdk/pendle.js.map +1 -1
- package/dist/esm/funcs/pendlePendleLiquidity.d.ts +0 -2
- package/dist/esm/funcs/pendlePendleLiquidity.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendleLiquidity.js +0 -2
- package/dist/esm/funcs/pendlePendleLiquidity.js.map +1 -1
- package/dist/esm/funcs/pendlePendlePt.d.ts +0 -2
- package/dist/esm/funcs/pendlePendlePt.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendlePt.js +0 -2
- package/dist/esm/funcs/pendlePendlePt.js.map +1 -1
- package/dist/esm/funcs/pendlePendleYt.d.ts +0 -2
- package/dist/esm/funcs/pendlePendleYt.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendleYt.js +0 -2
- 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 +0 -2
- 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 +0 -2
- 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 +0 -2
- package/dist/esm/mcp-server/tools/pendlePendleYt.js.map +1 -1
- package/dist/esm/sdk/pendle.d.ts +0 -6
- package/dist/esm/sdk/pendle.d.ts.map +1 -1
- package/dist/esm/sdk/pendle.js +0 -6
- package/dist/esm/sdk/pendle.js.map +1 -1
- package/docs/sdks/pendle/README.md +0 -6
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/pendlePendleLiquidity.ts +0 -2
- package/src/funcs/pendlePendlePt.ts +0 -2
- package/src/funcs/pendlePendleYt.ts +0 -2
- 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 +0 -2
- package/src/mcp-server/tools/pendlePendlePt.ts +0 -2
- package/src/mcp-server/tools/pendlePendleYt.ts +0 -2
- package/src/sdk/pendle.ts +0 -6
|
@@ -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;;;;;;;;;;;;;;;iBAeE;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,8 +35,6 @@ 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.
|
|
40
38
|
* <Info>
|
|
41
39
|
* **Required Allowances**
|
|
42
40
|
*
|
|
@@ -56,8 +54,6 @@ export declare class Pendle extends ClientSDK {
|
|
|
56
54
|
*
|
|
57
55
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
58
56
|
* 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.
|
|
61
57
|
* <Info>
|
|
62
58
|
* **Required Allowances**
|
|
63
59
|
*
|
|
@@ -80,8 +76,6 @@ export declare class Pendle extends ClientSDK {
|
|
|
80
76
|
*
|
|
81
77
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
82
78
|
* 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.
|
|
85
79
|
* <Info>
|
|
86
80
|
* **Required Allowances**
|
|
87
81
|
*
|
|
@@ -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,OAAO,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* 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.
|
|
55
53
|
* <Info>
|
|
56
54
|
* **Required Allowances**
|
|
57
55
|
*
|
|
@@ -73,8 +71,6 @@ export class Pendle extends ClientSDK {
|
|
|
73
71
|
*
|
|
74
72
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
75
73
|
* 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.
|
|
78
74
|
* <Info>
|
|
79
75
|
* **Required Allowances**
|
|
80
76
|
*
|
|
@@ -99,8 +95,6 @@ export class Pendle extends ClientSDK {
|
|
|
99
95
|
*
|
|
100
96
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
101
97
|
* 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.
|
|
104
98
|
* <Info>
|
|
105
99
|
* **Required Allowances**
|
|
106
100
|
*
|
|
@@ -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,cAAc,EAAE,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
|
|
@@ -233,8 +233,6 @@ 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.
|
|
238
236
|
<Info>
|
|
239
237
|
**Required Allowances**
|
|
240
238
|
|
|
@@ -334,8 +332,6 @@ YT is traded with a token of the user's choice.
|
|
|
334
332
|
|
|
335
333
|
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
336
334
|
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.
|
|
339
335
|
<Info>
|
|
340
336
|
**Required Allowances**
|
|
341
337
|
|
|
@@ -438,8 +434,6 @@ Provider Token (LP) received by the user.
|
|
|
438
434
|
|
|
439
435
|
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
440
436
|
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.
|
|
443
437
|
<Info>
|
|
444
438
|
**Required Allowances**
|
|
445
439
|
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -38,8 +38,6 @@ 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.
|
|
43
41
|
* <Info>
|
|
44
42
|
* **Required Allowances**
|
|
45
43
|
*
|
|
@@ -35,8 +35,6 @@ 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.
|
|
40
38
|
* <Info>
|
|
41
39
|
* **Required Allowances**
|
|
42
40
|
*
|
|
@@ -35,8 +35,6 @@ 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.
|
|
40
38
|
* <Info>
|
|
41
39
|
* **Required Allowances**
|
|
42
40
|
*
|
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: "1.0.
|
|
64
|
+
sdkVersion: "1.0.2",
|
|
65
65
|
genVersion: "2.672.0",
|
|
66
66
|
userAgent:
|
|
67
|
-
"speakeasy-sdk/typescript 1.0.
|
|
67
|
+
"speakeasy-sdk/typescript 1.0.2 2.672.0 0.0.1 @compass-labs/api-sdk",
|
|
68
68
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -23,8 +23,6 @@ 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.
|
|
28
26
|
<Info>
|
|
29
27
|
**Required Allowances**
|
|
30
28
|
|
|
@@ -20,8 +20,6 @@ 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.
|
|
25
23
|
<Info>
|
|
26
24
|
**Required Allowances**
|
|
27
25
|
|
|
@@ -20,8 +20,6 @@ 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.
|
|
25
23
|
<Info>
|
|
26
24
|
**Required Allowances**
|
|
27
25
|
|
package/src/sdk/pendle.ts
CHANGED
|
@@ -84,8 +84,6 @@ 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.
|
|
89
87
|
* <Info>
|
|
90
88
|
* **Required Allowances**
|
|
91
89
|
*
|
|
@@ -115,8 +113,6 @@ export class Pendle extends ClientSDK {
|
|
|
115
113
|
*
|
|
116
114
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
117
115
|
* 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.
|
|
120
116
|
* <Info>
|
|
121
117
|
* **Required Allowances**
|
|
122
118
|
*
|
|
@@ -149,8 +145,6 @@ export class Pendle extends ClientSDK {
|
|
|
149
145
|
*
|
|
150
146
|
* A sufficient allowance for the Pendle Router on the appropriate token contract must be set
|
|
151
147
|
* 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.
|
|
154
148
|
* <Info>
|
|
155
149
|
* **Required Allowances**
|
|
156
150
|
*
|