@rmdes/indiekit-endpoint-activitypub 3.11.7 → 3.11.8

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.
@@ -169,7 +169,7 @@ router.get("/api/v1/timelines/public", async (req, res, next) => {
169
169
  ));
170
170
  }
171
171
 
172
- const replyIdMap = await resolveReplyIds(collections.ap_timeline, items);
172
+ const { replyIdMap: rIdMap, replyAccountIdMap: rAcctMap } = await resolveReplyIds(collections.ap_timeline, items);
173
173
 
174
174
  const statuses = items.map((item) =>
175
175
  serializeStatus(item, {
@@ -178,7 +178,8 @@ router.get("/api/v1/timelines/public", async (req, res, next) => {
178
178
  rebloggedIds,
179
179
  bookmarkedIds,
180
180
  pinnedIds: new Set(),
181
- replyIdMap,
181
+ replyIdMap: rIdMap,
182
+ replyAccountIdMap: rAcctMap,
182
183
  }),
183
184
  );
184
185
 
@@ -235,7 +236,7 @@ router.get("/api/v1/timelines/tag/:hashtag", async (req, res, next) => {
235
236
  ));
236
237
  }
237
238
 
238
- const replyIdMap = await resolveReplyIds(collections.ap_timeline, items);
239
+ const { replyIdMap: rIdMap, replyAccountIdMap: rAcctMap } = await resolveReplyIds(collections.ap_timeline, items);
239
240
 
240
241
  const statuses = items.map((item) =>
241
242
  serializeStatus(item, {
@@ -244,7 +245,8 @@ router.get("/api/v1/timelines/tag/:hashtag", async (req, res, next) => {
244
245
  rebloggedIds,
245
246
  bookmarkedIds,
246
247
  pinnedIds: new Set(),
247
- replyIdMap,
248
+ replyIdMap: rIdMap,
249
+ replyAccountIdMap: rAcctMap,
248
250
  }),
249
251
  );
250
252
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-endpoint-activitypub",
3
- "version": "3.11.7",
3
+ "version": "3.11.8",
4
4
  "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.",
5
5
  "keywords": [
6
6
  "indiekit",