@fedify/fedify 1.8.1-pr.315.1091 → 1.8.1-pr.315.1276

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 (203) hide show
  1. package/README.md +16 -10
  2. package/dist/{actor-C_d9cZrz.js → actor-BT8uiycu.js} +2 -5
  3. package/dist/{actor-DLZ25ttS.js → actor-Bu8-7-Cs.js} +189 -189
  4. package/dist/{actor-1rvS-py8.d.ts → actor-CYyhXZHp.d.ts} +3 -3
  5. package/dist/{assert-DwEa6glZ.js → assert-MZs1qjMx.js} +2 -2
  6. package/dist/{assert_equals-C5gKCm6A.js → assert_equals-DSbWqCm3.js} +9 -9
  7. package/dist/{assert_instance_of-C9QtN-X9.js → assert_instance_of-DHz7EHNU.js} +2 -2
  8. package/dist/{assert_is_error-DQdKoRgb.js → assert_is_error-BPGph1Jx.js} +2 -2
  9. package/dist/{assert_not_equals-7pyUM3Ib.js → assert_not_equals-f3m3epl3.js} +2 -2
  10. package/dist/{assert_rejects-DceVjUlD.js → assert_rejects-DiIiJbZn.js} +4 -4
  11. package/dist/{assert_throws-DTDC_gwN.js → assert_throws-BOO88avQ.js} +3 -3
  12. package/dist/{authdocloader-CLixqGPW.js → authdocloader-D2Tt9QZj.js} +4 -4
  13. package/dist/{authdocloader-DUnUXs5R.js → authdocloader-fommx_n6.js} +4 -5
  14. package/dist/{builder-Js_TKEl1.js → builder-D249tBK0.js} +75 -6
  15. package/dist/{client-DK4qnXK0.d.ts → client-B_KFjN3D.d.ts} +4 -4
  16. package/dist/{client-Cu9HMcIJ.js → client-Dpba7hUz.js} +3 -3
  17. package/dist/{collection-Dfb0TPno.js → collection-CSzG2j1P.js} +1 -1
  18. package/dist/compat/mod.d.ts +12 -12
  19. package/dist/compat/mod.js +1 -1
  20. package/dist/compat/transformers.test.js +25 -32
  21. package/dist/{context-BhO5LP_t.d.ts → context-BRl3Ndz3.d.ts} +286 -73
  22. package/dist/{denokv-QWKsIqML.js → denokv-2x6-IpXO.js} +1 -1
  23. package/dist/{docloader-BindvZ7y.js → docloader-DCpruMxX.js} +41 -40
  24. package/dist/{docloader-DtGccyuM.d.ts → docloader-DJT1UZH4.d.ts} +5 -2
  25. package/dist/{esm-d-9EVGaP.js → esm-YeNP04Tn.js} +15 -15
  26. package/dist/federation/builder.test.js +35 -21
  27. package/dist/federation/collection.test.js +13 -11
  28. package/dist/federation/handler.test.js +341 -40
  29. package/dist/federation/inbox.test.js +8 -12
  30. package/dist/federation/keycache.test.js +9 -12
  31. package/dist/federation/kv.test.js +13 -11
  32. package/dist/federation/middleware.test.js +65 -42
  33. package/dist/federation/mod.d.ts +12 -12
  34. package/dist/federation/mod.js +12 -12
  35. package/dist/federation/mq.test.js +15 -13
  36. package/dist/federation/retry.test.js +7 -5
  37. package/dist/federation/router.test.js +12 -11
  38. package/dist/federation/send.test.js +19 -25
  39. package/dist/{federation-C44ekWNP.js → federation-CMX7WzeL.js} +2 -2
  40. package/dist/{http-BigTqmE7.js → http-BvH4x0q2.js} +5 -5
  41. package/dist/{http-DIyD7he1.js → http-CDgoTsYR.js} +6 -5
  42. package/dist/{http-Cp-0z2Ja.d.ts → http-CMfQwn0N.d.ts} +6 -6
  43. package/dist/{inbox-BB6ajp8P.js → inbox-BuzhIjV2.js} +2 -4
  44. package/dist/{key-DlkWX5Fp.js → key-BqhwvHsn.js} +4 -4
  45. package/dist/{key-BfI9Ju0m.js → key-CP-a-VpF.js} +4 -4
  46. package/dist/{key-D9LuuzMv.js → key-CSyaic55.js} +4 -5
  47. package/dist/key-OtzSuFsF.js +10 -0
  48. package/dist/{keycache-C4C7f09E.js → keycache-D0U9cLZU.js} +2 -2
  49. package/dist/{keys-BjET3ZIs.js → keys-ByM1H_cn.js} +2 -2
  50. package/dist/{kv-DDdb1hMa.d.ts → kv-C7sopW2E.d.ts} +2 -2
  51. package/dist/{kv-D7Yt6pnB.js → kv-CRZrzyXm.js} +1 -1
  52. package/dist/{ld-CYqXYuyr.js → ld-CONO7ifU.js} +3 -5
  53. package/dist/{lookup-BYiP0j0F.js → lookup-B369Grts.js} +115 -8
  54. package/dist/{lookup-_XgQq_BY.js → lookup-CT3O5GHb.js} +2 -2
  55. package/dist/{lookup-m3U6KA0u.d.ts → lookup-DXPWo3Hz.d.ts} +3 -3
  56. package/dist/{middleware-e74I4DJ9.js → middleware-BY9LAF0G.js} +629 -24
  57. package/dist/{middleware-VSdfWI3m.js → middleware-C5U4iOFL.js} +563 -32
  58. package/dist/middleware-CcMetCU1.js +26 -0
  59. package/dist/middleware-CoO-tfFn.js +17 -0
  60. package/dist/{mod-c1I-Ydch.d.ts → mod-Cozftwmt.d.ts} +4 -4
  61. package/dist/{mod-yPzXIjJX.d.ts → mod-DHoWcUrW.d.ts} +6 -6
  62. package/dist/{mod-nlVEnYuj.d.ts → mod-DyY7EVjn.d.ts} +6 -6
  63. package/dist/{mod-BqCBztub.d.ts → mod-DyvbAsBu.d.ts} +6 -6
  64. package/dist/mod.d.ts +15 -15
  65. package/dist/mod.js +12 -12
  66. package/dist/{mq-DYKDDJmp.d.ts → mq-CRGm1e_F.d.ts} +1 -1
  67. package/dist/nodeinfo/client.test.js +15 -15
  68. package/dist/nodeinfo/handler.test.js +30 -39
  69. package/dist/nodeinfo/mod.d.ts +3 -3
  70. package/dist/nodeinfo/mod.js +2 -2
  71. package/dist/nodeinfo/semver.test.js +13 -11
  72. package/dist/nodeinfo/types.test.js +14 -12
  73. package/dist/{owner-BK4eWKBp.d.ts → owner-CfnEgfAc.d.ts} +4 -4
  74. package/dist/{owner-D7RvVquY.js → owner-xdWeY64a.js} +3 -4
  75. package/dist/{proof-D4z1cLgw.js → proof-CtHhgl3O.js} +4 -6
  76. package/dist/{proof-ChRSmA_D.js → proof-DmzU2OzJ.js} +7 -7
  77. package/dist/{retry-BiIhZWgD.js → retry-D4GJ670a.js} +1 -1
  78. package/dist/runtime/authdocloader.test.js +18 -24
  79. package/dist/runtime/docloader.test.js +14 -15
  80. package/dist/runtime/key.test.js +14 -19
  81. package/dist/runtime/langstr.test.js +12 -11
  82. package/dist/runtime/mod.d.ts +5 -5
  83. package/dist/runtime/mod.js +6 -6
  84. package/dist/runtime/multibase/multibase.test.js +12 -11
  85. package/dist/runtime/url.test.js +8 -7
  86. package/dist/{semver-DWClQt_5.js → semver-dArNLkR9.js} +1 -1
  87. package/dist/{send-DmlRAY0X.js → send-BBRNGJ6-.js} +3 -3
  88. package/dist/sig/http.test.js +40 -23
  89. package/dist/sig/key.test.js +15 -21
  90. package/dist/sig/ld.test.js +13 -19
  91. package/dist/sig/mod.d.ts +7 -7
  92. package/dist/sig/mod.js +6 -6
  93. package/dist/sig/owner.test.js +16 -23
  94. package/dist/sig/proof.test.js +16 -22
  95. package/dist/{std__assert-B3iAixc-.js → std__assert-X-_kMxKM.js} +6 -6
  96. package/dist/testing/docloader.test.js +12 -11
  97. package/dist/testing/mod.d.ts +8622 -2
  98. package/dist/testing/mod.js +4 -2
  99. package/dist/testing-CvN-i8Op.js +302 -0
  100. package/dist/{transformers-ghwJuzGY.js → transformers-Dna8Fg7k.js} +4 -4
  101. package/dist/{vocab-dw0HG0EQ.js → type-BR81xHKM.js} +5246 -185
  102. package/dist/{types-C7C_l-jz.js → types-BIgY6c-l.js} +2 -2
  103. package/dist/{types-DuZ6KMHu.js → types-oT7nGOql.js} +4 -4
  104. package/dist/vocab/actor.test.js +143 -149
  105. package/dist/vocab/lookup.test.js +13 -20
  106. package/dist/vocab/mod.d.ts +5 -5
  107. package/dist/vocab/mod.js +4 -4
  108. package/dist/vocab/type.test.js +5 -9
  109. package/dist/vocab/vocab.test.js +54 -58
  110. package/dist/{vocab-CI5oydJj.js → vocab-CKqGKlad.js} +6 -6
  111. package/dist/{vocab-B52eQhpN.d.ts → vocab-KgaI50mH.d.ts} +3 -3
  112. package/dist/webfinger/handler.test.js +30 -39
  113. package/dist/webfinger/lookup.test.js +13 -14
  114. package/dist/webfinger/mod.d.ts +3 -3
  115. package/dist/webfinger/mod.js +2 -2
  116. package/dist/x/cfworkers.d.ts +3 -3
  117. package/dist/x/cfworkers.js +1 -1
  118. package/dist/x/cfworkers.test.js +13 -11
  119. package/dist/x/hono.d.ts +16 -16
  120. package/dist/x/hono.js +3 -3
  121. package/dist/x/sveltekit.d.ts +13 -13
  122. package/dist/x/sveltekit.js +2 -2
  123. package/package.json +3 -3
  124. package/dist/chunk-HsBuZ-b2.js +0 -41
  125. package/dist/context-CXi1nrZE.js +0 -108
  126. package/dist/docloader-Bh-sDknx.js +0 -68
  127. package/dist/docloader-CJ7eOrpZ.js +0 -4514
  128. package/dist/key-DG7lKWv0.js +0 -16
  129. package/dist/langstr-DbWheeIS.js +0 -33
  130. package/dist/lookup-CEbB0_t_.js +0 -133
  131. package/dist/middleware-Dd2mc8-e.js +0 -33
  132. package/dist/middleware-DjA978L0.js +0 -17
  133. package/dist/multibase-DeCHcK8L.js +0 -316
  134. package/dist/router-D3UybECj.js +0 -118
  135. package/dist/testing-BZ0dJ4qn.js +0 -143
  136. package/dist/type-D2s5lmbZ.js +0 -14
  137. package/dist/url-kTAI6_KP.js +0 -68
  138. /package/dist/{vocab → src/vocab}/accept.yaml +0 -0
  139. /package/dist/{vocab → src/vocab}/activity.yaml +0 -0
  140. /package/dist/{vocab → src/vocab}/add.yaml +0 -0
  141. /package/dist/{vocab → src/vocab}/announce.yaml +0 -0
  142. /package/dist/{vocab → src/vocab}/application.yaml +0 -0
  143. /package/dist/{vocab → src/vocab}/arrive.yaml +0 -0
  144. /package/dist/{vocab → src/vocab}/article.yaml +0 -0
  145. /package/dist/{vocab → src/vocab}/audio.yaml +0 -0
  146. /package/dist/{vocab → src/vocab}/block.yaml +0 -0
  147. /package/dist/{vocab → src/vocab}/chatmessage.yaml +0 -0
  148. /package/dist/{vocab → src/vocab}/collection.yaml +0 -0
  149. /package/dist/{vocab → src/vocab}/collectionpage.yaml +0 -0
  150. /package/dist/{vocab → src/vocab}/create.yaml +0 -0
  151. /package/dist/{vocab → src/vocab}/dataintegrityproof.yaml +0 -0
  152. /package/dist/{vocab → src/vocab}/delete.yaml +0 -0
  153. /package/dist/{vocab → src/vocab}/didservice.yaml +0 -0
  154. /package/dist/{vocab → src/vocab}/dislike.yaml +0 -0
  155. /package/dist/{vocab → src/vocab}/document.yaml +0 -0
  156. /package/dist/{vocab → src/vocab}/emoji.yaml +0 -0
  157. /package/dist/{vocab → src/vocab}/emojireact.yaml +0 -0
  158. /package/dist/{vocab → src/vocab}/endpoints.yaml +0 -0
  159. /package/dist/{vocab → src/vocab}/event.yaml +0 -0
  160. /package/dist/{vocab → src/vocab}/export.yaml +0 -0
  161. /package/dist/{vocab → src/vocab}/flag.yaml +0 -0
  162. /package/dist/{vocab → src/vocab}/follow.yaml +0 -0
  163. /package/dist/{vocab → src/vocab}/group.yaml +0 -0
  164. /package/dist/{vocab → src/vocab}/hashtag.yaml +0 -0
  165. /package/dist/{vocab → src/vocab}/ignore.yaml +0 -0
  166. /package/dist/{vocab → src/vocab}/image.yaml +0 -0
  167. /package/dist/{vocab → src/vocab}/intransitiveactivity.yaml +0 -0
  168. /package/dist/{vocab → src/vocab}/invite.yaml +0 -0
  169. /package/dist/{vocab → src/vocab}/join.yaml +0 -0
  170. /package/dist/{vocab → src/vocab}/key.yaml +0 -0
  171. /package/dist/{vocab → src/vocab}/leave.yaml +0 -0
  172. /package/dist/{vocab → src/vocab}/like.yaml +0 -0
  173. /package/dist/{vocab → src/vocab}/link.yaml +0 -0
  174. /package/dist/{vocab → src/vocab}/listen.yaml +0 -0
  175. /package/dist/{vocab → src/vocab}/mention.yaml +0 -0
  176. /package/dist/{vocab → src/vocab}/move.yaml +0 -0
  177. /package/dist/{vocab → src/vocab}/multikey.yaml +0 -0
  178. /package/dist/{vocab → src/vocab}/note.yaml +0 -0
  179. /package/dist/{vocab → src/vocab}/object.yaml +0 -0
  180. /package/dist/{vocab → src/vocab}/offer.yaml +0 -0
  181. /package/dist/{vocab → src/vocab}/orderedcollection.yaml +0 -0
  182. /package/dist/{vocab → src/vocab}/orderedcollectionpage.yaml +0 -0
  183. /package/dist/{vocab → src/vocab}/organization.yaml +0 -0
  184. /package/dist/{vocab → src/vocab}/page.yaml +0 -0
  185. /package/dist/{vocab → src/vocab}/person.yaml +0 -0
  186. /package/dist/{vocab → src/vocab}/place.yaml +0 -0
  187. /package/dist/{vocab → src/vocab}/profile.yaml +0 -0
  188. /package/dist/{vocab → src/vocab}/propertyvalue.yaml +0 -0
  189. /package/dist/{vocab → src/vocab}/question.yaml +0 -0
  190. /package/dist/{vocab → src/vocab}/read.yaml +0 -0
  191. /package/dist/{vocab → src/vocab}/reject.yaml +0 -0
  192. /package/dist/{vocab → src/vocab}/relationship.yaml +0 -0
  193. /package/dist/{vocab → src/vocab}/remove.yaml +0 -0
  194. /package/dist/{vocab → src/vocab}/service.yaml +0 -0
  195. /package/dist/{vocab → src/vocab}/source.yaml +0 -0
  196. /package/dist/{vocab → src/vocab}/tentativeaccept.yaml +0 -0
  197. /package/dist/{vocab → src/vocab}/tentativereject.yaml +0 -0
  198. /package/dist/{vocab → src/vocab}/tombstone.yaml +0 -0
  199. /package/dist/{vocab → src/vocab}/travel.yaml +0 -0
  200. /package/dist/{vocab → src/vocab}/undo.yaml +0 -0
  201. /package/dist/{vocab → src/vocab}/update.yaml +0 -0
  202. /package/dist/{vocab → src/vocab}/video.yaml +0 -0
  203. /package/dist/{vocab → src/vocab}/view.yaml +0 -0
