@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
@@ -1,5 +1,12 @@
1
1
  # @atproto/bsky
2
2
 
3
+ ## 0.0.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`60deea17`](https://github.com/bluesky-social/atproto/commit/60deea17622f7c574c18432a55ced4e1cdc1b3a1)]:
8
+ - @atproto/api@0.7.1
9
+
3
10
  ## 0.0.17
4
11
 
5
12
  ### Patch Changes
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, { omitLabels: true });
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, opts);
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, opts) {
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: opts?.omitLabels ? void 0 : prof.labels
144041
+ labels: prof.labels
144042
144042
  };
144043
144043
  acc[prof.did] = profileBasic;
144044
144044
  return acc;