@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.
@@ -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-ALMTQYYJ.js";
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-WMZJQSSA.js.map
2245
+ //# sourceMappingURL=chunk-E3Q7HVNQ.js.map