@@ -1,15 +1,15 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore } from "../kv-DDdb1hMa.js";
4
- import "../docloader-DtGccyuM.js";
5
- import "../client-DK4qnXK0.js";
6
- import "../vocab-B52eQhpN.js";
7
- import "../actor-1rvS-py8.js";
8
- import "../http-Cp-0z2Ja.js";
9
- import "../owner-BK4eWKBp.js";
10
- import "../mod-BqCBztub.js";
11
- import "../lookup-m3U6KA0u.js";
12
- import { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-BhO5LP_t.js";
13
- import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "../mq-DYKDDJmp.js";
3
+ import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore } from "../kv-C7sopW2E.js";
4
+ import "../docloader-DJT1UZH4.js";
5
+ import "../client-B_KFjN3D.js";
6
+ import "../vocab-KgaI50mH.js";
7
+ import "../actor-CYyhXZHp.js";
8
+ import "../http-CMfQwn0N.js";
9
+ import "../owner-CfnEgfAc.js";
10
+ import "../mod-DyvbAsBu.js";
11
+ import "../lookup-DXPWo3Hz.js";
12
+ import { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-BRl3Ndz3.js";
13
+ import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "../mq-CRGm1e_F.js";
14
14
  import "../mod-g0xFzAP9.js";
15
- export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, KvKey, KvStore, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
15
+ export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, KvKey, KvStore, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
@@ -2,17 +2,17 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../transformers-ghwJuzGY.js";
6
- import "../docloader-BindvZ7y.js";
7
- import "../actor-DLZ25ttS.js";
8
- import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-e74I4DJ9.js";
9
- import "../lookup-_XgQq_BY.js";
10
- import "../key-BfI9Ju0m.js";
11
- import "../http-DIyD7he1.js";
12
- import "../proof-ChRSmA_D.js";
13
- import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-C44ekWNP.js";
14
- import "../types-DuZ6KMHu.js";
15
- import "../authdocloader-CLixqGPW.js";
16
- import "../vocab-CI5oydJj.js";
5
+ import "../transformers-Dna8Fg7k.js";
6
+ import "../docloader-DCpruMxX.js";
7
+ import "../actor-Bu8-7-Cs.js";
8
+ import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-BY9LAF0G.js";
9
+ import "../lookup-CT3O5GHb.js";
10
+ import "../key-CP-a-VpF.js";
11
+ import "../http-CDgoTsYR.js";
12
+ import "../proof-DmzU2OzJ.js";
13
+ import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-CMX7WzeL.js";
14
+ import "../types-oT7nGOql.js";
15
+ import "../authdocloader-D2Tt9QZj.js";
16
+ import "../vocab-CKqGKlad.js";
17
17
 
18
18
  export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
@@ -3,18 +3,20 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { assertEquals } from "../assert_equals-C5gKCm6A.js";
7
- import { assert } from "../assert-DwEa6glZ.js";
8
- import "../assert_instance_of-C9QtN-X9.js";
9
- import { test } from "../testing-BZ0dJ4qn.js";
10
- import { assertGreater, assertGreaterOrEqual } from "../std__assert-B3iAixc-.js";
11
- import { assertFalse } from "../assert_rejects-DceVjUlD.js";
12
- import "../assert_is_error-DQdKoRgb.js";
13
- import "../assert_not_equals-7pyUM3Ib.js";
14
- import "../assert_throws-DTDC_gwN.js";
6
+ import "../type-BR81xHKM.js";
7
+ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
+ import { assert } from "../assert-MZs1qjMx.js";
9
+ import "../assert_instance_of-DHz7EHNU.js";
10
+ import "../lookup-B369Grts.js";
11
+ import { test } from "../testing-CvN-i8Op.js";
12
+ import { assertGreater, assertGreaterOrEqual } from "../std__assert-X-_kMxKM.js";
13
+ import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
14
+ import "../assert_is_error-BPGph1Jx.js";
15
+ import "../assert_not_equals-f3m3epl3.js";
16
+ import "../assert_throws-BOO88avQ.js";
15
17
  import { delay } from "es-toolkit";
16
18
 
17
- //#region federation/mq.ts
19
+ //#region src/federation/mq.ts
18
20
  /**
19
21
  * A message queue that processes messages in the same process.
20
22
  * Do not use this in production as it does neither persist messages nor
@@ -167,7 +169,7 @@ var ParallelMessageQueue = class ParallelMessageQueue {
167
169
  };
168
170
 
169
171
  //#endregion
170
- //#region federation/mq.test.ts
172
+ //#region src/federation/mq.test.ts
171
173
  test("InProcessMessageQueue", async (t) => {
172
174
  const mq = new InProcessMessageQueue();
173
175
  await t.step("nativeRetrial property", () => {
@@ -225,7 +227,7 @@ test("InProcessMessageQueue", async (t) => {
225
227
  });
226
228
  test("MessageQueue.nativeRetrial", async (t) => {
227
229
  if ("Deno" in globalThis && "openKv" in globalThis.Deno && typeof globalThis.Deno.openKv === "function") await t.step("DenoKvMessageQueue", async () => {
228
- const { DenoKvMessageQueue } = await import("../denokv-QWKsIqML.js");
230
+ const { DenoKvMessageQueue } = await import("../denokv-2x6-IpXO.js");
229
231
  const mq = new DenoKvMessageQueue(await globalThis.Deno.openKv(":memory:"));
230
232
  assert(mq.nativeRetrial);
231
233
  if (Symbol.dispose in mq) {
@@ -264,7 +266,7 @@ test("MessageQueue.nativeRetrial", async (t) => {
264
266
  });
265
267
  const queues = { InProcessMessageQueue: () => Promise.resolve(new InProcessMessageQueue()) };
266
268
  if ("Deno" in globalThis && "openKv" in globalThis.Deno && typeof globalThis.Deno.openKv === "function") {
267
- const { DenoKvMessageQueue } = await import("../denokv-QWKsIqML.js");
269
+ const { DenoKvMessageQueue } = await import("../denokv-2x6-IpXO.js");
268
270
  queues.DenoKvMessageQueue = async () => new DenoKvMessageQueue(await globalThis.Deno.openKv(":memory:"));
269
271
  }
270
272
  for (const mqName in queues) test({
@@ -3,12 +3,14 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { AssertionError, assertEquals } from "../assert_equals-C5gKCm6A.js";
7
- import { createExponentialBackoffPolicy } from "../retry-BiIhZWgD.js";
8
- import { test } from "../testing-BZ0dJ4qn.js";
9
- import { assertNotEquals } from "../assert_not_equals-7pyUM3Ib.js";
6
+ import "../type-BR81xHKM.js";
7
+ import { AssertionError, assertEquals } from "../assert_equals-DSbWqCm3.js";
8
+ import "../lookup-B369Grts.js";
9
+ import { createExponentialBackoffPolicy } from "../retry-D4GJ670a.js";
10
+ import { test } from "../testing-CvN-i8Op.js";
11
+ import { assertNotEquals } from "../assert_not_equals-f3m3epl3.js";
10
12
 
11
- //#region federation/retry.test.ts
13
+ //#region src/federation/retry.test.ts
12
14
  test("createExponentialBackoffPolicy()", () => {
13
15
  const policy = createExponentialBackoffPolicy({ maxAttempts: 4 });
14
16
  const noMatter = Temporal.Duration.from({ seconds: 0 });
@@ -3,18 +3,19 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { assertEquals } from "../assert_equals-C5gKCm6A.js";
7
- import { assert } from "../assert-DwEa6glZ.js";
8
- import "../assert_instance_of-C9QtN-X9.js";
9
- import { Router, RouterError } from "../router-D3UybECj.js";
10
- import { test } from "../testing-BZ0dJ4qn.js";
11
- import "../std__assert-B3iAixc-.js";
12
- import { assertFalse } from "../assert_rejects-DceVjUlD.js";
13
- import "../assert_is_error-DQdKoRgb.js";
14
- import "../assert_not_equals-7pyUM3Ib.js";
15
- import { assertThrows } from "../assert_throws-DTDC_gwN.js";
6
+ import "../type-BR81xHKM.js";
7
+ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
+ import { assert } from "../assert-MZs1qjMx.js";
9
+ import "../assert_instance_of-DHz7EHNU.js";
10
+ import { Router, RouterError } from "../lookup-B369Grts.js";
11
+ import { test } from "../testing-CvN-i8Op.js";
12
+ import "../std__assert-X-_kMxKM.js";
13
+ import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
14
+ import "../assert_is_error-BPGph1Jx.js";
15
+ import "../assert_not_equals-f3m3epl3.js";
16
+ import { assertThrows } from "../assert_throws-BOO88avQ.js";
16
17
 
17
- //#region federation/router.test.ts
18
+ //#region src/federation/router.test.ts
18
19
  function setUp(options = {}) {
19
20
  const router = new Router(options);
20
21
  router.add("/users/{name}", "user");
@@ -3,32 +3,26 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { assertEquals } from "../assert_equals-C5gKCm6A.js";
7
- import { assert } from "../assert-DwEa6glZ.js";
8
- import "../assert_instance_of-C9QtN-X9.js";
9
- import "../docloader-CJ7eOrpZ.js";
10
- import "../url-kTAI6_KP.js";
11
- import "../multibase-DeCHcK8L.js";
12
- import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab-dw0HG0EQ.js";
13
- import "../langstr-DbWheeIS.js";
14
- import "../lookup-CEbB0_t_.js";
15
- import "../type-D2s5lmbZ.js";
16
- import "../actor-C_d9cZrz.js";
17
- import "../key-D9LuuzMv.js";
18
- import { verifyRequest } from "../http-BigTqmE7.js";
19
- import { doesActorOwnKey } from "../owner-D7RvVquY.js";
20
- import { extractInboxes, sendActivity } from "../send-DmlRAY0X.js";
21
- import { test } from "../testing-BZ0dJ4qn.js";
22
- import "../std__assert-B3iAixc-.js";
23
- import { assertFalse, assertRejects } from "../assert_rejects-DceVjUlD.js";
24
- import "../assert_is_error-DQdKoRgb.js";
25
- import { assertNotEquals } from "../assert_not_equals-7pyUM3Ib.js";
26
- import "../assert_throws-DTDC_gwN.js";
27
- import { mockDocumentLoader } from "../docloader-Bh-sDknx.js";
28
- import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-BjET3ZIs.js";
29
- import { esm_default } from "../esm-d-9EVGaP.js";
6
+ import { Activity, Application, Endpoints, Group, Person, Service } from "../type-BR81xHKM.js";
7
+ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
+ import { assert } from "../assert-MZs1qjMx.js";
9
+ import "../assert_instance_of-DHz7EHNU.js";
10
+ import "../lookup-B369Grts.js";
11
+ import "../actor-BT8uiycu.js";
12
+ import "../key-CSyaic55.js";
13
+ import { verifyRequest } from "../http-BvH4x0q2.js";
14
+ import { doesActorOwnKey } from "../owner-xdWeY64a.js";
15
+ import { extractInboxes, sendActivity } from "../send-BBRNGJ6-.js";
16
+ import { mockDocumentLoader, test } from "../testing-CvN-i8Op.js";
17
+ import "../std__assert-X-_kMxKM.js";
18
+ import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
19
+ import "../assert_is_error-BPGph1Jx.js";
20
+ import { assertNotEquals } from "../assert_not_equals-f3m3epl3.js";
21
+ import "../assert_throws-BOO88avQ.js";
22
+ import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-ByM1H_cn.js";
23
+ import { esm_default } from "../esm-YeNP04Tn.js";
30
24
 
31
- //#region federation/send.test.ts
25
+ //#region src/federation/send.test.ts
32
26
  test("extractInboxes()", () => {
33
27
  const recipients = [
34
28
  new Person({
@@ -4,7 +4,7 @@
4
4
 
5
5
  import { isEqual } from "es-toolkit";
6
6
 
7
- //#region federation/kv.ts
7
+ //#region src/federation/kv.ts
8
8
  /**
9
9
  * A key–value store that stores values in memory.
10
10
  * Do not use this in production as it does not persist values.
@@ -70,7 +70,7 @@ var MemoryKvStore = class {
70
70
  };
71
71
 
72
72
  //#endregion
73
- //#region federation/mq.ts
73
+ //#region src/federation/mq.ts
74
74
  /**
75
75
  * A message queue that processes messages in the same process.
76
76
  * Do not use this in production as it does neither persist messages nor
@@ -3,9 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./docloader-CJ7eOrpZ.js";
7
- import { CryptographicKey } from "./vocab-dw0HG0EQ.js";
8
- import { fetchKey, validateCryptoKey } from "./key-D9LuuzMv.js";
6
+ import { CryptographicKey, deno_default } from "./type-BR81xHKM.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-CSyaic55.js";
9
8
  import { getLogger } from "@logtape/logtape";
10
9
  import { SpanStatusCode, trace } from "@opentelemetry/api";
11
10
  import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
@@ -13,7 +12,7 @@ import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
13
12
  import { encodeHex } from "byte-encodings/hex";
14
13
  import { Item, decodeDict, encodeItem } from "structured-field-values";
15
14
 
16
- //#region sig/http.ts
15
+ //#region src/sig/http.ts
17
16
  /**
18
17
  * Signs a request using the given private key.
19
18
  * @param request The request to sign.
@@ -652,7 +651,8 @@ async function verifyRequestRfc9421(request, span, { documentLoader, contextLoad
652
651
  * @returns A new Request object for the redirect.
653
652
  */
654
653
  function createRedirectRequest(request, location, body) {
655
- return new Request(location, {
654
+ const url = new URL(location, request.url);
655
+ return new Request(url, {
656
656
  method: request.method,
657
657
  headers: request.headers,
658
658
  body,
@@ -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 } from "./docloader-BindvZ7y.js";
6
- import { CryptographicKey } from "./actor-DLZ25ttS.js";
7
- import { fetchKey, validateCryptoKey } from "./key-BfI9Ju0m.js";
5
+ import { deno_default } from "./docloader-DCpruMxX.js";
6
+ import { CryptographicKey } from "./actor-Bu8-7-Cs.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-CP-a-VpF.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { SpanStatusCode, trace } from "@opentelemetry/api";
10
10
  import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
@@ -12,7 +12,7 @@ import { encodeHex } from "byte-encodings/hex";
12
12
  import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
13
13
  import { Item, decodeDict, encodeItem } from "structured-field-values";
14
14
 
15
- //#region sig/http.ts
15
+ //#region src/sig/http.ts
16
16
  /**
17
17
  * Signs a request using the given private key.
18
18
  * @param request The request to sign.
@@ -651,7 +651,8 @@ async function verifyRequestRfc9421(request, span, { documentLoader, contextLoad
651
651
  * @returns A new Request object for the redirect.
652
652
  */
653
653
  function createRedirectRequest(request, location, body) {
654
- return new Request(location, {
654
+ const url = new URL(location, request.url);
655
+ return new Request(url, {
655
656
  method: request.method,
656
657
  headers: request.headers,
657
658
  body,
@@ -1,10 +1,10 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { DocumentLoader } from "./docloader-DtGccyuM.js";
4
- import { CryptographicKey, Multikey } from "./vocab-B52eQhpN.js";
3
+ import { DocumentLoader } from "./docloader-DJT1UZH4.js";
4
+ import { CryptographicKey, Multikey } from "./vocab-KgaI50mH.js";
5
5
  import { TracerProvider } from "@opentelemetry/api";
6
6
 
7
- //#region sig/key.d.ts
7
+ //#region src/sig/key.d.ts
8
8
 
9
9
  /**
10
10
  * Generates a key pair which is appropriate for Fedify.
@@ -75,7 +75,7 @@ interface FetchKeyResult<T extends CryptographicKey | Multikey> {
75
75
  * Fetches a {@link CryptographicKey} or {@link Multikey} from the given URL.
76
76
  * If the given URL contains an {@link Actor} object, it tries to find
77
77
  * the corresponding key in the `publicKey` or `assertionMethod` property.
78
- * @typeParam T The type of the key to fetch. Either {@link CryptographicKey}
78
+ * @template T The type of the key to fetch. Either {@link CryptographicKey}
79
79
  * or {@link Multikey}.
80
80
  * @param keyId The URL of the key.
81
81
  * @param cls The class of the key to fetch. Either {@link CryptographicKey}
@@ -116,7 +116,7 @@ interface KeyCache {
116
116
  set(keyId: URL, key: CryptographicKey | Multikey | null): Promise<void>;
117
117
  }
118
118
  //#endregion
119
- //#region sig/http.d.ts
119
+ //#region src/sig/http.d.ts
120
120
  /**
121
121
  * The standard to use for signing and verifying HTTP signatures.
122
122
  * @since 1.6.0
@@ -150,7 +150,7 @@ interface SignRequestOptions {
150
150
  currentTime?: Temporal.Instant;
151
151
  /**
152
152
  * The request body as ArrayBuffer. If provided, avoids cloning the request body.
153
- * @since 1.8.0
153
+ * @since 1.7.7
154
154
  */
155
155
  body?: ArrayBuffer | null;
156
156
  /**
@@ -3,13 +3,11 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./docloader-CJ7eOrpZ.js";
7
- import { Activity } from "./vocab-dw0HG0EQ.js";
8
- import { getTypeId } from "./type-D2s5lmbZ.js";
6
+ import { Activity, deno_default, getTypeId } from "./type-BR81xHKM.js";
9
7
  import { getLogger } from "@logtape/logtape";
10
8
  import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
11
9
 
12
- //#region federation/inbox.ts
10
+ //#region src/federation/inbox.ts
13
11
  var InboxListenerSet = class InboxListenerSet {
14
12
  #listeners;
15
13
  constructor() {
@@ -2,9 +2,9 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "./docloader-BindvZ7y.js";
6
- import "./actor-DLZ25ttS.js";
7
- import "./lookup-_XgQq_BY.js";
8
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-BfI9Ju0m.js";
5
+ import "./docloader-DCpruMxX.js";
6
+ import "./actor-Bu8-7-Cs.js";
7
+ import "./lookup-CT3O5GHb.js";
8
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-CP-a-VpF.js";
9
9
 
10
10
  export { validateCryptoKey };
@@ -2,12 +2,12 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { deno_default, getDocumentLoader } from "./docloader-BindvZ7y.js";
6
- import { CryptographicKey, Object as Object$1, isActor } from "./actor-DLZ25ttS.js";
5
+ import { deno_default, getDocumentLoader } from "./docloader-DCpruMxX.js";
6
+ import { CryptographicKey, Object as Object$1, isActor } from "./actor-Bu8-7-Cs.js";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
9
9
 
10
- //#region sig/key.ts
10
+ //#region src/sig/key.ts
11
11
  /**
12
12
  * Checks if the given key is valid and supported. No-op if the key is valid,
13
13
  * otherwise throws an error.
@@ -91,7 +91,7 @@ async function importJwk(jwk, type) {
91
91
  * Fetches a {@link CryptographicKey} or {@link Multikey} from the given URL.
92
92
  * If the given URL contains an {@link Actor} object, it tries to find
93
93
  * the corresponding key in the `publicKey` or `assertionMethod` property.
94
- * @typeParam T The type of the key to fetch. Either {@link CryptographicKey}
94
+ * @template T The type of the key to fetch. Either {@link CryptographicKey}
95
95
  * or {@link Multikey}.
96
96
  * @param keyId The URL of the key.
97
97
  * @param cls The class of the key to fetch. Either {@link CryptographicKey}
@@ -3,13 +3,12 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default, getDocumentLoader } from "./docloader-CJ7eOrpZ.js";
7
- import { CryptographicKey, Object as Object$1 } from "./vocab-dw0HG0EQ.js";
8
- import { isActor } from "./actor-C_d9cZrz.js";
6
+ import { CryptographicKey, Object as Object$1, deno_default, getDocumentLoader } from "./type-BR81xHKM.js";
7
+ import { isActor } from "./actor-BT8uiycu.js";
9
8
  import { getLogger } from "@logtape/logtape";
10
9
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
11
10
 
12
- //#region sig/key.ts
11
+ //#region src/sig/key.ts
13
12
  /**
14
13
  * Checks if the given key is valid and supported. No-op if the key is valid,
15
14
  * otherwise throws an error.
@@ -93,7 +92,7 @@ async function importJwk(jwk, type) {
93
92
  * Fetches a {@link CryptographicKey} or {@link Multikey} from the given URL.
94
93
  * If the given URL contains an {@link Actor} object, it tries to find
95
94
  * the corresponding key in the `publicKey` or `assertionMethod` property.
96
- * @typeParam T The type of the key to fetch. Either {@link CryptographicKey}
95
+ * @template T The type of the key to fetch. Either {@link CryptographicKey}
97
96
  * or {@link Multikey}.
98
97
  * @param keyId The URL of the key.
99
98
  * @param cls The class of the key to fetch. Either {@link CryptographicKey}
@@ -0,0 +1,10 @@
1
+
2
+ import { Temporal } from "@js-temporal/polyfill";
3
+ import { URLPattern } from "urlpattern-polyfill";
4
+ globalThis.addEventListener = () => {};
5
+
6
+ import "./type-BR81xHKM.js";
7
+ import "./actor-BT8uiycu.js";
8
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-CSyaic55.js";
9
+
10
+ export { validateCryptoKey };
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { CryptographicKey, Multikey } from "./vocab-dw0HG0EQ.js";
6
+ import { CryptographicKey, Multikey } from "./type-BR81xHKM.js";
7
7
 
8
- //#region federation/keycache.ts
8
+ //#region src/federation/keycache.ts
9
9
  var KvKeyCache = class {
10
10
  kv;
11
11
  prefix;
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { CryptographicKey, Multikey, importSpki } from "./vocab-dw0HG0EQ.js";
6
+ import { CryptographicKey, Multikey, importSpki } from "./type-BR81xHKM.js";
7
7
 
8
- //#region testing/keys.ts
8
+ //#region src/testing/keys.ts
9
9
  const rsaPublicKey1 = new CryptographicKey({
10
10
  id: new URL("https://example.com/key"),
11
11
  owner: new URL("https://example.com/person"),
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
3
 
4
- //#region federation/kv.d.ts
4
+ //#region src/federation/kv.d.ts
5
5
  /**
6
6
  * A key for a key–value store. An array of one or more strings.
7
7
  *
@@ -29,7 +29,7 @@ interface KvStore {
29
29
  * Gets the value for the given key.
30
30
  * @param key The key to get the value for.
31
31
  * @returns The value for the key, or `undefined` if the key does not exist.
32
- * @typeParam T The type of the value to get.
32
+ * @template T The type of the value to get.
33
33
  */
34
34
  get<T = unknown>(key: KvKey): Promise<T | undefined>;
35
35
  /**
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { isEqual } from "es-toolkit";
7
7
 
8
- //#region federation/kv.ts
8
+ //#region src/federation/kv.ts
9
9
  /**
10
10
  * A key–value store that stores values in memory.
11
11
  * Do not use this in production as it does not persist values.
@@ -3,17 +3,15 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default, getDocumentLoader } from "./docloader-CJ7eOrpZ.js";
7
- import { Activity, CryptographicKey, Object as Object$1 } from "./vocab-dw0HG0EQ.js";
8
- import { getTypeId } from "./type-D2s5lmbZ.js";
9
- import { fetchKey, validateCryptoKey } from "./key-D9LuuzMv.js";
6
+ import { Activity, CryptographicKey, Object as Object$1, deno_default, getDocumentLoader, getTypeId } from "./type-BR81xHKM.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-CSyaic55.js";
10
8
  import { getLogger } from "@logtape/logtape";
11
9
  import { SpanStatusCode, trace } from "@opentelemetry/api";
12
10
  import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
13
11
  import { encodeHex } from "byte-encodings/hex";
14
12
  import jsonld from "jsonld";
15
13
 
16
- //#region sig/ld.ts
14
+ //#region src/sig/ld.ts
17
15
  const logger = getLogger([
18
16
  "fedify",
19
17
  "sig",