@rmdes/indiekit-endpoint-activitypub 2.0.15 → 2.0.16
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -952,8 +952,8 @@ export default class ActivityPubEndpoint {
|
|
|
952
952
|
|
|
953
953
|
// Drop non-sparse indexes if they exist (created by earlier versions),
|
|
954
954
|
// then recreate with sparse:true so multiple null values are allowed.
|
|
955
|
-
|
|
956
|
-
|
|
955
|
+
this._collections.ap_muted.dropIndex("url_1").catch(() => {});
|
|
956
|
+
this._collections.ap_muted.dropIndex("keyword_1").catch(() => {});
|
|
957
957
|
this._collections.ap_muted.createIndex(
|
|
958
958
|
{ url: 1 },
|
|
959
959
|
{ unique: true, sparse: true, background: true },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rmdes/indiekit-endpoint-activitypub",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.16",
|
|
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",
|