@toon-protocol/client-mcp 0.31.2 → 0.33.0
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/dist/{chunk-PRFPAEGG.js → chunk-7WCDT25E.js} +721 -196
- package/dist/chunk-7WCDT25E.js.map +1 -0
- package/dist/{chunk-ARFPM2PT.js → chunk-ALMTQYYJ.js} +19 -1
- package/dist/{chunk-ARFPM2PT.js.map → chunk-ALMTQYYJ.js.map} +1 -1
- package/dist/{chunk-I5L5CB4N.js → chunk-UZT7LAGY.js} +135 -5
- package/dist/chunk-UZT7LAGY.js.map +1 -0
- package/dist/daemon.js +3 -3
- package/dist/daemon.js.map +1 -1
- package/dist/index.d.ts +216 -76
- package/dist/index.js +3 -3
- package/dist/mcp.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-I5L5CB4N.js.map +0 -1
- package/dist/chunk-PRFPAEGG.js.map +0 -1
|
@@ -10729,6 +10729,7 @@ var ControlClient = class {
|
|
|
10729
10729
|
if (query.subId) qs.set("subId", query.subId);
|
|
10730
10730
|
if (query.cursor !== void 0) qs.set("cursor", String(query.cursor));
|
|
10731
10731
|
if (query.limit !== void 0) qs.set("limit", String(query.limit));
|
|
10732
|
+
if (query.relayUrl) qs.set("relayUrl", query.relayUrl);
|
|
10732
10733
|
const suffix = qs.toString() ? `?${qs.toString()}` : "";
|
|
10733
10734
|
return this.request("GET", `/events${suffix}`);
|
|
10734
10735
|
}
|
|
@@ -10741,6 +10742,21 @@ var ControlClient = class {
|
|
|
10741
10742
|
swap(body) {
|
|
10742
10743
|
return this.request("POST", "/swap", body);
|
|
10743
10744
|
}
|
|
10745
|
+
targets() {
|
|
10746
|
+
return this.request("GET", "/targets");
|
|
10747
|
+
}
|
|
10748
|
+
addRelay(body) {
|
|
10749
|
+
return this.request("POST", "/relays", body);
|
|
10750
|
+
}
|
|
10751
|
+
removeRelay(body) {
|
|
10752
|
+
return this.request("DELETE", "/relays", body);
|
|
10753
|
+
}
|
|
10754
|
+
addApex(body) {
|
|
10755
|
+
return this.request("POST", "/apex", body);
|
|
10756
|
+
}
|
|
10757
|
+
removeApex(body) {
|
|
10758
|
+
return this.request("DELETE", "/apex", body);
|
|
10759
|
+
}
|
|
10744
10760
|
async request(method, path, body) {
|
|
10745
10761
|
const url = `${this.baseUrl}${path}`;
|
|
10746
10762
|
const controller = new AbortController();
|
|
@@ -10873,6 +10889,8 @@ export {
|
|
|
10873
10889
|
ToonError,
|
|
10874
10890
|
encodeEventToToon,
|
|
10875
10891
|
decodeEventFromToon,
|
|
10892
|
+
ILP_PEER_INFO_KIND,
|
|
10893
|
+
parseIlpPeerInfo,
|
|
10876
10894
|
buildIlpPrepare,
|
|
10877
10895
|
deriveFullIdentity,
|
|
10878
10896
|
ToonClient,
|
|
@@ -10913,4 +10931,4 @@ export {
|
|
|
10913
10931
|
@scure/bip32/lib/esm/index.js:
|
|
10914
10932
|
(*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
|
|
10915
10933
|
*/
|
|
10916
|
-
//# sourceMappingURL=chunk-
|
|
10934
|
+
//# sourceMappingURL=chunk-ALMTQYYJ.js.map
|