@evanp/activitypub-bot 0.16.5 → 0.16.6

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/lib/botcontext.js CHANGED
@@ -475,7 +475,14 @@ export class BotContext {
475
475
  const recipients = this.#getRecipients(originalActivity)
476
476
  return await this.#doActivity({
477
477
  type: 'Undo',
478
- object: originalId,
478
+ object: {
479
+ id: originalId,
480
+ type,
481
+ object: {
482
+ id: obj.id,
483
+ type: obj.type
484
+ }
485
+ },
479
486
  ...recipients
480
487
  }, distribute)
481
488
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evanp/activitypub-bot",
3
- "version": "0.16.5",
3
+ "version": "0.16.6",
4
4
  "description": "server-side ActivityPub bot framework",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",