@atproto/bsky 0.0.17 → 0.0.18
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/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -139643,7 +139643,7 @@ function searchActorsTypeahead_default(server, ctx) {
|
|
|
139643
139643
|
const res = query ? await getUserSearchQuerySimple(db, { query, limit }).selectAll("actor").execute() : [];
|
|
139644
139644
|
results = res.map((a) => a.did);
|
|
139645
139645
|
}
|
|
139646
|
-
const actors = await ctx.services.actor(db).views.profilesBasic(results, requester
|
|
139646
|
+
const actors = await ctx.services.actor(db).views.profilesBasic(results, requester);
|
|
139647
139647
|
const SKIP = [];
|
|
139648
139648
|
const filtered = results.flatMap((did2) => {
|
|
139649
139649
|
const actor = actors[did2];
|
|
@@ -143869,7 +143869,7 @@ var ActorViews = class {
|
|
|
143869
143869
|
viewer,
|
|
143870
143870
|
includeSoftDeleted: opts?.includeSoftDeleted
|
|
143871
143871
|
});
|
|
143872
|
-
return this.profileBasicPresentation(dids, hydrated, viewer
|
|
143872
|
+
return this.profileBasicPresentation(dids, hydrated, viewer);
|
|
143873
143873
|
}
|
|
143874
143874
|
async profilesList(results, viewer, opts) {
|
|
143875
143875
|
const profiles = await this.profiles(results, viewer, opts);
|
|
@@ -144029,7 +144029,7 @@ var ActorViews = class {
|
|
|
144029
144029
|
return acc;
|
|
144030
144030
|
}, {});
|
|
144031
144031
|
}
|
|
144032
|
-
profileBasicPresentation(dids, state, viewer
|
|
144032
|
+
profileBasicPresentation(dids, state, viewer) {
|
|
144033
144033
|
const result = this.profilePresentation(dids, state, viewer);
|
|
144034
144034
|
return Object.values(result).reduce((acc, prof) => {
|
|
144035
144035
|
const profileBasic = {
|
|
@@ -144038,7 +144038,7 @@ var ActorViews = class {
|
|
|
144038
144038
|
displayName: prof.displayName,
|
|
144039
144039
|
avatar: prof.avatar,
|
|
144040
144040
|
viewer: prof.viewer,
|
|
144041
|
-
labels:
|
|
144041
|
+
labels: prof.labels
|
|
144042
144042
|
};
|
|
144043
144043
|
acc[prof.did] = profileBasic;
|
|
144044
144044
|
return acc;
|