@fedify/fedify 1.9.0-pr.368.1371 → 1.9.0-pr.368.1414

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.
Files changed (97) hide show
  1. package/dist/{actor-D-qBTZ0l.js → actor-C6TtPNno.js} +1 -1
  2. package/dist/{actor-idlqB9I6.js → actor-C9E9JfyW.js} +1299 -179
  3. package/dist/{actor-Uh1YDuVl.d.ts → actor-Ch5yFYFG.d.ts} +1 -1
  4. package/dist/{authdocloader-BST0EDTq.js → authdocloader-Bbf5ePG_.js} +3 -3
  5. package/dist/{authdocloader-Bu4c3-Om.js → authdocloader-Bu1v35GO.js} +3 -3
  6. package/dist/{builder-Drq4UDlC.js → builder-BpUfY8gt.js} +4 -4
  7. package/dist/{client-CUnyOazH.js → client-C0GY8TFm.js} +1 -1
  8. package/dist/compat/mod.d.ts +7 -7
  9. package/dist/compat/transformers.test.js +16 -16
  10. package/dist/{context-CnveeHUR.d.ts → context-DJQB_Zv4.d.ts} +5 -5
  11. package/dist/{docloader-C3nBypfa.js → docloader-CLZBsj97.js} +35 -1
  12. package/dist/{esm-CiGS-Q4E.js → esm-BWUNBdJb.js} +1 -1
  13. package/dist/federation/builder.test.js +5 -5
  14. package/dist/federation/collection.test.js +3 -3
  15. package/dist/federation/handler.test.js +17 -17
  16. package/dist/federation/inbox.test.js +4 -4
  17. package/dist/federation/keycache.test.js +4 -4
  18. package/dist/federation/kv.test.js +3 -3
  19. package/dist/federation/middleware.test.js +18 -18
  20. package/dist/federation/mod.d.ts +6 -6
  21. package/dist/federation/mod.js +10 -10
  22. package/dist/federation/mq.test.js +3 -3
  23. package/dist/federation/retry.test.js +3 -3
  24. package/dist/federation/router.test.js +3 -3
  25. package/dist/federation/send.test.js +10 -10
  26. package/dist/{http-CmwC0qj9.js → http-BVyqdr35.js} +3 -3
  27. package/dist/{http-DtG44GdM.d.ts → http-D8Q4xH0d.d.ts} +1 -1
  28. package/dist/{http-CYHx0yFw.js → http-hhr9gNlF.js} +2 -2
  29. package/dist/{inbox-AiCg2D0b.js → inbox-BKavHd3T.js} +1 -1
  30. package/dist/{key-aKu6Nf-t.js → key-Caq1tSr0.js} +2 -2
  31. package/dist/{key-B7HslTW_.js → key-DdqGxxXa.js} +3 -3
  32. package/dist/{key-DbimRLlY.js → key-Nl1rrIlu.js} +2 -2
  33. package/dist/{key-DkoH0FxB.js → key-aKApZqE4.js} +4 -4
  34. package/dist/{keycache-0TDXf-le.js → keycache-BGluLIIJ.js} +1 -1
  35. package/dist/{keys-BwD2CCAZ.js → keys-WBOEzSP1.js} +1 -1
  36. package/dist/{ld-CTfTmk1V.js → ld-BV3ahWvO.js} +2 -2
  37. package/dist/{lookup-S_hk8O6Y.js → lookup-BD5u0sKx.js} +1 -1
  38. package/dist/{lookup-BWvmIobg.js → lookup-CzKILSJp.js} +1 -1
  39. package/dist/middleware-BEcrMI5K.js +26 -0
  40. package/dist/middleware-CHKUZBsl.js +17 -0
  41. package/dist/{middleware-CUAiNGZd.js → middleware-DXQbGIjz.js} +17 -18
  42. package/dist/{middleware-Dbeezsec.js → middleware-aXr_9yVu.js} +14 -15
  43. package/dist/{mod-tQVUxQ_D.d.ts → mod-B7Pc0I7F.d.ts} +2 -2
  44. package/dist/{mod-mSMqo9JU.d.ts → mod-BAuhKa9d.d.ts} +1 -1
  45. package/dist/{mod-cz-tNIqP.d.ts → mod-Cy6pkZSn.d.ts} +1 -1
  46. package/dist/{mod-DPpunL8j.d.ts → mod-eBo9RUEr.d.ts} +2 -2
  47. package/dist/mod.d.ts +9 -9
  48. package/dist/mod.js +10 -10
  49. package/dist/nodeinfo/client.test.js +5 -5
  50. package/dist/nodeinfo/handler.test.js +16 -16
  51. package/dist/nodeinfo/mod.js +2 -2
  52. package/dist/nodeinfo/semver.test.js +3 -3
  53. package/dist/nodeinfo/types.test.js +3 -3
  54. package/dist/{owner-BeI9Luoy.js → owner-B9iD1gt2.js} +2 -2
  55. package/dist/{owner-C12klfeG.d.ts → owner-D38zBIMc.d.ts} +2 -2
  56. package/dist/{proof-C4DhTcmc.js → proof-BBrRWqe1.js} +2 -2
  57. package/dist/{proof-DCJW-YO_.js → proof-Daiwn5tC.js} +3 -3
  58. package/dist/runtime/authdocloader.test.js +9 -9
  59. package/dist/runtime/docloader.test.js +4 -4
  60. package/dist/runtime/key.test.js +5 -5
  61. package/dist/runtime/langstr.test.js +3 -3
  62. package/dist/runtime/mod.d.ts +3 -3
  63. package/dist/runtime/mod.js +6 -6
  64. package/dist/runtime/multibase/multibase.test.js +3 -3
  65. package/dist/runtime/url.test.js +3 -3
  66. package/dist/{send-BKd05HRg.js → send-IceRRi7z.js} +2 -2
  67. package/dist/sig/http.test.js +8 -8
  68. package/dist/sig/key.test.js +6 -6
  69. package/dist/sig/ld.test.js +7 -7
  70. package/dist/sig/mod.d.ts +5 -5
  71. package/dist/sig/mod.js +6 -6
  72. package/dist/sig/owner.test.js +7 -7
  73. package/dist/sig/proof.test.js +7 -7
  74. package/dist/src/vocab/collection.yaml +72 -0
  75. package/dist/testing/docloader.test.js +3 -3
  76. package/dist/testing/mod.d.ts +176 -0
  77. package/dist/testing/mod.js +3 -3
  78. package/dist/{testing-DiO6-LlI.js → testing-DWdH0cT2.js} +2 -2
  79. package/dist/{type-DOTI2mBE.js → type-Dt_iFUwe.js} +1408 -254
  80. package/dist/{types-DF658rt4.js → types-CMU07SSK.js} +1 -1
  81. package/dist/vocab/actor.test.js +5 -5
  82. package/dist/vocab/lookup.test.js +4 -4
  83. package/dist/vocab/mod.d.ts +3 -3
  84. package/dist/vocab/mod.js +4 -4
  85. package/dist/vocab/type.test.js +3 -3
  86. package/dist/vocab/vocab.test.js +14 -4
  87. package/dist/{vocab-Ukxjz3TM.d.ts → vocab-BEEm2I6u.d.ts} +176 -0
  88. package/dist/{vocab-BvgUIRRb.js → vocab-BG5Ii0iT.js} +3 -3
  89. package/dist/webfinger/handler.test.js +16 -16
  90. package/dist/webfinger/lookup.test.js +4 -4
  91. package/dist/webfinger/mod.js +2 -2
  92. package/dist/x/cfworkers.test.js +3 -3
  93. package/dist/x/hono.d.ts +6 -6
  94. package/dist/x/sveltekit.d.ts +6 -6
  95. package/package.json +3 -3
  96. package/dist/middleware-BRdeqtCU.js +0 -26
  97. package/dist/middleware-Cf7B3QCg.js +0 -17
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { getUserAgent } from "./docloader-C3nBypfa.js";
5
+ import { getUserAgent } from "./docloader-CLZBsj97.js";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
 
