@toon-protocol/client-mcp 0.34.2 → 0.34.3
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-WMZJQSSA.js → chunk-E3Q7HVNQ.js} +4 -2
- package/dist/{chunk-WMZJQSSA.js.map → chunk-E3Q7HVNQ.js.map} +1 -1
- package/dist/{chunk-UZT7LAGY.js → chunk-GG5IP4ZH.js} +2 -2
- package/dist/{chunk-ALMTQYYJ.js → chunk-J67PL2EH.js} +25 -4
- package/dist/chunk-J67PL2EH.js.map +1 -0
- package/dist/daemon.js +2 -2
- package/dist/index.js +3 -3
- package/dist/mcp.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-ALMTQYYJ.js.map +0 -1
- /package/dist/{chunk-UZT7LAGY.js.map → chunk-GG5IP4ZH.js.map} +0 -0
|
@@ -10,9 +10,10 @@ import {
|
|
|
10
10
|
deriveFullIdentity,
|
|
11
11
|
encodeEventToToon,
|
|
12
12
|
generateKeystore,
|
|
13
|
+
isEventExpired,
|
|
13
14
|
parseIlpPeerInfo,
|
|
14
15
|
readConfigFile
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J67PL2EH.js";
|
|
16
17
|
import {
|
|
17
18
|
startManagedAnonProxy
|
|
18
19
|
} from "./chunk-SKQTKZIH.js";
|
|
@@ -1339,6 +1340,7 @@ async function discoverApex(params) {
|
|
|
1339
1340
|
function matchesApex(event, ilpAddress, pubkey) {
|
|
1340
1341
|
if (event.kind !== ILP_PEER_INFO_KIND) return false;
|
|
1341
1342
|
if (pubkey && event.pubkey !== pubkey) return false;
|
|
1343
|
+
if (isEventExpired(event)) return false;
|
|
1342
1344
|
try {
|
|
1343
1345
|
const info = parseIlpPeerInfo(event);
|
|
1344
1346
|
const addrs = info.ilpAddresses ?? [info.ilpAddress];
|
|
@@ -2240,4 +2242,4 @@ export {
|
|
|
2240
2242
|
PublishRejectedError,
|
|
2241
2243
|
registerRoutes
|
|
2242
2244
|
};
|
|
2243
|
-
//# sourceMappingURL=chunk-
|
|
2245
|
+
//# sourceMappingURL=chunk-E3Q7HVNQ.js.map
|