@singi-labs/sifa-sdk 0.11.10 → 0.11.12

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.
@@ -373,6 +373,16 @@ function createEndorsement(config, data, options = {}) {
373
373
  return apiWriteCreate(config, "/api/endorsements", data, options);
374
374
  }
375
375
 
376
+ // src/query/fetchers/actor.ts
377
+ async function fetchResolveActor(config, handleOrDid, options = {}) {
378
+ const q = handleOrDid.trim().replace(/^@/, "");
379
+ if (!q) return null;
380
+ return apiFetchOrNull(config, `/api/actor/resolve?q=${encodeURIComponent(q)}`, {
381
+ cache: "no-store",
382
+ ...options
383
+ });
384
+ }
385
+
376
386
  // src/query/fetchers/keytrace-claims.ts
377
387
  function hideKeytraceClaim(config, rkey, options = {}) {
378
388
  return apiWrite(
@@ -2426,6 +2436,7 @@ exports.fetchNetworkMap = fetchNetworkMap;
2426
2436
  exports.fetchNetworkStreamCount = fetchNetworkStreamCount;
2427
2437
  exports.fetchProfile = fetchProfile;
2428
2438
  exports.fetchReactionStatus = fetchReactionStatus;
2439
+ exports.fetchResolveActor = fetchResolveActor;
2429
2440
  exports.fetchRoadmapVotes = fetchRoadmapVotes;
2430
2441
  exports.fetchSearchFilters = fetchSearchFilters;
2431
2442
  exports.fetchSearchProfiles = fetchSearchProfiles;