@fedify/fedify 2.1.0-dev.530 → 2.1.0-dev.543

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 (47) hide show
  1. package/dist/{builder-BfK-B_rY.js → builder-BBucr-Bp.js} +3 -3
  2. package/dist/compat/transformers.test.js +11 -11
  3. package/dist/{deno-BK6V-mVv.js → deno-9yc0TPBI.js} +1 -1
  4. package/dist/{docloader-bdK0wJzL.js → docloader-6Wrqp6SE.js} +2 -2
  5. package/dist/federation/builder.test.js +3 -3
  6. package/dist/federation/handler.test.js +25 -11
  7. package/dist/federation/idempotency.test.js +11 -11
  8. package/dist/federation/inbox.test.js +2 -2
  9. package/dist/federation/middleware.test.js +11 -11
  10. package/dist/federation/mod.cjs +4 -4
  11. package/dist/federation/mod.js +4 -4
  12. package/dist/federation/send.test.js +5 -5
  13. package/dist/federation/webfinger.test.js +11 -11
  14. package/dist/{http-BRhVje28.cjs → http-C_9L2wFv.cjs} +1 -1
  15. package/dist/{http-BdTAb5eo.js → http-CpvoK0Y7.js} +2 -2
  16. package/dist/{http-DLuHtnwl.js → http-DxwzIU0F.js} +1 -1
  17. package/dist/{inbox-BRWzIn32.js → inbox-DMq3a5bc.js} +1 -1
  18. package/dist/{key-DMDPuBvu.js → key-DFG6tJgw.js} +1 -1
  19. package/dist/{kv-cache-CgyiG0xt.cjs → kv-cache-BHoLc85Z.cjs} +1 -1
  20. package/dist/{kv-cache-CiAEBmtM.js → kv-cache-CRRUsyJ9.js} +1 -1
  21. package/dist/{ld-GzHHbenY.js → ld-DVnRS9IK.js} +2 -2
  22. package/dist/{middleware-DhcnNc2d.js → middleware-CAk-LkSS.js} +4 -4
  23. package/dist/{middleware-BZ8dLhUf.js → middleware-D6peKsn1.js} +4 -4
  24. package/dist/middleware-D7yrgd0I.cjs +12 -0
  25. package/dist/{middleware-B1eNwQHR.js → middleware-FZ0T8vIp.js} +10 -10
  26. package/dist/{middleware-CXC6KlTM.js → middleware-GmHZnwkU.js} +11 -11
  27. package/dist/{middleware-B3JASeZS.cjs → middleware-pUJBhWSu.cjs} +4 -4
  28. package/dist/mod.cjs +4 -4
  29. package/dist/mod.js +4 -4
  30. package/dist/nodeinfo/handler.test.js +11 -11
  31. package/dist/{owner-D6CF3IA2.js → owner-MCqkZ1KE.js} +1 -1
  32. package/dist/{proof-DsfKN-SH.cjs → proof-BF_LZjDb.cjs} +1 -1
  33. package/dist/{proof-DPTo2DIO.js → proof-D2B3jvnF.js} +2 -2
  34. package/dist/{proof-CZLHDMki.js → proof-ooYMfVCa.js} +1 -1
  35. package/dist/{send-CTuPNNHX.js → send-DtP5YkuY.js} +2 -2
  36. package/dist/sig/http.test.js +3 -3
  37. package/dist/sig/key.test.js +2 -2
  38. package/dist/sig/ld.test.js +3 -3
  39. package/dist/sig/mod.cjs +2 -2
  40. package/dist/sig/mod.js +2 -2
  41. package/dist/sig/owner.test.js +3 -3
  42. package/dist/sig/proof.test.js +4 -4
  43. package/dist/utils/docloader.test.js +4 -4
  44. package/dist/utils/mod.cjs +2 -2
  45. package/dist/utils/mod.js +2 -2
  46. package/package.json +5 -5
  47. package/dist/middleware-Fh4BUCD2.cjs +0 -12
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-BK6V-mVv.js";
6
+ import { deno_default } from "./deno-9yc0TPBI.js";
7
7
  import { Router, RouterError } from "./router-D9eI0s4b.js";
8
- import { InboxListenerSet } from "./inbox-BRWzIn32.js";
8
+ import { InboxListenerSet } from "./inbox-DMq3a5bc.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { getTypeId } from "@fedify/vocab";
11
11
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
@@ -46,7 +46,7 @@ var FederationBuilderImpl = class {
46
46
  this.collectionTypeIds = {};
47
47
  }
