From cd587282f20c661bd78b5f033544167a02bbc92f Mon Sep 17 00:00:00 2001 From: Ricardo Date: Thu, 19 Feb 2026 00:27:53 +0100 Subject: [PATCH] fix: add options property to syndicator for Indiekit compatibility Indiekit's endpoint-posts accesses target.options.checked directly on syndicator objects. Upstream syndicators are class instances with this.options from the constructor. Our plain-object syndicator lacked this property, causing a 500 TypeError on post creation. --- index.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 6c60616..a7a92cb 100644 --- a/index.js +++ b/index.js @@ -284,6 +284,7 @@ export default class ActivityPubEndpoint { const self = this; return { name: "ActivityPub syndicator", + options: { checked: self.options.checked }, get info() { const hostname = self._publicationUrl diff --git a/package.json b/package.json index 5376648..9ee52a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rmdes/indiekit-endpoint-activitypub", - "version": "0.1.4", + "version": "0.1.5", "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.", "keywords": [ "indiekit",