@toon-protocol/client-mcp 0.11.0 → 0.12.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-KVK6OZVD.js → chunk-74KX5LXI.js} +13 -5
- package/dist/chunk-74KX5LXI.js.map +1 -0
- package/dist/{chunk-JPQ4VCCF.js → chunk-LN64MLWP.js} +4 -4
- package/dist/chunk-LN64MLWP.js.map +1 -0
- package/dist/{chunk-CMGJ3NFT.js → chunk-W6T6ZK7U.js} +56 -1
- package/dist/chunk-W6T6ZK7U.js.map +1 -0
- package/dist/daemon.js +2 -2
- package/dist/index.d.ts +9 -0
- package/dist/index.js +3 -3
- package/dist/mcp.js +3 -3
- package/dist/mcp.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-CMGJ3NFT.js.map +0 -1
- package/dist/chunk-JPQ4VCCF.js.map +0 -1
- package/dist/chunk-KVK6OZVD.js.map +0 -1
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
isEventExpired,
|
|
16
16
|
parseIlpPeerInfo,
|
|
17
17
|
readConfigFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W6T6ZK7U.js";
|
|
19
19
|
import {
|
|
20
20
|
__require
|
|
21
21
|
} from "./chunk-F22GNSF6.js";
|
|
@@ -1778,9 +1778,17 @@ var ClientRunner = class {
|
|
|
1778
1778
|
const cm = apex.client.channelManager;
|
|
1779
1779
|
if (saved && cm && typeof cm.trackChannel === "function") {
|
|
1780
1780
|
cm.trackChannel(saved.channelId, saved.context);
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1781
|
+
if (saved.context.chainType === "evm") {
|
|
1782
|
+
await apex.client.rehydrateChannelDeposit?.(saved.channelId, {
|
|
1783
|
+
chain: `evm:${saved.context.chainId}`,
|
|
1784
|
+
tokenNetworkAddress: saved.context.tokenNetworkAddress
|
|
1785
|
+
}).catch(
|
|
1786
|
+
(err) => this.log(
|
|
1787
|
+
`[runner] deposit re-hydrate for ${saved.channelId} failed: ${errMsg2(err)}`
|
|
1788
|
+
)
|
|
1789
|
+
);
|
|
1790
|
+
}
|
|
1791
|
+
this.log(`[runner] resumed apex channel ${saved.channelId} (deposit re-read)`);
|
|
1784
1792
|
return saved.channelId;
|
|
1785
1793
|
}
|
|
1786
1794
|
if (opts.resumeOnly) return void 0;
|
|
@@ -2783,4 +2791,4 @@ export {
|
|
|
2783
2791
|
PublishRejectedError,
|
|
2784
2792
|
registerRoutes
|
|
2785
2793
|
};
|
|
2786
|
-
//# sourceMappingURL=chunk-
|
|
2794
|
+
//# sourceMappingURL=chunk-74KX5LXI.js.map
|