8
8
  //#region src/nodeinfo/semver.ts
@@ -3,19 +3,19 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Application, Group, Organization, Person, Service, __export } from "../type-DOTI2mBE.js";
6
+ import { Application, Group, Organization, Person, Service, __export } from "../type-Dt_iFUwe.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-BWvmIobg.js";
11
- import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-D-qBTZ0l.js";
12
- import { test } from "../testing-DiO6-LlI.js";
10
+ import "../lookup-CzKILSJp.js";
11
+ import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-C6TtPNno.js";
12
+ import { test } from "../testing-DWdH0cT2.js";
13
13
  import { assertStrictEquals } from "../std__assert-X-_kMxKM.js";
14
14
  import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
15
15
  import "../assert_is_error-BPGph1Jx.js";
16
16
  import "../assert_not_equals-f3m3epl3.js";
17
17
  import { assertThrows } from "../assert_throws-BOO88avQ.js";
18
- import { esm_default } from "../esm-CiGS-Q4E.js";
18
+ import { esm_default } from "../esm-BWUNBdJb.js";
19
19
 
20
20
  //#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
21
21
  var PreconditionFailure = class PreconditionFailure extends Error {
@@ -3,18 +3,18 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Collection, Note, Object as Object$1, Person } from "../type-DOTI2mBE.js";
6
+ import { Collection, Note, Object as Object$1, Person } from "../type-Dt_iFUwe.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
- import { lookupObject, traverseCollection } from "../lookup-BWvmIobg.js";
11
- import { mockDocumentLoader, test } from "../testing-DiO6-LlI.js";
10
+ import { lookupObject, traverseCollection } from "../lookup-CzKILSJp.js";
11
+ import { mockDocumentLoader, test } from "../testing-DWdH0cT2.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
15
15
  import "../assert_not_equals-f3m3epl3.js";
