@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.
- package/dist/{adult-content-B5hAdi76.d.cts → adult-content-BpZD_3ow.d.cts} +15 -1
- package/dist/{adult-content-B5hAdi76.d.ts → adult-content-BpZD_3ow.d.ts} +15 -1
- package/dist/index.cjs +44 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -12
- package/dist/index.d.ts +38 -12
- package/dist/index.js +44 -35
- package/dist/index.js.map +1 -1
- package/dist/{keys-_UjR-zwC.d.ts → keys-DuICaiIq.d.ts} +9 -6
- package/dist/{keys-qoNpril5.d.cts → keys-K8kCuA5J.d.cts} +9 -6
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +3 -3
- package/dist/query/fetchers/index.d.ts +3 -3
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +11 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +12 -4
- package/dist/query/index.d.ts +12 -4
- package/dist/query/index.js +11 -1
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +2 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +2 -0
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
package/dist/query/index.cjs
CHANGED
|
@@ -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;
|