@rmdes/indiekit-endpoint-activitypub 1.0.12 → 1.0.13
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/batch-refollow.js +4 -2
- package/package.json +1 -1
package/lib/batch-refollow.js
CHANGED
|
@@ -122,8 +122,10 @@ export async function getBatchRefollowStatus(collections) {
|
|
|
122
122
|
collections.ap_following.countDocuments({ source: "federation" }),
|
|
123
123
|
]);
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
// Include federated in totals — accounts transition from refollow:sent
|
|
126
|
+
// to federation when Accept arrives, so they must stay in the math
|
|
127
|
+
const total = remaining + sent + failed + federated;
|
|
128
|
+
const completed = sent + failed + federated;
|
|
127
129
|
const progressPercent =
|
|
128
130
|
total > 0 ? Math.round((completed / total) * 100) : 100;
|
|
129
131
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rmdes/indiekit-endpoint-activitypub",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
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",
|