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.
This commit is contained in:
Ricardo
2026-02-19 00:27:53 +01:00
parent 43549c6334
commit cd587282f2
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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",