16
16
  import "../assert_throws-BOO88avQ.js";
17
- import { esm_default } from "../esm-CiGS-Q4E.js";
17
+ import { esm_default } from "../esm-BWUNBdJb.js";
18
18
 
19
19
  //#region src/vocab/lookup.test.ts
20
20
  test("lookupObject()", {
@@ -2,7 +2,7 @@ import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
3
  import "../kv-C7sopW2E.js";
4
4
  import "../docloader-CxWcuWqQ.js";
5
- import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-Ukxjz3TM.js";
6
- import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-Uh1YDuVl.js";
7
- import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-cz-tNIqP.js";
5
+ import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-BEEm2I6u.js";
6
+ import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-Ch5yFYFG.js";
7
+ import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-Cy6pkZSn.js";
8
8
  export { Accept, Activity, Actor, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
package/dist/vocab/mod.js CHANGED
@@ -2,9 +2,9 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../docloader-C3nBypfa.js";
6
- import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-idlqB9I6.js";
7
- import "../lookup-S_hk8O6Y.js";
8
- import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-BvgUIRRb.js";
5
+ import "../docloader-CLZBsj97.js";
6
+ import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-C9E9JfyW.js";
7
+ import "../lookup-BD5u0sKx.js";
8
+ import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-BG5Ii0iT.js";
9
9
 
10
10
  export { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
@@ -3,10 +3,10 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Person, getTypeId } from "../type-DOTI2mBE.js";
6
+ import { Person, getTypeId } from "../type-Dt_iFUwe.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
- import "../lookup-BWvmIobg.js";
9
- import { test } from "../testing-DiO6-LlI.js";
8
+ import "../lookup-CzKILSJp.js";
9
+ import { test } from "../testing-DWdH0cT2.js";
10
10
 
11
11
  //#region src/vocab/type.test.ts
12
12
  test("getTypeId()", () => {
@@ -3,18 +3,18 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, LanguageString, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, decode, vocab_exports } from "../type-DOTI2mBE.js";
6
+ import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, LanguageString, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, decode, vocab_exports } from "../type-Dt_iFUwe.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-BWvmIobg.js";
11
- import { mockDocumentLoader, test } from "../testing-DiO6-LlI.js";
10
+ import "../lookup-CzKILSJp.js";
11
+ import { mockDocumentLoader, test } from "../testing-DWdH0cT2.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
15
15
  import { assertNotEquals } from "../assert_not_equals-f3m3epl3.js";
16
16
  import { assertThrows } from "../assert_throws-BOO88avQ.js";
17
- import { ed25519PublicKey, rsaPublicKey1 } from "../keys-BwD2CCAZ.js";
17
+ import { ed25519PublicKey, rsaPublicKey1 } from "../keys-WBOEzSP1.js";
18
18
  import { pascalCase } from "es-toolkit";
19
19
  import { parseLanguageTag } from "@phensley/language-tag";
20
20
  import { Validator } from "@cfworker/json-schema";
@@ -2888,6 +2888,16 @@ test("Person.toJsonLd()", async () => {
2888
2888
  type: "Person"
2889
2889
  });
2890
2890
  });
2891
+ test("Collection.fromJsonLd()", async () => {
2892
+ const collection = await Collection.fromJsonLd({
2893
+ "@context": ["https://www.w3.org/ns/activitystreams", "https://w3id.org/fep/5711"],
2894
+ "type": "Collection",
2895
+ "id": "https://example.com/collection/jzc50wc28l",
2896
+ "inboxOf": "https://example.com/person/bup9a8eqm"
2897
+ });
2898
+ assertEquals(collection.id, new URL("https://example.com/collection/jzc50wc28l"));
2899
+ assertEquals(collection.inboxOfId, new URL("https://example.com/person/bup9a8eqm"));
2900
+ });
2891
2901
  test("Note.quoteUrl", async () => {
2892
2902
  const note = new Note({ quoteUrl: new URL("https://example.com/object") });
2893
2903
  const expected = {
@@ -4831,6 +4831,14 @@ declare class Collection extends Object$1 {
4831
4831
  first?: CollectionPage | URL | null;
4832
4832
  last?: CollectionPage | URL | null;
4833
4833
  items?: (Object$1 | Link | URL)[];
4834
+ likesOf?: Object$1 | URL | null;
4835
+ sharesOf?: Object$1 | URL | null;
4836
+ repliesOf?: Object$1 | URL | null;
4837
+ inboxOf?: Object$1 | URL | null;
4838
+ outboxOf?: Object$1 | URL | null;
4839
+ followersOf?: Object$1 | URL | null;
4840
+ followingOf?: Object$1 | URL | null;
4841
+ likedOf?: Object$1 | URL | null;
4834
4842
  }, options?: {
4835
4843
  documentLoader?: DocumentLoader;
4836
4844
  contextLoader?: DocumentLoader;
@@ -4897,6 +4905,14 @@ declare class Collection extends Object$1 {
4897
4905
  first?: CollectionPage | URL | null;
4898
4906
  last?: CollectionPage | URL | null;
4899
4907
  items?: (Object$1 | Link | URL)[];
4908
+ likesOf?: Object$1 | URL | null;
4909
+ sharesOf?: Object$1 | URL | null;
4910
+ repliesOf?: Object$1 | URL | null;
4911
+ inboxOf?: Object$1 | URL | null;
4912
+ outboxOf?: Object$1 | URL | null;
4913
+ followersOf?: Object$1 | URL | null;
4914
+ followingOf?: Object$1 | URL | null;
4915
+ likedOf?: Object$1 | URL | null;
4900
4916
  }, options?: {
4901
4917
  documentLoader?: DocumentLoader;
4902
4918
  contextLoader?: DocumentLoader;
@@ -4966,6 +4982,118 @@ declare class Collection extends Object$1 {
4966
4982
  suppressError?: boolean;
4967
4983
  tracerProvider?: TracerProvider;
4968
4984
  }): AsyncIterable<Object$1 | Link>;
4985
+ /**
4986
+ * Similar to
4987
+ * {@link Collection.getLikesOf},
4988
+ * but returns its `@id` URL instead of the object itself.
4989
+ */
4990
+ get likesOfId(): URL | null;
4991
+ /** Defines an object for which the collection is the value of the likes property.
4992
+ */
4993
+ getLikesOf(options?: {
4994
+ documentLoader?: DocumentLoader;
4995
+ contextLoader?: DocumentLoader;
4996
+ suppressError?: boolean;
4997
+ tracerProvider?: TracerProvider;
4998
+ }): Promise<Object$1 | null>;
4999
+ /**
5000
+ * Similar to
5001
+ * {@link Collection.getSharesOf},
5002
+ * but returns its `@id` URL instead of the object itself.
5003
+ */
5004
+ get sharesOfId(): URL | null;
5005
+ /** Defines an object for which the collection is the value of the shares property.
5006
+ */
5007
+ getSharesOf(options?: {
5008
+ documentLoader?: DocumentLoader;
5009
+ contextLoader?: DocumentLoader;
5010
+ suppressError?: boolean;
5011
+ tracerProvider?: TracerProvider;
5012
+ }): Promise<Object$1 | null>;
5013
+ /**
5014
+ * Similar to
5015
+ * {@link Collection.getRepliesOf},
5016
+ * but returns its `@id` URL instead of the object itself.
5017
+ */
5018
+ get repliesOfId(): URL | null;
5019
+ /** Defines an object for which the collection is the value of the replies property.
5020
+ */
5021
+ getRepliesOf(options?: {
5022
+ documentLoader?: DocumentLoader;
5023
+ contextLoader?: DocumentLoader;
5024
+ suppressError?: boolean;
5025
+ tracerProvider?: TracerProvider;
5026
+ }): Promise<Object$1 | null>;
5027
+ /**
5028
+ * Similar to
5029
+ * {@link Collection.getInboxOf},
5030
+ * but returns its `@id` URL instead of the object itself.
5031
+ */
5032
+ get inboxOfId(): URL | null;
5033
+ /** Defines an actor for which the collection is the value of the inbox property.
5034
+ */
5035
+ getInboxOf(options?: {
5036
+ documentLoader?: DocumentLoader;
5037
+ contextLoader?: DocumentLoader;
5038
+ suppressError?: boolean;
5039
+ tracerProvider?: TracerProvider;
5040
+ }): Promise<Object$1 | null>;
5041
+ /**
5042
+ * Similar to
5043
+ * {@link Collection.getOutboxOf},
5044
+ * but returns its `@id` URL instead of the object itself.
5045
+ */
5046
+ get outboxOfId(): URL | null;
5047
+ /** Defines an actor for which the collection is the value of the outbox property.
5048
+ */
5049
+ getOutboxOf(options?: {
5050
+ documentLoader?: DocumentLoader;
5051
+ contextLoader?: DocumentLoader;
5052
+ suppressError?: boolean;
5053
+ tracerProvider?: TracerProvider;
5054
+ }): Promise<Object$1 | null>;
5055
+ /**
5056
+ * Similar to
5057
+ * {@link Collection.getFollowersOf},
5058
+ * but returns its `@id` URL instead of the object itself.
5059
+ */
5060
+ get followersOfId(): URL | null;
5061
+ /** Defines an actor for which the collection is the value of the followers property.
5062
+ */
5063
+ getFollowersOf(options?: {
5064
+ documentLoader?: DocumentLoader;
5065
+ contextLoader?: DocumentLoader;
5066
+ suppressError?: boolean;
5067
+ tracerProvider?: TracerProvider;
5068
+ }): Promise<Object$1 | null>;
5069
+ /**
5070
+ * Similar to
5071
+ * {@link Collection.getFollowingOf},
5072
+ * but returns its `@id` URL instead of the object itself.
5073
+ */
5074
+ get followingOfId(): URL | null;
5075
+ /** Defines an actor for which the collection is the value of the following property.
5076
+ */
5077
+ getFollowingOf(options?: {
5078
+ documentLoader?: DocumentLoader;
5079
+ contextLoader?: DocumentLoader;
5080
+ suppressError?: boolean;
5081
+ tracerProvider?: TracerProvider;
5082
+ }): Promise<Object$1 | null>;
5083
+ /**
5084
+ * Similar to
5085
+ * {@link Collection.getLikedOf},
5086
+ * but returns its `@id` URL instead of the object itself.
5087
+ */
5088
+ get likedOfId(): URL | null;
5089
+ /** Defines an actor for which the collection is the value of the liked property.
5090
+ */
5091
+ getLikedOf(options?: {
5092
+ documentLoader?: DocumentLoader;
5093
+ contextLoader?: DocumentLoader;
5094
+ suppressError?: boolean;
5095
+ tracerProvider?: TracerProvider;
5096
+ }): Promise<Object$1 | null>;
4969
5097
  /**
4970
5098
  * Converts this object to a JSON-LD structure.
4971
5099
  * @param options The options to use.
@@ -5075,6 +5203,14 @@ declare class CollectionPage extends Collection {
5075
5203
  first?: CollectionPage | URL | null;
5076
5204
  last?: CollectionPage | URL | null;
5077
5205
  items?: (Object$1 | Link | URL)[];
5206
+ likesOf?: Object$1 | URL | null;
5207
+ sharesOf?: Object$1 | URL | null;
5208
+ repliesOf?: Object$1 | URL | null;
5209
+ inboxOf?: Object$1 | URL | null;
5210
+ outboxOf?: Object$1 | URL | null;
5211
+ followersOf?: Object$1 | URL | null;
5212
+ followingOf?: Object$1 | URL | null;
5213
+ likedOf?: Object$1 | URL | null;
5078
5214
  partOf?: Collection | URL | null;
5079
5215
  next?: CollectionPage | URL | null;
5080
5216
  prev?: CollectionPage | URL | null;
@@ -5144,6 +5280,14 @@ declare class CollectionPage extends Collection {
5144
5280
  first?: CollectionPage | URL | null;
5145
5281
  last?: CollectionPage | URL | null;
5146
5282
  items?: (Object$1 | Link | URL)[];
5283
+ likesOf?: Object$1 | URL | null;
5284
+ sharesOf?: Object$1 | URL | null;
5285
+ repliesOf?: Object$1 | URL | null;
5286
+ inboxOf?: Object$1 | URL | null;
5287
+ outboxOf?: Object$1 | URL | null;
5288
+ followersOf?: Object$1 | URL | null;
5289
+ followingOf?: Object$1 | URL | null;
5290
+ likedOf?: Object$1 | URL | null;
5147
5291
  partOf?: Collection | URL | null;
5148
5292
  next?: CollectionPage | URL | null;
5149
5293
  prev?: CollectionPage | URL | null;
@@ -9165,6 +9309,14 @@ declare class OrderedCollection extends Collection {
9165
9309
  current?: CollectionPage | URL | null;
9166
9310
  first?: CollectionPage | URL | null;
9167
9311
  last?: CollectionPage | URL | null;
9312
+ likesOf?: Object$1 | URL | null;
9313
+ sharesOf?: Object$1 | URL | null;
9314
+ repliesOf?: Object$1 | URL | null;
9315
+ inboxOf?: Object$1 | URL | null;
9316
+ outboxOf?: Object$1 | URL | null;
9317
+ followersOf?: Object$1 | URL | null;
9318
+ followingOf?: Object$1 | URL | null;
9319
+ likedOf?: Object$1 | URL | null;
9168
9320
  items?: (Object$1 | Link | URL)[];
9169
9321
  }, options?: {
9170
9322
  documentLoader?: DocumentLoader;
@@ -9231,6 +9383,14 @@ declare class OrderedCollection extends Collection {
9231
9383
  current?: CollectionPage | URL | null;
9232
9384
  first?: CollectionPage | URL | null;
9233
9385
  last?: CollectionPage | URL | null;
9386
+ likesOf?: Object$1 | URL | null;
9387
+ sharesOf?: Object$1 | URL | null;
9388
+ repliesOf?: Object$1 | URL | null;
9389
+ inboxOf?: Object$1 | URL | null;
9390
+ outboxOf?: Object$1 | URL | null;
9391
+ followersOf?: Object$1 | URL | null;
9392
+ followingOf?: Object$1 | URL | null;
9393
+ likedOf?: Object$1 | URL | null;
9234
9394
  items?: (Object$1 | Link | URL)[];
9235
9395
  }, options?: {
9236
9396
  documentLoader?: DocumentLoader;
@@ -9359,6 +9519,14 @@ declare class OrderedCollectionPage extends CollectionPage {
9359
9519
  current?: CollectionPage | URL | null;
9360
9520
  first?: CollectionPage | URL | null;
9361
9521
  last?: CollectionPage | URL | null;
9522
+ likesOf?: Object$1 | URL | null;
9523
+ sharesOf?: Object$1 | URL | null;
9524
+ repliesOf?: Object$1 | URL | null;
9525
+ inboxOf?: Object$1 | URL | null;
9526
+ outboxOf?: Object$1 | URL | null;
9527
+ followersOf?: Object$1 | URL | null;
9528
+ followingOf?: Object$1 | URL | null;
9529
+ likedOf?: Object$1 | URL | null;
9362
9530
  partOf?: Collection | URL | null;
9363
9531
  next?: CollectionPage | URL | null;
9364
9532
  prev?: CollectionPage | URL | null;
@@ -9429,6 +9597,14 @@ declare class OrderedCollectionPage extends CollectionPage {
9429
9597
  current?: CollectionPage | URL | null;
9430
9598
  first?: CollectionPage | URL | null;
9431
9599
  last?: CollectionPage | URL | null;
9600
+ likesOf?: Object$1 | URL | null;
9601
+ sharesOf?: Object$1 | URL | null;
9602
+ repliesOf?: Object$1 | URL | null;
9603
+ inboxOf?: Object$1 | URL | null;
9604
+ outboxOf?: Object$1 | URL | null;
9605
+ followersOf?: Object$1 | URL | null;
9606
+ followingOf?: Object$1 | URL | null;
9607
+ likedOf?: Object$1 | URL | null;
9432
9608
  partOf?: Collection | URL | null;
9433
9609
  next?: CollectionPage | URL | null;
9434
9610
  prev?: CollectionPage | URL | null;
@@ -2,9 +2,9 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { deno_default, getDocumentLoader } from "./docloader-C3nBypfa.js";
6
- import { Object as Object$1, getTypeId } from "./actor-idlqB9I6.js";
7
- import { lookupWebFinger } from "./lookup-S_hk8O6Y.js";
5
+ import { deno_default, getDocumentLoader } from "./docloader-CLZBsj97.js";
6
+ import { Object as Object$1, getTypeId } from "./actor-C9E9JfyW.js";
7
+ import { lookupWebFinger } from "./lookup-BD5u0sKx.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { SpanStatusCode, trace } from "@opentelemetry/api";
10
10
  import { delay } from "es-toolkit";
@@ -3,30 +3,30 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Image, Link, Person } from "../type-DOTI2mBE.js";
6
+ import { Image, Link, Person } from "../type-Dt_iFUwe.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-CRZrzyXm.js";
11
- import { createFederation, handleWebFinger } from "../middleware-CUAiNGZd.js";
11
+ import { createFederation, handleWebFinger } from "../middleware-DXQbGIjz.js";
12
12
  import "../semver-dArNLkR9.js";
13
- import "../client-CUnyOazH.js";
14
- import "../lookup-BWvmIobg.js";
13
+ import "../client-C0GY8TFm.js";
14
+ import "../lookup-CzKILSJp.js";
15
15
  import "../types-BIgY6c-l.js";
16
- import "../actor-D-qBTZ0l.js";
17
- import "../key-aKu6Nf-t.js";
18
- import "../http-CYHx0yFw.js";
19
- import "../authdocloader-BST0EDTq.js";
20
- import "../ld-CTfTmk1V.js";
21
- import "../owner-BeI9Luoy.js";
22
- import "../proof-C4DhTcmc.js";
23
- import "../inbox-AiCg2D0b.js";
24
- import "../builder-Drq4UDlC.js";
16
+ import "../actor-C6TtPNno.js";
17
+ import "../key-Caq1tSr0.js";
18
+ import "../http-hhr9gNlF.js";
19
+ import "../authdocloader-Bbf5ePG_.js";
20
+ import "../ld-BV3ahWvO.js";
21
+ import "../owner-B9iD1gt2.js";
22
+ import "../proof-BBrRWqe1.js";
23
+ import "../inbox-BKavHd3T.js";
24
+ import "../builder-BpUfY8gt.js";
25
25
  import "../collection-CSzG2j1P.js";
26
- import "../keycache-0TDXf-le.js";
26
+ import "../keycache-BGluLIIJ.js";
27
27
  import "../retry-D4GJ670a.js";
28
- import "../send-BKd05HRg.js";
29
- import { createRequestContext, test } from "../testing-DiO6-LlI.js";
28
+ import "../send-IceRRi7z.js";
29
+ import { createRequestContext, test } from "../testing-DWdH0cT2.js";
30
30
  import "../std__assert-X-_kMxKM.js";
31
31
  import "../assert_rejects-DiIiJbZn.js";
32
32
  import "../assert_is_error-BPGph1Jx.js";
@@ -3,18 +3,18 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { lookupWebFinger } from "../type-DOTI2mBE.js";
6
+ import { lookupWebFinger } from "../type-Dt_iFUwe.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-BWvmIobg.js";
11
- import { test } from "../testing-DiO6-LlI.js";
10
+ import "../lookup-CzKILSJp.js";
11
+ import { test } from "../testing-DWdH0cT2.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
15
15
  import "../assert_not_equals-f3m3epl3.js";
16
16
  import "../assert_throws-BOO88avQ.js";
17
- import { esm_default } from "../esm-CiGS-Q4E.js";
17
+ import { esm_default } from "../esm-BWUNBdJb.js";
18
18
  import { withTimeout } from "es-toolkit";
19
19
 
20
20
  //#region src/webfinger/lookup.test.ts
@@ -2,8 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../docloader-C3nBypfa.js";
6
- import { lookupWebFinger } from "../lookup-S_hk8O6Y.js";
5
+ import "../docloader-CLZBsj97.js";
6
+ import { lookupWebFinger } from "../lookup-BD5u0sKx.js";
7
7
  import "../webfinger-C3GIyXIg.js";
8
8
 
9
9
  export { lookupWebFinger };
@@ -3,12 +3,12 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../type-DOTI2mBE.js";
6
+ import "../type-Dt_iFUwe.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-BWvmIobg.js";
11
- import { test } from "../testing-DiO6-LlI.js";
10
+ import "../lookup-CzKILSJp.js";
11
+ import { test } from "../testing-DWdH0cT2.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
package/dist/x/hono.d.ts CHANGED
@@ -3,13 +3,13 @@ import { URLPattern } from "urlpattern-polyfill";
3
3
  import "../kv-C7sopW2E.js";
4
4
  import "../docloader-CxWcuWqQ.js";
5
5
  import "../client-DF8anIB5.js";
6
- import "../vocab-Ukxjz3TM.js";
7
- import "../actor-Uh1YDuVl.js";
8
- import "../http-DtG44GdM.js";
9
- import "../owner-C12klfeG.js";
10
- import "../mod-cz-tNIqP.js";
6
+ import "../vocab-BEEm2I6u.js";
7
+ import "../actor-Ch5yFYFG.js";
8
+ import "../http-D8Q4xH0d.js";
9
+ import "../owner-D38zBIMc.js";
10
+ import "../mod-Cy6pkZSn.js";
11
11
  import "../lookup-3czM5mmU.js";
12
- import { Federation } from "../context-CnveeHUR.js";
12
+ import { Federation } from "../context-DJQB_Zv4.js";
13
13
  import "../mq-CRGm1e_F.js";
14
14
 
15
15
  //#region src/x/hono.d.ts
@@ -3,13 +3,13 @@ import { URLPattern } from "urlpattern-polyfill";
3
3
  import "../kv-C7sopW2E.js";
4
4
  import "../docloader-CxWcuWqQ.js";
5
5
  import "../client-DF8anIB5.js";
6
- import "../vocab-Ukxjz3TM.js";
7
- import "../actor-Uh1YDuVl.js";
8
- import "../http-DtG44GdM.js";
9
- import "../owner-C12klfeG.js";
10
- import "../mod-cz-tNIqP.js";
6
+ import "../vocab-BEEm2I6u.js";
7
+ import "../actor-Ch5yFYFG.js";
8
+ import "../http-D8Q4xH0d.js";
9
+ import "../owner-D38zBIMc.js";
10
+ import "../mod-Cy6pkZSn.js";
11
11
  import "../lookup-3czM5mmU.js";
12
- import { Federation } from "../context-CnveeHUR.js";
12
+ import { Federation } from "../context-DJQB_Zv4.js";
13
13
  import "../mq-CRGm1e_F.js";
14
14
 
15
15
  //#region src/x/sveltekit.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.9.0-pr.368.1371+4b4dc5f5",
3
+ "version": "1.9.0-pr.368.1414+2f1a39f5",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -120,13 +120,13 @@
120
120
  "@std/path": "npm:@jsr/std__path@^1.0.6",
121
121
  "@std/url": "npm:@jsr/std__url@1.0.0-rc.3",
122
122
  "@std/yaml": "npm:@jsr/std__yaml@^1.0.6",
123
- "@types/node": "^22.15.21",
123
+ "@types/node": "^24.2.1",
124
124
  "fast-check": "^3.22.0",
125
125
  "fetch-mock": "^12.5.2",
126
126
  "miniflare": "^4.20250523.0",
127
127
  "tsdown": "^0.12.9",
128
128
  "tsx": "^4.19.4",
129
- "typescript": "^5.8.3",
129
+ "typescript": "^5.9.2",
130
130
  "wrangler": "^4.17.0"
131
131
  },
132
132
  "scripts": {
@@ -1,26 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import "./type-DOTI2mBE.js";
7
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-CUAiNGZd.js";
8
- import "./semver-dArNLkR9.js";
9
- import "./client-CUnyOazH.js";
10
- import "./lookup-BWvmIobg.js";
11
- import "./types-BIgY6c-l.js";
12
- import "./actor-D-qBTZ0l.js";
13
- import "./key-aKu6Nf-t.js";
14
- import "./http-CYHx0yFw.js";
15
- import "./authdocloader-BST0EDTq.js";
16
- import "./ld-CTfTmk1V.js";
17
- import "./owner-BeI9Luoy.js";
18
- import "./proof-C4DhTcmc.js";
19
- import "./inbox-AiCg2D0b.js";
20
- import "./builder-Drq4UDlC.js";
21
- import "./collection-CSzG2j1P.js";
22
- import "./keycache-0TDXf-le.js";
23
- import "./retry-D4GJ670a.js";
24
- import "./send-BKd05HRg.js";
25
-
26
- export { FederationImpl };
@@ -1,17 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- import "./transformers-Dna8Fg7k.js";
6
- import "./docloader-C3nBypfa.js";
7
- import "./actor-idlqB9I6.js";
8
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-Dbeezsec.js";
9
- import "./lookup-S_hk8O6Y.js";
10
- import "./key-DbimRLlY.js";
11
- import "./http-CmwC0qj9.js";
12
- import "./proof-DCJW-YO_.js";
13
- import "./types-DF658rt4.js";
14
- import "./authdocloader-Bu4c3-Om.js";
15
- import "./vocab-BvgUIRRb.js";
16
-
17
- export { FederationImpl };