48
48
  async build(options) {
49
- const { FederationImpl } = await import("./middleware-CXC6KlTM.js");
49
+ const { FederationImpl } = await import("./middleware-GmHZnwkU.js");
50
50
  const f = new FederationImpl(options);
51
51
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
52
52
  f.router = this.router.clone();
@@ -8,25 +8,25 @@ 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
10
  import { MemoryKvStore } from "../kv-QzKcOQgP.js";
11
- import "../deno-BK6V-mVv.js";
12
- import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-B1eNwQHR.js";
11
+ import "../deno-9yc0TPBI.js";
12
+ import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-FZ0T8vIp.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-DMDPuBvu.js";
17
- import "../http-BdTAb5eo.js";
18
- import "../ld-GzHHbenY.js";
19
- import "../owner-D6CF3IA2.js";
20
- import "../proof-DPTo2DIO.js";
21
- import "../docloader-bdK0wJzL.js";
16
+ import "../key-DFG6tJgw.js";
17
+ import "../http-CpvoK0Y7.js";
18
+ import "../ld-DVnRS9IK.js";
19
+ import "../owner-MCqkZ1KE.js";
20
+ import "../proof-D2B3jvnF.js";
21
+ import "../docloader-6Wrqp6SE.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import "../inbox-BRWzIn32.js";
24
- import "../builder-BfK-B_rY.js";
23
+ import "../inbox-DMq3a5bc.js";
24
+ import "../builder-BBucr-Bp.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-C7k8s1Bk.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-CTuPNNHX.js";
29
+ import "../send-DtP5YkuY.js";
30
30
  import { Follow, Person } from "@fedify/vocab";
31
31
 
32
32
  //#region src/compat/transformers.test.ts
@@ -5,7 +5,7 @@
5
5
 
6
6
  //#region deno.json
7
7
  var name = "@fedify/fedify";
8
- var version = "2.1.0-dev.530+3f7f470a";
8
+ var version = "2.1.0-dev.543+e09fd1b4";
9
9
  var license = "MIT";
10
10
  var exports = {
11
11
  ".": "./src/mod.ts",
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { validateCryptoKey } from "./key-DMDPuBvu.js";
7
- import { doubleKnock } from "./http-BdTAb5eo.js";
6
+ import { validateCryptoKey } from "./key-DFG6tJgw.js";
7
+ import { doubleKnock } from "./http-CpvoK0Y7.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { curry } from "es-toolkit";
10
10
  import { UrlError, createActivityPubRequest, getRemoteDocument, logRequest, validatePublicUrl } from "@fedify/vocab-runtime";
@@ -8,10 +8,10 @@ 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-QzKcOQgP.js";
11
- import "../deno-BK6V-mVv.js";
11
+ import "../deno-9yc0TPBI.js";
12
12
  import "../router-D9eI0s4b.js";
13
- import "../inbox-BRWzIn32.js";
14
- import { createFederationBuilder } from "../builder-BfK-B_rY.js";
13
+ import "../inbox-DMq3a5bc.js";
14
+ import { createFederationBuilder } from "../builder-BBucr-Bp.js";
15
15
  import { assertExists } from "../std__assert-DWivtrGR.js";
16
16
  import "../assert_rejects-Ce45JcFg.js";
17
17
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -8,25 +8,25 @@ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-QzKcOQgP.js";
11
- import "../deno-BK6V-mVv.js";
12
- import { createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-B1eNwQHR.js";
11
+ import "../deno-9yc0TPBI.js";
12
+ import { createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-FZ0T8vIp.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-DMDPuBvu.js";
17
- import { signRequest } from "../http-BdTAb5eo.js";
18
- import "../ld-GzHHbenY.js";
19
- import "../owner-D6CF3IA2.js";
20
- import "../proof-DPTo2DIO.js";
21
- import "../docloader-bdK0wJzL.js";
16
+ import "../key-DFG6tJgw.js";
17
+ import { signRequest } from "../http-CpvoK0Y7.js";
18
+ import "../ld-DVnRS9IK.js";
19
+ import "../owner-MCqkZ1KE.js";
20
+ import "../proof-D2B3jvnF.js";
21
+ import "../docloader-6Wrqp6SE.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import { InboxListenerSet } from "../inbox-BRWzIn32.js";
24
- import "../builder-BfK-B_rY.js";
23
+ import { InboxListenerSet } from "../inbox-DMq3a5bc.js";
24
+ import "../builder-BBucr-Bp.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-C7k8s1Bk.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-CTuPNNHX.js";
29
+ import "../send-DtP5YkuY.js";
30
30
  import "../std__assert-DWivtrGR.js";
31
31
  import "../assert_rejects-Ce45JcFg.js";
32
32
  import "../assert_throws-BNXdRGWP.js";
@@ -105,6 +105,7 @@ test("handleActor()", async () => {
105
105
  "https://w3id.org/security/data-integrity/v1",
106
106
  "https://www.w3.org/ns/did/v1",
107
107
  "https://w3id.org/security/multikey/v1",
108
+ "https://gotosocial.org/ns",
108
109
  {
109
110
  alsoKnownAs: {
110
111
  "@id": "as:alsoKnownAs",
@@ -188,6 +189,7 @@ test("handleActor()", async () => {
188
189
  "https://w3id.org/security/data-integrity/v1",
189
190
  "https://www.w3.org/ns/did/v1",
190
191
  "https://w3id.org/security/multikey/v1",
192
+ "https://gotosocial.org/ns",
191
193
  {
192
194
  alsoKnownAs: {
193
195
  "@id": "as:alsoKnownAs",
@@ -328,6 +330,7 @@ test("handleObject()", async () => {
328
330
  "@context": [
329
331
  "https://www.w3.org/ns/activitystreams",
330
332
  "https://w3id.org/security/data-integrity/v1",
333
+ "https://gotosocial.org/ns",
331
334
  {
332
335
  Emoji: "toot:Emoji",
333
336
  Hashtag: "as:Hashtag",
@@ -415,6 +418,7 @@ test("handleObject()", async () => {
415
418
  "@context": [
416
419
  "https://www.w3.org/ns/activitystreams",
417
420
  "https://w3id.org/security/data-integrity/v1",
421
+ "https://gotosocial.org/ns",
418
422
  {
419
423
  Emoji: "toot:Emoji",
420
424
  Hashtag: "as:Hashtag",
@@ -557,6 +561,7 @@ test("handleCollection()", async () => {
557
561
  "https://w3id.org/identity/v1",
558
562
  "https://www.w3.org/ns/activitystreams",
559
563
  "https://w3id.org/security/data-integrity/v1",
564
+ "https://gotosocial.org/ns",
560
565
  {
561
566
  toot: "http://joinmastodon.org/ns#",
562
567
  misskey: "https://misskey-hub.net/ns#",
@@ -582,6 +587,7 @@ test("handleCollection()", async () => {
582
587
  "@context": [
583
588
  "https://www.w3.org/ns/activitystreams",
584
589
  "https://w3id.org/security/data-integrity/v1",
590
+ "https://gotosocial.org/ns",
585
591
  {
586
592
  toot: "http://joinmastodon.org/ns#",
587
593
  misskey: "https://misskey-hub.net/ns#",
@@ -665,6 +671,7 @@ test("handleCollection()", async () => {
665
671
  "@context": [
666
672
  "https://www.w3.org/ns/activitystreams",
667
673
  "https://w3id.org/security/data-integrity/v1",
674
+ "https://gotosocial.org/ns",
668
675
  {
669
676
  toot: "http://joinmastodon.org/ns#",
670
677
  misskey: "https://misskey-hub.net/ns#",
@@ -727,6 +734,7 @@ test("handleCollection()", async () => {
727
734
  "@context": [
728
735
  "https://www.w3.org/ns/activitystreams",
729
736
  "https://w3id.org/security/data-integrity/v1",
737
+ "https://gotosocial.org/ns",
730
738
  {
731
739
  toot: "http://joinmastodon.org/ns#",
732
740
  misskey: "https://misskey-hub.net/ns#",
@@ -781,6 +789,7 @@ test("handleCollection()", async () => {
781
789
  "@context": [
782
790
  "https://www.w3.org/ns/activitystreams",
783
791
  "https://w3id.org/security/data-integrity/v1",
792
+ "https://gotosocial.org/ns",
784
793
  {
785
794
  toot: "http://joinmastodon.org/ns#",
786
795
  misskey: "https://misskey-hub.net/ns#",
@@ -839,6 +848,7 @@ test("handleCollection()", async () => {
839
848
  "@context": [
840
849
  "https://www.w3.org/ns/activitystreams",
841
850
  "https://w3id.org/security/data-integrity/v1",
851
+ "https://gotosocial.org/ns",
842
852
  {
843
853
  toot: "http://joinmastodon.org/ns#",
844
854
  misskey: "https://misskey-hub.net/ns#",
@@ -1082,6 +1092,7 @@ test("respondWithObject()", async () => {
1082
1092
  "@context": [
1083
1093
  "https://www.w3.org/ns/activitystreams",
1084
1094
  "https://w3id.org/security/data-integrity/v1",
1095
+ "https://gotosocial.org/ns",
1085
1096
  {
1086
1097
  Emoji: "toot:Emoji",
1087
1098
  Hashtag: "as:Hashtag",
@@ -1174,6 +1185,7 @@ test("respondWithObjectIfAcceptable", async () => {
1174
1185
  "@context": [
1175
1186
  "https://www.w3.org/ns/activitystreams",
1176
1187
  "https://w3id.org/security/data-integrity/v1",
1188
+ "https://gotosocial.org/ns",
1177
1189
  {
1178
1190
  Emoji: "toot:Emoji",
1179
1191
  Hashtag: "as:Hashtag",
@@ -1285,6 +1297,7 @@ test("handleCustomCollection()", async () => {
1285
1297
  "https://w3id.org/identity/v1",
1286
1298
  "https://www.w3.org/ns/activitystreams",
1287
1299
  "https://w3id.org/security/data-integrity/v1",
1300
+ "https://gotosocial.org/ns",
1288
1301
  {
1289
1302
  toot: "http://joinmastodon.org/ns#",
1290
1303
  misskey: "https://misskey-hub.net/ns#",
@@ -1309,6 +1322,7 @@ test("handleCustomCollection()", async () => {
1309
1322
  const CONTEXT = [
1310
1323
  "https://www.w3.org/ns/activitystreams",
1311
1324
  "https://w3id.org/security/data-integrity/v1",
1325
+ "https://gotosocial.org/ns",
1312
1326
  {
1313
1327
  toot: "http://joinmastodon.org/ns#",
1314
1328
  misskey: "https://misskey-hub.net/ns#",
@@ -8,25 +8,25 @@ 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-QzKcOQgP.js";
11
- import "../deno-BK6V-mVv.js";
12
- import { createFederation } from "../middleware-B1eNwQHR.js";
11
+ import "../deno-9yc0TPBI.js";
12
+ import { createFederation } from "../middleware-FZ0T8vIp.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-DMDPuBvu.js";
17
- import "../http-BdTAb5eo.js";
18
- import "../ld-GzHHbenY.js";
19
- import "../owner-D6CF3IA2.js";
20
- import { signObject } from "../proof-DPTo2DIO.js";
21
- import "../docloader-bdK0wJzL.js";
16
+ import "../key-DFG6tJgw.js";
17
+ import "../http-CpvoK0Y7.js";
18
+ import "../ld-DVnRS9IK.js";
19
+ import "../owner-MCqkZ1KE.js";
20
+ import { signObject } from "../proof-D2B3jvnF.js";
21
+ import "../docloader-6Wrqp6SE.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import "../inbox-BRWzIn32.js";
24
- import "../builder-BfK-B_rY.js";
23
+ import "../inbox-DMq3a5bc.js";
24
+ import "../builder-BBucr-Bp.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-C7k8s1Bk.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-CTuPNNHX.js";
29
+ import "../send-DtP5YkuY.js";
30
30
  import "../std__assert-DWivtrGR.js";
31
31
  import "../assert_rejects-Ce45JcFg.js";
32
32
  import "../assert_throws-BNXdRGWP.js";
@@ -5,8 +5,8 @@
5
5
 
6
6
  import { test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
- import "../deno-BK6V-mVv.js";
9
- import { InboxListenerSet } from "../inbox-BRWzIn32.js";
8
+ import "../deno-9yc0TPBI.js";
9
+ import { InboxListenerSet } from "../inbox-DMq3a5bc.js";
10
10
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
11
11
  import { Activity, Create, Invite, Offer, Update } from "@fedify/vocab";
12
12
 
@@ -8,25 +8,25 @@ 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
10
  import { MemoryKvStore } from "../kv-QzKcOQgP.js";
11
- import "../deno-BK6V-mVv.js";
12
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-B1eNwQHR.js";
11
+ import "../deno-9yc0TPBI.js";
12
+ import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-FZ0T8vIp.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import { RouterError } from "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-DMDPuBvu.js";
17
- import { signRequest, verifyRequest } from "../http-BdTAb5eo.js";
18
- import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-GzHHbenY.js";
19
- import { doesActorOwnKey } from "../owner-D6CF3IA2.js";
20
- import { signObject, verifyObject } from "../proof-DPTo2DIO.js";
21
- import { getAuthenticatedDocumentLoader } from "../docloader-bdK0wJzL.js";
16
+ import "../key-DFG6tJgw.js";
17
+ import { signRequest, verifyRequest } from "../http-CpvoK0Y7.js";
18
+ import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-DVnRS9IK.js";
19
+ import { doesActorOwnKey } from "../owner-MCqkZ1KE.js";
20
+ import { signObject, verifyObject } from "../proof-D2B3jvnF.js";
21
+ import { getAuthenticatedDocumentLoader } from "../docloader-6Wrqp6SE.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import "../inbox-BRWzIn32.js";
24
- import "../builder-BfK-B_rY.js";
23
+ import "../inbox-DMq3a5bc.js";
24
+ import "../builder-BBucr-Bp.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-C7k8s1Bk.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-CTuPNNHX.js";
29
+ import "../send-DtP5YkuY.js";
30
30
  import { assertStrictEquals } from "../std__assert-DWivtrGR.js";
31
31
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
32
32
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -3,12 +3,12 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  require('../transformers-3g8GZwkZ.cjs');
6
- require('../http-BRhVje28.cjs');
7
- const require_middleware = require('../middleware-B3JASeZS.cjs');
8
- require('../proof-DsfKN-SH.cjs');
6
+ require('../http-C_9L2wFv.cjs');
7
+ const require_middleware = require('../middleware-pUJBhWSu.cjs');
8
+ require('../proof-BF_LZjDb.cjs');
9
9
  const require_federation = require('../federation-Bp3HI26G.cjs');
10
10
  require('../types-Cd_hszr_.cjs');
11
- require('../kv-cache-CgyiG0xt.cjs');
11
+ require('../kv-cache-BHoLc85Z.cjs');
12
12
 
13
13
  exports.InProcessMessageQueue = require_federation.InProcessMessageQueue;
14
14
  exports.MemoryKvStore = require_federation.MemoryKvStore;
@@ -3,11 +3,11 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
5
  import "../transformers-C3FLHUd6.js";
6
- import "../http-DLuHtnwl.js";
7
- import { Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-BZ8dLhUf.js";
8
- import "../proof-CZLHDMki.js";
6
+ import "../http-DxwzIU0F.js";
7
+ import { Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-D6peKsn1.js";
8
+ import "../proof-ooYMfVCa.js";
9
9
  import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-DaMfqRm4.js";
10
10
  import "../types-C93Ob9cU.js";
11
- import "../kv-cache-CiAEBmtM.js";
11
+ import "../kv-cache-CRRUsyJ9.js";
12
12
 
13
13
  export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable };
@@ -7,11 +7,11 @@ import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-B5f6
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 "../deno-BK6V-mVv.js";
11
- import "../key-DMDPuBvu.js";
12
- import { verifyRequest } from "../http-BdTAb5eo.js";
13
- import { doesActorOwnKey } from "../owner-D6CF3IA2.js";
14
- import { SendActivityError, extractInboxes, sendActivity } from "../send-CTuPNNHX.js";
10
+ import "../deno-9yc0TPBI.js";
11
+ import "../key-DFG6tJgw.js";
12
+ import { verifyRequest } from "../http-CpvoK0Y7.js";
13
+ import { doesActorOwnKey } from "../owner-MCqkZ1KE.js";
14
+ import { SendActivityError, extractInboxes, sendActivity } from "../send-DtP5YkuY.js";
15
15
  import "../std__assert-DWivtrGR.js";
16
16
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
17
17
  import "../assert_throws-BNXdRGWP.js";
@@ -8,25 +8,25 @@ 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-QzKcOQgP.js";
11
- import "../deno-BK6V-mVv.js";
12
- import { createFederation, handleWebFinger } from "../middleware-B1eNwQHR.js";
11
+ import "../deno-9yc0TPBI.js";
12
+ import { createFederation, handleWebFinger } from "../middleware-FZ0T8vIp.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-DMDPuBvu.js";
17
- import "../http-BdTAb5eo.js";
18
- import "../ld-GzHHbenY.js";
19
- import "../owner-D6CF3IA2.js";
20
- import "../proof-DPTo2DIO.js";
21
- import "../docloader-bdK0wJzL.js";
16
+ import "../key-DFG6tJgw.js";
17
+ import "../http-CpvoK0Y7.js";
18
+ import "../ld-DVnRS9IK.js";
19
+ import "../owner-MCqkZ1KE.js";
20
+ import "../proof-D2B3jvnF.js";
21
+ import "../docloader-6Wrqp6SE.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import "../inbox-BRWzIn32.js";
24
- import "../builder-BfK-B_rY.js";
23
+ import "../inbox-DMq3a5bc.js";
24
+ import "../builder-BBucr-Bp.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-C7k8s1Bk.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-CTuPNNHX.js";
29
+ import "../send-DtP5YkuY.js";
30
30
  import "../std__assert-DWivtrGR.js";
31
31
  import "../assert_rejects-Ce45JcFg.js";
32
32
  import "../assert_throws-BNXdRGWP.js";
@@ -14,7 +14,7 @@ const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runt
14
14
 
15
15
  //#region deno.json
16
16
  var name = "@fedify/fedify";
17
- var version = "2.1.0-dev.530+3f7f470a";
17
+ var version = "2.1.0-dev.543+e09fd1b4";
18
18
  var license = "MIT";
19
19
  var exports$1 = {
20
20
  ".": "./src/mod.ts",
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-BK6V-mVv.js";
7
- import { fetchKeyDetailed, validateCryptoKey } from "./key-DMDPuBvu.js";
6
+ import { deno_default } from "./deno-9yc0TPBI.js";
7
+ import { fetchKeyDetailed, validateCryptoKey } from "./key-DFG6tJgw.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { CryptographicKey } from "@fedify/vocab";
10
10
  import { SpanStatusCode, trace } from "@opentelemetry/api";
@@ -13,7 +13,7 @@ import { FetchError, getDocumentLoader } from "@fedify/vocab-runtime";
13
13
 
14
14
  //#region deno.json
15
15
  var name = "@fedify/fedify";
16
- var version = "2.1.0-dev.530+3f7f470a";
16
+ var version = "2.1.0-dev.543+e09fd1b4";
17
17
  var license = "MIT";
18
18
  var exports = {
19
19
  ".": "./src/mod.ts",
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-BK6V-mVv.js";
6
+ import { deno_default } from "./deno-9yc0TPBI.js";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
  import { Activity, getTypeId } from "@fedify/vocab";
9
9
  import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-BK6V-mVv.js";
6
+ import { deno_default } from "./deno-9yc0TPBI.js";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
  import { CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
9
9
  import { FetchError, getDocumentLoader } from "@fedify/vocab-runtime";
@@ -3,7 +3,7 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  const require_chunk = require('./chunk-CGaQZ11T.cjs');
6
- const require_http = require('./http-BRhVje28.cjs');
6
+ const require_http = require('./http-C_9L2wFv.cjs');
7
7
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
8
8
  const es_toolkit = require_chunk.__toESM(require("es-toolkit"));
9
9
  const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { doubleKnock, validateCryptoKey } from "./http-DLuHtnwl.js";
5
+ import { doubleKnock, validateCryptoKey } from "./http-DxwzIU0F.js";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { curry } from "es-toolkit";
8
8
  import { UrlError, createActivityPubRequest, getRemoteDocument, logRequest, preloadedContexts, validatePublicUrl } from "@fedify/vocab-runtime";
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-BK6V-mVv.js";
7
- import { fetchKey, validateCryptoKey } from "./key-DMDPuBvu.js";
6
+ import { deno_default } from "./deno-9yc0TPBI.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-DFG6tJgw.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { Activity, CryptographicKey, Object as Object$1, getTypeId } from "@fedify/vocab";
10
10
  import { getDocumentLoader } from "@fedify/vocab-runtime";
@@ -3,10 +3,10 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
5
  import "./transformers-C3FLHUd6.js";
6
- import "./http-DLuHtnwl.js";
7
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-BZ8dLhUf.js";
8
- import "./proof-CZLHDMki.js";
6
+ import "./http-DxwzIU0F.js";
7
+ import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-D6peKsn1.js";
8
+ import "./proof-ooYMfVCa.js";
9
9
  import "./types-C93Ob9cU.js";
10
- import "./kv-cache-CiAEBmtM.js";
10
+ import "./kv-cache-CRRUsyJ9.js";
11
11
 
12
12
  export { FederationImpl };
@@ -3,10 +3,10 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
5
  import { getDefaultActivityTransformers } from "./transformers-C3FLHUd6.js";
6
- import { deno_default, doubleKnock, exportJwk, importJwk, validateCryptoKey, verifyRequest, verifyRequestDetailed } from "./http-DLuHtnwl.js";
7
- import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-CZLHDMki.js";
6
+ import { deno_default, doubleKnock, exportJwk, importJwk, validateCryptoKey, verifyRequest, verifyRequestDetailed } from "./http-DxwzIU0F.js";
7
+ import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-ooYMfVCa.js";
8
8
  import { getNodeInfo, nodeInfoToJson } from "./types-C93Ob9cU.js";
9
- import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-CiAEBmtM.js";
9
+ import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-CRRUsyJ9.js";
10
10
  import { getLogger, withContext } from "@logtape/logtape";
11
11
  import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId, lookupObject, traverseCollection } from "@fedify/vocab";
12
12
  import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
@@ -339,7 +339,7 @@ var FederationBuilderImpl = class {
339
339
  this.collectionTypeIds = {};
340
340
  }
341
341
  async build(options) {
342
- const { FederationImpl: FederationImpl$1 } = await import("./middleware-DhcnNc2d.js");
342
+ const { FederationImpl: FederationImpl$1 } = await import("./middleware-CAk-LkSS.js");
343
343
  const f = new FederationImpl$1(options);
344
344
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
345
345
  f.router = this.router.clone();
@@ -0,0 +1,12 @@
1
+
2
+ const { Temporal } = require("@js-temporal/polyfill");
3
+ const { URLPattern } = require("urlpattern-polyfill");
4
+
5
+ require('./transformers-3g8GZwkZ.cjs');
6
+ require('./http-C_9L2wFv.cjs');
7
+ const require_middleware = require('./middleware-pUJBhWSu.cjs');
8
+ require('./proof-BF_LZjDb.cjs');
9
+ require('./types-Cd_hszr_.cjs');
10
+ require('./kv-cache-BHoLc85Z.cjs');
11
+
12
+ exports.FederationImpl = require_middleware.FederationImpl;
@@ -3,24 +3,24 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-BK6V-mVv.js";
6
+ import { deno_default } from "./deno-9yc0TPBI.js";
7
7
  import { getNodeInfo } from "./client-Dg7OfUDA.js";
8
8
  import { RouterError } from "./router-D9eI0s4b.js";
9
9
  import { nodeInfoToJson } from "./types-CPz01LGH.js";
10
- import { exportJwk, importJwk, validateCryptoKey } from "./key-DMDPuBvu.js";
11
- import { verifyRequest, verifyRequestDetailed } from "./http-BdTAb5eo.js";
12
- import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-GzHHbenY.js";
13
- import { doesActorOwnKey, getKeyOwner } from "./owner-D6CF3IA2.js";
14
- import { signObject, verifyObject } from "./proof-DPTo2DIO.js";
15
- import { getAuthenticatedDocumentLoader } from "./docloader-bdK0wJzL.js";
10
+ import { exportJwk, importJwk, validateCryptoKey } from "./key-DFG6tJgw.js";
11
+ import { verifyRequest, verifyRequestDetailed } from "./http-CpvoK0Y7.js";
12
+ import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-DVnRS9IK.js";
13
+ import { doesActorOwnKey, getKeyOwner } from "./owner-MCqkZ1KE.js";
14
+ import { signObject, verifyObject } from "./proof-D2B3jvnF.js";
15
+ import { getAuthenticatedDocumentLoader } from "./docloader-6Wrqp6SE.js";
16
16
  import { kvCache } from "./kv-cache-B__dHl7g.js";
17
- import { routeActivity } from "./inbox-BRWzIn32.js";
18
- import { FederationBuilderImpl } from "./builder-BfK-B_rY.js";
17
+ import { routeActivity } from "./inbox-DMq3a5bc.js";
18
+ import { FederationBuilderImpl } from "./builder-BBucr-Bp.js";
19
19
  import { buildCollectionSynchronizationHeader } from "./collection-CcnIw1qY.js";
20
20
  import { KvKeyCache } from "./keycache-C7k8s1Bk.js";
21
21
  import { acceptsJsonLd } from "./negotiation-5NPJL6zp.js";
22
22
  import { createExponentialBackoffPolicy } from "./retry-D4GJ670a.js";
23
- import { SendActivityError, extractInboxes, sendActivity } from "./send-CTuPNNHX.js";
23
+ import { SendActivityError, extractInboxes, sendActivity } from "./send-DtP5YkuY.js";
24
24
  import { getLogger, withContext } from "@logtape/logtape";
25
25
  import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId, lookupObject, traverseCollection } from "@fedify/vocab";
26
26
  import { FetchError, getDocumentLoader } from "@fedify/vocab-runtime";
@@ -3,24 +3,24 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "./deno-BK6V-mVv.js";
7
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-B1eNwQHR.js";
6
+ import "./deno-9yc0TPBI.js";
7
+ import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-FZ0T8vIp.js";
8
8
  import "./client-Dg7OfUDA.js";
9
9
  import "./router-D9eI0s4b.js";
10
10
  import "./types-CPz01LGH.js";
11
- import "./key-DMDPuBvu.js";
12
- import "./http-BdTAb5eo.js";
13
- import "./ld-GzHHbenY.js";
14
- import "./owner-D6CF3IA2.js";
15
- import "./proof-DPTo2DIO.js";
16
- import "./docloader-bdK0wJzL.js";
11
+ import "./key-DFG6tJgw.js";
12
+ import "./http-CpvoK0Y7.js";
13
+ import "./ld-DVnRS9IK.js";
14
+ import "./owner-MCqkZ1KE.js";
15
+ import "./proof-D2B3jvnF.js";
16
+ import "./docloader-6Wrqp6SE.js";
17
17
  import "./kv-cache-B__dHl7g.js";
18
- import "./inbox-BRWzIn32.js";
19
- import "./builder-BfK-B_rY.js";
18
+ import "./inbox-DMq3a5bc.js";
19
+ import "./builder-BBucr-Bp.js";
20
20
  import "./collection-CcnIw1qY.js";
21
21
  import "./keycache-C7k8s1Bk.js";
22
22
  import "./negotiation-5NPJL6zp.js";
23
23
  import "./retry-D4GJ670a.js";
24
- import "./send-CTuPNNHX.js";
24
+ import "./send-DtP5YkuY.js";
25
25
 
26
26
  export { FederationImpl };
@@ -4,10 +4,10 @@
4
4
 
5
5
  const require_chunk = require('./chunk-CGaQZ11T.cjs');
6
6
  const require_transformers = require('./transformers-3g8GZwkZ.cjs');
7
- const require_http = require('./http-BRhVje28.cjs');
8
- const require_proof = require('./proof-DsfKN-SH.cjs');
7
+ const require_http = require('./http-C_9L2wFv.cjs');
8
+ const require_proof = require('./proof-BF_LZjDb.cjs');
9
9
  const require_types = require('./types-Cd_hszr_.cjs');
10
- const require_kv_cache = require('./kv-cache-CgyiG0xt.cjs');
10
+ const require_kv_cache = require('./kv-cache-BHoLc85Z.cjs');
11
11
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
12
12
  const __fedify_vocab = require_chunk.__toESM(require("@fedify/vocab"));
13
13
  const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
@@ -340,7 +340,7 @@ var FederationBuilderImpl = class {
340
340
  this.collectionTypeIds = {};
341
341
  }
342
342
  async build(options) {
343
- const { FederationImpl: FederationImpl$1 } = await Promise.resolve().then(() => require("./middleware-Fh4BUCD2.cjs"));
343
+ const { FederationImpl: FederationImpl$1 } = await Promise.resolve().then(() => require("./middleware-D7yrgd0I.cjs"));
344
344
  const f = new FederationImpl$1(options);
345
345
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
346
346
  f.router = this.router.clone();
package/dist/mod.cjs CHANGED
@@ -5,12 +5,12 @@
5
5
  const require_chunk = require('./chunk-CGaQZ11T.cjs');
6
6
  const require_transformers = require('./transformers-3g8GZwkZ.cjs');
7
7
  require('./compat-DmDDELst.cjs');
8
- const require_http = require('./http-BRhVje28.cjs');
9
- const require_middleware = require('./middleware-B3JASeZS.cjs');
10
- const require_proof = require('./proof-DsfKN-SH.cjs');
8
+ const require_http = require('./http-C_9L2wFv.cjs');
9
+ const require_middleware = require('./middleware-pUJBhWSu.cjs');
10
+ const require_proof = require('./proof-BF_LZjDb.cjs');
11
11
  const require_federation = require('./federation-Bp3HI26G.cjs');
12
12
  const require_types = require('./types-Cd_hszr_.cjs');
13
- const require_kv_cache = require('./kv-cache-CgyiG0xt.cjs');
13
+ const require_kv_cache = require('./kv-cache-BHoLc85Z.cjs');
14
14
  require('./nodeinfo-DuMYTpbZ.cjs');
15
15
  const require_runtime = require('./runtime-c2Njxsry.cjs');
16
16
  require('./sig-vX39WyWI.cjs');
package/dist/mod.js CHANGED
@@ -5,12 +5,12 @@
5
5
  import { __export, __reExport } from "./chunk-DJNbSFdH.js";
6
6
  import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-C3FLHUd6.js";
7
7
  import "./compat-Bb4NuTUO.js";
8
- import { exportJwk, fetchKey, fetchKeyDetailed, generateCryptoKeyPair, importJwk, signRequest, verifyRequest, verifyRequestDetailed } from "./http-DLuHtnwl.js";
9
- import { Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-BZ8dLhUf.js";
10
- import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-CZLHDMki.js";
8
+ import { exportJwk, fetchKey, fetchKeyDetailed, generateCryptoKeyPair, importJwk, signRequest, verifyRequest, verifyRequestDetailed } from "./http-DxwzIU0F.js";
9
+ import { Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-D6peKsn1.js";
10
+ import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-ooYMfVCa.js";
11
11
  import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-DaMfqRm4.js";
12
12
  import { getNodeInfo, nodeInfoToJson, parseNodeInfo } from "./types-C93Ob9cU.js";
13
- import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-CiAEBmtM.js";
13
+ import { getAuthenticatedDocumentLoader, kvCache } from "./kv-cache-CRRUsyJ9.js";
14
14
  import "./nodeinfo-DoESQxq5.js";
15
15
  import { runtime_exports } from "./runtime-poamPCMb.js";
16
16
  import "./sig-BNhspNOf.js";
@@ -8,25 +8,25 @@ 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-QzKcOQgP.js";
11
- import "../deno-BK6V-mVv.js";
12
- import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-B1eNwQHR.js";
11
+ import "../deno-9yc0TPBI.js";
12
+ import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-FZ0T8vIp.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-DMDPuBvu.js";
17
- import "../http-BdTAb5eo.js";
18
- import "../ld-GzHHbenY.js";
19
- import "../owner-D6CF3IA2.js";
20
- import "../proof-DPTo2DIO.js";
21
- import "../docloader-bdK0wJzL.js";
16
+ import "../key-DFG6tJgw.js";
17
+ import "../http-CpvoK0Y7.js";
18
+ import "../ld-DVnRS9IK.js";
19
+ import "../owner-MCqkZ1KE.js";
20
+ import "../proof-D2B3jvnF.js";
21
+ import "../docloader-6Wrqp6SE.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import "../inbox-BRWzIn32.js";
24
- import "../builder-BfK-B_rY.js";
23
+ import "../inbox-DMq3a5bc.js";
24
+ import "../builder-BBucr-Bp.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-C7k8s1Bk.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-CTuPNNHX.js";
29
+ import "../send-DtP5YkuY.js";
30
30
  import "../std__assert-DWivtrGR.js";
31
31
  import "../assert_rejects-Ce45JcFg.js";
32
32
  import "../assert_throws-BNXdRGWP.js";
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-BK6V-mVv.js";
6
+ import { deno_default } from "./deno-9yc0TPBI.js";
7
7
  import { CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
8
8
  import { getDocumentLoader } from "@fedify/vocab-runtime";
9
9
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
@@ -3,7 +3,7 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  const require_chunk = require('./chunk-CGaQZ11T.cjs');
6
- const require_http = require('./http-BRhVje28.cjs');
6
+ const require_http = require('./http-C_9L2wFv.cjs');
7
7
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
8
8
  const __fedify_vocab = require_chunk.__toESM(require("@fedify/vocab"));
9
9
  const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-BK6V-mVv.js";
7
- import { fetchKey, validateCryptoKey } from "./key-DMDPuBvu.js";
6
+ import { deno_default } from "./deno-9yc0TPBI.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-DFG6tJgw.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { Activity, DataIntegrityProof, Multikey, getTypeId } from "@fedify/vocab";
10
10
  import { SpanStatusCode, trace } from "@opentelemetry/api";
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { deno_default, fetchKey, validateCryptoKey } from "./http-DLuHtnwl.js";
5
+ import { deno_default, fetchKey, validateCryptoKey } from "./http-DxwzIU0F.js";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "@fedify/vocab";
8
8
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-BK6V-mVv.js";
7
- import { doubleKnock } from "./http-BdTAb5eo.js";
6
+ import { deno_default } from "./deno-9yc0TPBI.js";
7
+ import { doubleKnock } from "./http-CpvoK0Y7.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
10
10
 
@@ -7,9 +7,9 @@ import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-B5f6
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 "../deno-BK6V-mVv.js";
11
- import { exportJwk } from "../key-DMDPuBvu.js";
12
- import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest, verifyRequestDetailed } from "../http-BdTAb5eo.js";
10
+ import "../deno-9yc0TPBI.js";
11
+ import { exportJwk } from "../key-DFG6tJgw.js";
12
+ import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest, verifyRequestDetailed } from "../http-CpvoK0Y7.js";
13
13
  import { assertExists, assertStringIncludes } from "../std__assert-DWivtrGR.js";
14
14
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
15
15
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -7,8 +7,8 @@ import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-B5f6
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 "../deno-BK6V-mVv.js";
11
- import { exportJwk, fetchKey, fetchKeyDetailed, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-DMDPuBvu.js";
10
+ import "../deno-9yc0TPBI.js";
11
+ import { exportJwk, fetchKey, fetchKeyDetailed, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-DFG6tJgw.js";
12
12
  import "../std__assert-DWivtrGR.js";
13
13
  import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
14
14
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -6,9 +6,9 @@
6
6
  import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
- import "../deno-BK6V-mVv.js";
10
- import { generateCryptoKeyPair } from "../key-DMDPuBvu.js";
11
- import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-GzHHbenY.js";
9
+ import "../deno-9yc0TPBI.js";
10
+ import { generateCryptoKeyPair } from "../key-DFG6tJgw.js";
11
+ import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-DVnRS9IK.js";
12
12
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
13
13
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
14
14
  import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-ZbcByPg9.js";
package/dist/sig/mod.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
  const { Temporal } = require("@js-temporal/polyfill");
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
- const require_http = require('../http-BRhVje28.cjs');
6
- const require_proof = require('../proof-DsfKN-SH.cjs');
5
+ const require_http = require('../http-C_9L2wFv.cjs');
6
+ const require_proof = require('../proof-BF_LZjDb.cjs');
7
7
  require('../sig-vX39WyWI.cjs');
8
8
 
9
9
  exports.attachSignature = require_proof.attachSignature;
package/dist/sig/mod.js CHANGED
@@ -2,8 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { exportJwk, fetchKey, fetchKeyDetailed, generateCryptoKeyPair, importJwk, signRequest, verifyRequest, verifyRequestDetailed } from "../http-DLuHtnwl.js";
6
- import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-CZLHDMki.js";
5
+ import { exportJwk, fetchKey, fetchKeyDetailed, generateCryptoKeyPair, importJwk, signRequest, verifyRequest, verifyRequestDetailed } from "../http-DxwzIU0F.js";
6
+ import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-ooYMfVCa.js";
7
7
  import "../sig-BNhspNOf.js";
8
8
 
9
9
  export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
@@ -7,9 +7,9 @@ import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-B5f6
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 "../deno-BK6V-mVv.js";
11
- import "../key-DMDPuBvu.js";
12
- import { doesActorOwnKey, getKeyOwner } from "../owner-D6CF3IA2.js";
10
+ import "../deno-9yc0TPBI.js";
11
+ import "../key-DFG6tJgw.js";
12
+ import { doesActorOwnKey, getKeyOwner } from "../owner-MCqkZ1KE.js";
13
13
  import "../std__assert-DWivtrGR.js";
14
14
  import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
15
15
  import "../assert_throws-BNXdRGWP.js";
@@ -7,9 +7,9 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.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 "../deno-BK6V-mVv.js";
11
- import "../key-DMDPuBvu.js";
12
- import { createProof, signObject, verifyObject, verifyProof } from "../proof-DPTo2DIO.js";
10
+ import "../deno-9yc0TPBI.js";
11
+ import "../key-DFG6tJgw.js";
12
+ import { createProof, signObject, verifyObject, verifyProof } from "../proof-D2B3jvnF.js";
13
13
  import "../std__assert-DWivtrGR.js";
14
14
  import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
15
15
  import "../assert_throws-BNXdRGWP.js";
@@ -56,7 +56,7 @@ test("createProof()", async () => {
56
56
  assertEquals(proof.verificationMethodId, ed25519PublicKey.id);
57
57
  assertEquals(proof.proofPurpose, "assertionMethod");
58
58
  console.log(encodeHex(proof.proofValue));
59
- assertEquals(proof.proofValue, decodeHex("203e6afc5b7c6affe08d2d67ad100cc6cdcf1f5a438063d16766204956aa8fdd67cc04088ccf69de36225cab19377b5a032542fd2454b9b9dd001ffbdef5aa03"));
59
+ assertEquals(proof.proofValue, decodeHex("860dda2bec0ab493ae9b0223ac4133ee82246d7d75d6505be2d6c53755a34454dcb05feae02403ac51faf853d2e873d467f32a252d3b15a9f025e3ed0750b90b"));
60
60
  assertEquals(proof.created, created);
61
61
  assertEquals(await verifyProof(await create.toJsonLd({
62
62
  format: "compact",
@@ -7,10 +7,10 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.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 "../deno-BK6V-mVv.js";
11
- import "../key-DMDPuBvu.js";
12
- import { verifyRequest } from "../http-BdTAb5eo.js";
13
- import { getAuthenticatedDocumentLoader } from "../docloader-bdK0wJzL.js";
10
+ import "../deno-9yc0TPBI.js";
11
+ import "../key-DFG6tJgw.js";
12
+ import { verifyRequest } from "../http-CpvoK0Y7.js";
13
+ import { getAuthenticatedDocumentLoader } from "../docloader-6Wrqp6SE.js";
14
14
  import "../std__assert-DWivtrGR.js";
15
15
  import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
16
16
  import "../assert_throws-BNXdRGWP.js";
@@ -2,8 +2,8 @@
2
2
  const { Temporal } = require("@js-temporal/polyfill");
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
- require('../http-BRhVje28.cjs');
6
- const require_kv_cache = require('../kv-cache-CgyiG0xt.cjs');
5
+ require('../http-C_9L2wFv.cjs');
6
+ const require_kv_cache = require('../kv-cache-BHoLc85Z.cjs');
7
7
  require('../utils-BQ9KqEK9.cjs');
8
8
 
9
9
  exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
package/dist/utils/mod.js CHANGED
@@ -2,8 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../http-DLuHtnwl.js";
6
- import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-CiAEBmtM.js";
5
+ import "../http-DxwzIU0F.js";
6
+ import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-CRRUsyJ9.js";
7
7
  import "../utils-Dn5OPdSW.js";
8
8
 
9
9
  export { getAuthenticatedDocumentLoader, kvCache };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "2.1.0-dev.530+3f7f470a",
3
+ "version": "2.1.0-dev.543+e09fd1b4",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -145,9 +145,9 @@
145
145
  "uri-template-router": "^1.0.0",
146
146
  "url-template": "^3.1.1",
147
147
  "urlpattern-polyfill": "^10.1.0",
148
- "@fedify/vocab-runtime": "2.1.0-dev.530+3f7f470a",
149
- "@fedify/vocab": "2.1.0-dev.530+3f7f470a",
150
- "@fedify/webfinger": "2.1.0-dev.530+3f7f470a"
148
+ "@fedify/vocab": "2.1.0-dev.543+e09fd1b4",
149
+ "@fedify/vocab-runtime": "2.1.0-dev.543+e09fd1b4",
150
+ "@fedify/webfinger": "2.1.0-dev.543+e09fd1b4"
151
151
  },
152
152
  "devDependencies": {
153
153
  "@std/assert": "npm:@jsr/std__assert@^0.226.0",
@@ -159,7 +159,7 @@
159
159
  "tsx": "^4.19.4",
160
160
  "typescript": "^5.9.3",
161
161
  "wrangler": "^4.17.0",
162
- "@fedify/vocab-tools": "^2.1.0-dev.530+3f7f470a",
162
+ "@fedify/vocab-tools": "^2.1.0-dev.543+e09fd1b4",
163
163
  "@fedify/fixture": "2.0.0"
164
164
  },
165
165
  "scripts": {
@@ -1,12 +0,0 @@
1
-
2
- const { Temporal } = require("@js-temporal/polyfill");
3
- const { URLPattern } = require("urlpattern-polyfill");
4
-
5
- require('./transformers-3g8GZwkZ.cjs');
6
- require('./http-BRhVje28.cjs');
7
- const require_middleware = require('./middleware-B3JASeZS.cjs');
8
- require('./proof-DsfKN-SH.cjs');
9
- require('./types-Cd_hszr_.cjs');
10
- require('./kv-cache-CgyiG0xt.cjs');
11
-
12
- exports.FederationImpl = require_middleware.FederationImpl;