@fedify/fedify 1.7.9 → 1.7.10

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 (113) hide show
  1. package/dist/{actor-lW38sC2T.js → actor-C9RnX-Fl.js} +3 -3
  2. package/dist/{actor-BdEyRHSu.js → actor-m_MgQ1Da.js} +179 -179
  3. package/dist/{authdocloader-DNjankdO.js → authdocloader-7OXAs5XI.js} +3 -3
  4. package/dist/{authdocloader-DYTQwADG.js → authdocloader-cdK4XSRT.js} +3 -3
  5. package/dist/{builder-CngxHTRi.js → builder-C7nJE1zO.js} +3 -3
  6. package/dist/{client-BNeCIx9P.js → client-DXIsEekV.js} +1 -1
  7. package/dist/compat/transformers.test.d.ts +2 -1
  8. package/dist/compat/transformers.test.js +19 -18
  9. package/dist/{context-lumX0ZHV.js → context-Bts52fbz.js} +2 -2
  10. package/dist/{docloader-C2i2VJR7.js → docloader-BK2Fp3AJ.js} +2 -2
  11. package/dist/{docloader-BpoDr2rw.js → docloader-CgkbWVNz.js} +2 -2
  12. package/dist/federation/builder.test.d.ts +2 -1
  13. package/dist/federation/builder.test.js +6 -5
  14. package/dist/federation/collection.test.d.ts +2 -1
  15. package/dist/federation/collection.test.js +2 -1
  16. package/dist/federation/handler.test.d.ts +2 -1
  17. package/dist/federation/handler.test.js +21 -20
  18. package/dist/federation/inbox.test.d.ts +2 -1
  19. package/dist/federation/inbox.test.js +5 -4
  20. package/dist/federation/keycache.test.d.ts +2 -1
  21. package/dist/federation/keycache.test.js +5 -4
  22. package/dist/federation/kv.test.d.ts +2 -1
  23. package/dist/federation/kv.test.js +2 -1
  24. package/dist/federation/middleware.test.d.ts +2 -1
  25. package/dist/federation/middleware.test.js +20 -19
  26. package/dist/federation/mod.js +10 -10
  27. package/dist/federation/mq.test.d.ts +2 -1
  28. package/dist/federation/mq.test.js +2 -1
  29. package/dist/federation/retry.test.d.ts +2 -1
  30. package/dist/federation/retry.test.js +2 -1
  31. package/dist/federation/router.test.d.ts +2 -1
  32. package/dist/federation/router.test.js +2 -1
  33. package/dist/federation/send.test.d.ts +2 -1
  34. package/dist/federation/send.test.js +11 -10
  35. package/dist/{http-BiXP97Mg.js → http-CwQqD0nE.js} +3 -3
  36. package/dist/{http-Bf73Pc8n.js → http-D1IBucdD.js} +3 -3
  37. package/dist/{inbox-B6bABfWF.js → inbox-BrMkm2b5.js} +2 -2
  38. package/dist/{key-BkcDQGWw.js → key-C6phFgFq.js} +2 -2
  39. package/dist/{key-B4FI9Pmx.js → key-Do-Pud3s.js} +4 -4
  40. package/dist/{key-CVu3UHNk.js → key-DtQ4rLnr.js} +3 -3
  41. package/dist/{key-sU83wJ27.js → key-ZtjFeVO8.js} +5 -5
  42. package/dist/{keycache-CbYZZGcu.js → keycache-B_99o7Nj.js} +1 -1
  43. package/dist/{keys-DERJJq0n.js → keys-BgLpfFXK.js} +1 -1
  44. package/dist/{ld-DwQsszWL.js → ld-AzOj4-js.js} +3 -3
  45. package/dist/{lookup-Ck4rDA0d.js → lookup-CBbanOdu.js} +3 -3
  46. package/dist/{lookup-MomtMbVM.js → lookup-ChtUDlB-.js} +1 -1
  47. package/dist/{lookup-i_xNGJhe.js → lookup-DJgGrigh.js} +1 -1
  48. package/dist/{middleware-DtP_z9I6.js → middleware-BS_et69x.js} +15 -15
  49. package/dist/middleware-BVMzYv1x.js +33 -0
  50. package/dist/middleware-CnpuCK_K.js +17 -0
  51. package/dist/{middleware-BPdRnvp4.js → middleware-R0UobiAQ.js} +10 -10
  52. package/dist/mod.js +10 -10
  53. package/dist/nodeinfo/client.test.d.ts +2 -1
  54. package/dist/nodeinfo/client.test.js +4 -3
  55. package/dist/nodeinfo/handler.test.d.ts +2 -1
  56. package/dist/nodeinfo/handler.test.js +20 -19
  57. package/dist/nodeinfo/mod.js +2 -2
  58. package/dist/nodeinfo/semver.test.d.ts +2 -1
  59. package/dist/nodeinfo/semver.test.js +2 -1
  60. package/dist/nodeinfo/types.test.d.ts +2 -1
  61. package/dist/nodeinfo/types.test.js +2 -1
  62. package/dist/{owner-7iBuSVl4.js → owner-Ces3Cs3s.js} +3 -3
  63. package/dist/{proof-CtoF37-N.js → proof-BKV4HiE8.js} +3 -3
  64. package/dist/{proof-W7ADUBT9.js → proof-BOQF8Trx.js} +3 -3
  65. package/dist/runtime/authdocloader.test.d.ts +2 -1
  66. package/dist/runtime/authdocloader.test.js +10 -9
  67. package/dist/runtime/docloader.test.d.ts +2 -1
  68. package/dist/runtime/docloader.test.js +27 -2
  69. package/dist/runtime/key.test.d.ts +2 -1
  70. package/dist/runtime/key.test.js +7 -6
  71. package/dist/runtime/langstr.test.d.ts +2 -1
  72. package/dist/runtime/langstr.test.js +2 -1
  73. package/dist/runtime/mod.js +6 -6
  74. package/dist/runtime/multibase/multibase.test.d.ts +2 -1
  75. package/dist/runtime/multibase/multibase.test.js +2 -1
  76. package/dist/runtime/url.test.d.ts +2 -1
  77. package/dist/runtime/url.test.js +2 -1
  78. package/dist/{send-CaHCB-Kf.js → send-aAmnTqe8.js} +2 -2
  79. package/dist/sig/http.test.d.ts +2 -1
  80. package/dist/sig/http.test.js +9 -8
  81. package/dist/sig/key.test.d.ts +2 -1
  82. package/dist/sig/key.test.js +8 -7
  83. package/dist/sig/ld.test.d.ts +2 -1
  84. package/dist/sig/ld.test.js +9 -8
  85. package/dist/sig/mod.js +6 -6
  86. package/dist/sig/owner.test.d.ts +2 -1
  87. package/dist/sig/owner.test.js +10 -9
  88. package/dist/sig/proof.test.d.ts +2 -1
  89. package/dist/sig/proof.test.js +9 -8
  90. package/dist/testing/docloader.test.d.ts +2 -1
  91. package/dist/testing/docloader.test.js +2 -1
  92. package/dist/{types-CJqlYa9v.js → types-DBIKpLqH.js} +1 -1
  93. package/dist/vocab/actor.test.d.ts +2 -1
  94. package/dist/vocab/actor.test.js +6 -6
  95. package/dist/vocab/lookup.test.d.ts +2 -1
  96. package/dist/vocab/lookup.test.js +6 -5
  97. package/dist/vocab/mod.js +4 -4
  98. package/dist/vocab/type.test.d.ts +2 -1
  99. package/dist/vocab/type.test.js +4 -3
  100. package/dist/vocab/vocab.test.d.ts +2 -1
  101. package/dist/vocab/vocab.test.js +19 -18
  102. package/dist/{vocab-b9IZeAzb.js → vocab-BOerhowX.js} +178 -178
  103. package/dist/{vocab-C9CPkYQi.js → vocab-F6vbRsQh.js} +3 -3
  104. package/dist/webfinger/handler.test.d.ts +2 -1
  105. package/dist/webfinger/handler.test.js +20 -19
  106. package/dist/webfinger/lookup.test.d.ts +2 -1
  107. package/dist/webfinger/lookup.test.js +4 -3
  108. package/dist/webfinger/mod.js +2 -2
  109. package/dist/x/cfworkers.test.d.ts +2 -1
  110. package/dist/x/cfworkers.test.js +2 -1
  111. package/package.json +1 -1
  112. package/dist/middleware-BXEwpPLe.js +0 -17
  113. package/dist/middleware-DAbjdD1U.js +0 -33
@@ -3,10 +3,10 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { createRequest, getRemoteDocument, logRequest } from "./docloader-BpoDr2rw.js";
6
+ import { createRequest, getRemoteDocument, logRequest } from "./docloader-CgkbWVNz.js";
7
7
  import { UrlError, validatePublicUrl } from "./url-kTAI6_KP.js";
8
- import { validateCryptoKey } from "./key-CVu3UHNk.js";
9
- import { doubleKnock } from "./http-Bf73Pc8n.js";
8
+ import { validateCryptoKey } from "./key-DtQ4rLnr.js";
9
+ import { doubleKnock } from "./http-D1IBucdD.js";
10
10
  import { getLogger } from "@logtape/logtape";
11
11
 
12
12
  //#region runtime/authdocloader.ts
@@ -2,9 +2,9 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-C2i2VJR7.js";
6
- import { validateCryptoKey } from "./key-BkcDQGWw.js";
7
- import { doubleKnock } from "./http-BiXP97Mg.js";
5
+ import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-BK2Fp3AJ.js";
6
+ import { validateCryptoKey } from "./key-C6phFgFq.js";
7
+ import { doubleKnock } from "./http-CwQqD0nE.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
 
10
10
  //#region runtime/authdocloader.ts
@@ -3,10 +3,10 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./docloader-BpoDr2rw.js";
6
+ import { deno_default } from "./docloader-CgkbWVNz.js";
7
7
  import { Router, RouterError } from "./router-D_aVZZUc.js";
8
8
  import { getTypeId } from "./type-D2s5lmbZ.js";
9
- import { InboxListenerSet } from "./inbox-B6bABfWF.js";
9
+ import { InboxListenerSet } from "./inbox-BrMkm2b5.js";
10
10
  import { getLogger } from "@logtape/logtape";
11
11
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
12
12
 
@@ -34,7 +34,7 @@ var FederationBuilderImpl = class {
34
34
  this.objectTypeIds = {};
35
35
  }
36
36
  async build(options) {
37
- const { FederationImpl } = await import("./middleware-DAbjdD1U.js");
37
+ const { FederationImpl } = await import("./middleware-BVMzYv1x.js");
38
38
  const f = new FederationImpl(options);
39
39
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
40
40
  f.router = this.router.clone();
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { getUserAgent } from "./docloader-BpoDr2rw.js";
6
+ import { getUserAgent } from "./docloader-CgkbWVNz.js";
7
7
  import { parseSemVer } from "./semver-DWClQt_5.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
 
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
8
  import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
9
9
  import { MemoryKvStore } from "../kv-BMY6Qf_A.js";
10
- import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-DtP_z9I6.js";
11
- import "../docloader-BpoDr2rw.js";
10
+ import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-BS_et69x.js";
11
+ import "../docloader-CgkbWVNz.js";
12
12
  import "../url-kTAI6_KP.js";
13
13
  import "../semver-DWClQt_5.js";
14
- import "../client-BNeCIx9P.js";
14
+ import "../client-DXIsEekV.js";
15
15
  import "../router-D_aVZZUc.js";
16
16
  import "../types-C7C_l-jz.js";
17
17
  import "../multibase-DeCHcK8L.js";
18
- import { Follow, Person } from "../vocab-b9IZeAzb.js";
18
+ import { Follow, Person } from "../vocab-BOerhowX.js";
19
19
  import "../langstr-DbWheeIS.js";
20
- import "../lookup-MomtMbVM.js";
20
+ import "../lookup-ChtUDlB-.js";
21
21
  import "../type-D2s5lmbZ.js";
22
- import "../actor-lW38sC2T.js";
23
- import "../key-CVu3UHNk.js";
24
- import "../http-Bf73Pc8n.js";
25
- import "../authdocloader-DNjankdO.js";
26
- import "../ld-DwQsszWL.js";
27
- import "../owner-7iBuSVl4.js";
28
- import "../proof-W7ADUBT9.js";
29
- import "../lookup-Ck4rDA0d.js";
30
- import "../inbox-B6bABfWF.js";
31
- import "../builder-CngxHTRi.js";
22
+ import "../actor-C9RnX-Fl.js";
23
+ import "../key-DtQ4rLnr.js";
24
+ import "../http-D1IBucdD.js";
25
+ import "../authdocloader-7OXAs5XI.js";
26
+ import "../ld-AzOj4-js.js";
27
+ import "../owner-Ces3Cs3s.js";
28
+ import "../proof-BOQF8Trx.js";
29
+ import "../lookup-CBbanOdu.js";
30
+ import "../inbox-BrMkm2b5.js";
31
+ import "../builder-C7nJE1zO.js";
32
32
  import "../collection-Dfb0TPno.js";
33
- import "../keycache-CbYZZGcu.js";
33
+ import "../keycache-B_99o7Nj.js";
34
34
  import "../retry-BiIhZWgD.js";
35
- import "../send-CaHCB-Kf.js";
35
+ import "../send-aAmnTqe8.js";
36
36
  import { test } from "../testing-BZ0dJ4qn.js";
37
37
 
38
38
  //#region compat/transformers.test.ts
@@ -90,4 +90,5 @@ test("actorDehydrator()", async () => {
90
90
  }).toJsonLd());
91
91
  });
92
92
 
93
- //#endregion
93
+ //#endregion
94
+ export { };
@@ -4,8 +4,8 @@
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
6
  import { RouterError } from "./router-D_aVZZUc.js";
7
- import { lookupWebFinger } from "./lookup-MomtMbVM.js";
8
- import { lookupObject, traverseCollection } from "./lookup-Ck4rDA0d.js";
7
+ import { lookupWebFinger } from "./lookup-ChtUDlB-.js";
8
+ import { lookupObject, traverseCollection } from "./lookup-CBbanOdu.js";
9
9
  import { mockDocumentLoader } from "./docloader-09nVWLAZ.js";
10
10
  import { trace } from "@opentelemetry/api";
11
11
 
@@ -10,7 +10,7 @@ import { isIP } from "node:net";
10
10
 
11
11
  //#region deno.json
12
12
  var name = "@fedify/fedify";
13
- var version = "1.7.9";
13
+ var version = "1.7.10";
14
14
  var license = "MIT";
15
15
  var exports = {
16
16
  ".": "./mod.ts",
@@ -4420,7 +4420,7 @@ async function getRemoteDocument(url, response, fetch$1) {
4420
4420
  }
4421
4421
  let document;
4422
4422
  if (!jsonLd && (contentType === "text/html" || contentType?.startsWith("text/html;") || contentType === "application/xhtml+xml" || contentType?.startsWith("application/xhtml+xml;"))) {
4423
- const p = /<(a|link)((\s+[a-z][a-z:_-]*=("[^"]*"|'[^']*'|[^\s>]+))+)\/?>/gi;
4423
+ const p = /<(a|link)((\s+[a-z][a-z:_-]*=("[^"]*"|'[^']*'|[^\s>]+))+)\s*\/?>/gi;
4424
4424
  const p2 = /\s+([a-z][a-z:_-]*)=("([^"]*)"|'([^']*)'|([^\s>]+))/gi;
4425
4425
  const html = await response.text();
4426
4426
  let m;
@@ -10,7 +10,7 @@ import process from "node:process";
10
10
 
11
11
  //#region deno.json
12
12
  var name = "@fedify/fedify";
13
- var version = "1.7.9";
13
+ var version = "1.7.10";
14
14
  var license = "MIT";
15
15
  var exports = {
16
16
  ".": "./mod.ts",
@@ -4361,7 +4361,7 @@ async function getRemoteDocument(url, response, fetch$1) {
4361
4361
  }
4362
4362
  let document;
4363
4363
  if (!jsonLd && (contentType === "text/html" || contentType?.startsWith("text/html;") || contentType === "application/xhtml+xml" || contentType?.startsWith("application/xhtml+xml;"))) {
4364
- const p = /<(a|link)((\s+[a-z][a-z:_-]*=("[^"]*"|'[^']*'|[^\s>]+))+)\/?>/gi;
4364
+ const p = /<(a|link)((\s+[a-z][a-z:_-]*=("[^"]*"|'[^']*'|[^\s>]+))+)\s*\/?>/gi;
4365
4365
  const p2 = /\s+([a-z][a-z:_-]*)=("([^"]*)"|'([^']*)'|([^\s>]+))/gi;
4366
4366
  const html = await response.text();
4367
4367
  let m;
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -7,16 +7,16 @@ import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import "../assert-DmFG7ppO.js";
8
8
  import "../assert_instance_of-CF09JHYM.js";
9
9
  import { MemoryKvStore } from "../kv-BMY6Qf_A.js";
10
- import "../docloader-BpoDr2rw.js";
10
+ import "../docloader-CgkbWVNz.js";
11
11
  import "../url-kTAI6_KP.js";
12
12
  import { parseSemVer } from "../semver-DWClQt_5.js";
13
13
  import "../router-D_aVZZUc.js";
14
14
  import "../multibase-DeCHcK8L.js";
15
- import { Activity, Note, Person } from "../vocab-b9IZeAzb.js";
15
+ import { Activity, Note, Person } from "../vocab-BOerhowX.js";
16
16
  import "../langstr-DbWheeIS.js";
17
17
  import "../type-D2s5lmbZ.js";
18
- import "../inbox-B6bABfWF.js";
19
- import { createFederationBuilder } from "../builder-CngxHTRi.js";
18
+ import "../inbox-BrMkm2b5.js";
19
+ import { createFederationBuilder } from "../builder-C7nJE1zO.js";
20
20
  import { test } from "../testing-BZ0dJ4qn.js";
21
21
  import { assertExists } from "../std__assert-vp0TKMS1.js";
22
22
  import "../assert_rejects-C-sxEMM5.js";
@@ -157,4 +157,5 @@ test("FederationBuilder", async (t) => {
157
157
  });
158
158
  });
159
159
 
160
- //#endregion
160
+ //#endregion
161
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -30,4 +30,5 @@ test("buildCollectionSynchronizationHeader()", async () => {
30
30
  assertEquals(header, "collectionId=\"https://testing.example.org/users/1/followers\", url=\"https://testing.example.org/users/1/followers?base-url=https%3A%2F%2Ftesting.example.org%2F\", digest=\"c33f48cd341ef046a206b8a72ec97af65079f9a3a9b90eef79c5920dce45c61f\"");
31
31
  });
32
32
 
33
- //#endregion
33
+ //#endregion
34
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
8
  import "../assert_instance_of-CF09JHYM.js";
9
9
  import { MemoryKvStore } from "../kv-BMY6Qf_A.js";
10
- import { acceptsJsonLd, createFederation, handleActor, handleCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-DtP_z9I6.js";
11
- import "../docloader-BpoDr2rw.js";
10
+ import { acceptsJsonLd, createFederation, handleActor, handleCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-BS_et69x.js";
11
+ import "../docloader-CgkbWVNz.js";
12
12
  import "../url-kTAI6_KP.js";
13
13
  import "../semver-DWClQt_5.js";
14
- import "../client-BNeCIx9P.js";
14
+ import "../client-DXIsEekV.js";
15
15
  import "../router-D_aVZZUc.js";
16
16
  import "../types-C7C_l-jz.js";
17
17
  import "../multibase-DeCHcK8L.js";
18
- import { Create, Note, Person } from "../vocab-b9IZeAzb.js";
18
+ import { Create, Note, Person } from "../vocab-BOerhowX.js";
19
19
  import "../langstr-DbWheeIS.js";
20
- import "../lookup-MomtMbVM.js";
20
+ import "../lookup-ChtUDlB-.js";
21
21
  import "../type-D2s5lmbZ.js";
22
- import "../actor-lW38sC2T.js";
23
- import "../key-CVu3UHNk.js";
24
- import { signRequest } from "../http-Bf73Pc8n.js";
25
- import "../authdocloader-DNjankdO.js";
26
- import "../ld-DwQsszWL.js";
27
- import "../owner-7iBuSVl4.js";
28
- import "../proof-W7ADUBT9.js";
29
- import "../lookup-Ck4rDA0d.js";
30
- import { InboxListenerSet } from "../inbox-B6bABfWF.js";
31
- import "../builder-CngxHTRi.js";
22
+ import "../actor-C9RnX-Fl.js";
23
+ import "../key-DtQ4rLnr.js";
24
+ import { signRequest } from "../http-D1IBucdD.js";
25
+ import "../authdocloader-7OXAs5XI.js";
26
+ import "../ld-AzOj4-js.js";
27
+ import "../owner-Ces3Cs3s.js";
28
+ import "../proof-BOQF8Trx.js";
29
+ import "../lookup-CBbanOdu.js";
30
+ import { InboxListenerSet } from "../inbox-BrMkm2b5.js";
31
+ import "../builder-C7nJE1zO.js";
32
32
  import "../collection-Dfb0TPno.js";
33
- import "../keycache-CbYZZGcu.js";
33
+ import "../keycache-B_99o7Nj.js";
34
34
  import "../retry-BiIhZWgD.js";
35
- import "../send-CaHCB-Kf.js";
35
+ import "../send-aAmnTqe8.js";
36
36
  import { test } from "../testing-BZ0dJ4qn.js";
37
37
  import "../std__assert-vp0TKMS1.js";
38
38
  import { assertFalse } from "../assert_rejects-C-sxEMM5.js";
@@ -40,8 +40,8 @@ import "../assert_is_error-nrwA1GeT.js";
40
40
  import "../assert_not_equals-Dc7y-V5Q.js";
41
41
  import "../assert_throws-Cn9C6Jur.js";
42
42
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
43
- import { createInboxContext, createRequestContext } from "../context-lumX0ZHV.js";
44
- import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-DERJJq0n.js";
43
+ import { createInboxContext, createRequestContext } from "../context-Bts52fbz.js";
44
+ import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-BgLpfFXK.js";
45
45
 
46
46
  //#region federation/handler.test.ts
47
47
  test("acceptsJsonLd()", () => {
@@ -1302,4 +1302,5 @@ test("respondWithObjectIfAcceptable", async () => {
1302
1302
  assertEquals(response, null);
1303
1303
  });
1304
1304
 
1305
- //#endregion
1305
+ //#endregion
1306
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -4,13 +4,13 @@
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
- import "../docloader-BpoDr2rw.js";
7
+ import "../docloader-CgkbWVNz.js";
8
8
  import "../url-kTAI6_KP.js";
9
9
  import "../multibase-DeCHcK8L.js";
10
- import { Activity, Create, Invite, Offer, Update } from "../vocab-b9IZeAzb.js";
10
+ import { Activity, Create, Invite, Offer, Update } from "../vocab-BOerhowX.js";
11
11
  import "../langstr-DbWheeIS.js";
12
12
  import "../type-D2s5lmbZ.js";
13
- import { InboxListenerSet } from "../inbox-B6bABfWF.js";
13
+ import { InboxListenerSet } from "../inbox-BrMkm2b5.js";
14
14
  import { test } from "../testing-BZ0dJ4qn.js";
15
15
  import "../assert_is_error-nrwA1GeT.js";
16
16
  import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
@@ -92,4 +92,5 @@ test("InboxListenerSet", () => {
92
92
  assertThrows(() => listeners.add(Activity, listenActivity), TypeError, "Listener already set for this type.");
93
93
  });
94
94
 
95
- //#endregion
95
+ //#endregion
96
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -7,12 +7,12 @@ import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
8
  import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
9
9
  import { MemoryKvStore } from "../kv-BMY6Qf_A.js";
10
- import "../docloader-BpoDr2rw.js";
10
+ import "../docloader-CgkbWVNz.js";
11
11
  import "../url-kTAI6_KP.js";
12
12
  import "../multibase-DeCHcK8L.js";
13
- import { CryptographicKey, Multikey } from "../vocab-b9IZeAzb.js";
13
+ import { CryptographicKey, Multikey } from "../vocab-BOerhowX.js";
14
14
  import "../langstr-DbWheeIS.js";
15
- import { KvKeyCache } from "../keycache-CbYZZGcu.js";
15
+ import { KvKeyCache } from "../keycache-B_99o7Nj.js";
16
16
  import { test } from "../testing-BZ0dJ4qn.js";
17
17
 
18
18
  //#region federation/keycache.test.ts
@@ -57,4 +57,5 @@ test("KvKeyCache.get()", async () => {
57
57
  assertEquals(await cache.get(new URL("https://example.com/null")), null);
58
58
  });
59
59
 
60
- //#endregion
60
+ //#endregion
61
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -30,4 +30,5 @@ test("MemoryKvStore", async (t) => {
30
30
  });
31
31
  });
32
32
 
33
- //#endregion
33
+ //#endregion
34
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
8
  import { assertInstanceOf } from "../assert_instance_of-CF09JHYM.js";
9
9
  import { MemoryKvStore } from "../kv-BMY6Qf_A.js";
10
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-DtP_z9I6.js";
11
- import { FetchError, fetchDocumentLoader } from "../docloader-BpoDr2rw.js";
10
+ import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-BS_et69x.js";
11
+ import { FetchError, fetchDocumentLoader } from "../docloader-CgkbWVNz.js";
12
12
  import "../url-kTAI6_KP.js";
13
13
  import "../semver-DWClQt_5.js";
14
- import "../client-BNeCIx9P.js";
14
+ import "../client-DXIsEekV.js";
15
15
  import { RouterError } from "../router-D_aVZZUc.js";
16
16
  import "../types-C7C_l-jz.js";
17
17
  import "../multibase-DeCHcK8L.js";
18
- import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person } from "../vocab-b9IZeAzb.js";
18
+ import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person } from "../vocab-BOerhowX.js";
19
19
  import "../langstr-DbWheeIS.js";
20
- import "../lookup-MomtMbVM.js";
20
+ import "../lookup-ChtUDlB-.js";
21
21
  import { getTypeId } from "../type-D2s5lmbZ.js";
22
- import "../actor-lW38sC2T.js";
23
- import "../key-CVu3UHNk.js";
24
- import { signRequest, verifyRequest } from "../http-Bf73Pc8n.js";
25
- import { getAuthenticatedDocumentLoader } from "../authdocloader-DNjankdO.js";
26
- import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-DwQsszWL.js";
27
- import { doesActorOwnKey } from "../owner-7iBuSVl4.js";
28
- import { signObject, verifyObject } from "../proof-W7ADUBT9.js";
29
- import { lookupObject } from "../lookup-Ck4rDA0d.js";
30
- import "../inbox-B6bABfWF.js";
31
- import "../builder-CngxHTRi.js";
22
+ import "../actor-C9RnX-Fl.js";
23
+ import "../key-DtQ4rLnr.js";
24
+ import { signRequest, verifyRequest } from "../http-D1IBucdD.js";
25
+ import { getAuthenticatedDocumentLoader } from "../authdocloader-7OXAs5XI.js";
26
+ import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-AzOj4-js.js";
27
+ import { doesActorOwnKey } from "../owner-Ces3Cs3s.js";
28
+ import { signObject, verifyObject } from "../proof-BOQF8Trx.js";
29
+ import { lookupObject } from "../lookup-CBbanOdu.js";
30
+ import "../inbox-BrMkm2b5.js";
31
+ import "../builder-C7nJE1zO.js";
32
32
  import "../collection-Dfb0TPno.js";
33
- import "../keycache-CbYZZGcu.js";
33
+ import "../keycache-B_99o7Nj.js";
34
34
  import "../retry-BiIhZWgD.js";
35
- import "../send-CaHCB-Kf.js";
35
+ import "../send-aAmnTqe8.js";
36
36
  import { test } from "../testing-BZ0dJ4qn.js";
37
37
  import { assertStrictEquals } from "../std__assert-vp0TKMS1.js";
38
38
  import { assertFalse, assertRejects } from "../assert_rejects-C-sxEMM5.js";
@@ -40,7 +40,7 @@ import "../assert_is_error-nrwA1GeT.js";
40
40
  import { assertNotEquals } from "../assert_not_equals-Dc7y-V5Q.js";
41
41
  import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
42
42
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
43
- import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-DERJJq0n.js";
43
+ import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-BgLpfFXK.js";
44
44
  import { esm_default } from "../esm-Db4De7AS.js";
45
45
 
46
46
  //#region testing/fixtures/example.com/person.json
@@ -1780,4 +1780,5 @@ test("KvSpecDeterminer", async (t) => {
1780
1780
  });
1781
1781
  });
1782
1782
 
1783
- //#endregion
1783
+ //#endregion
1784
+ export { };
@@ -3,16 +3,16 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
5
  import "../transformers-ghwJuzGY.js";
6
- import "../docloader-C2i2VJR7.js";
7
- import "../actor-BdEyRHSu.js";
8
- import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-BPdRnvp4.js";
9
- import "../lookup-i_xNGJhe.js";
10
- import "../key-BkcDQGWw.js";
11
- import "../http-BiXP97Mg.js";
12
- import "../proof-CtoF37-N.js";
6
+ import "../docloader-BK2Fp3AJ.js";
7
+ import "../actor-m_MgQ1Da.js";
8
+ import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-R0UobiAQ.js";
9
+ import "../lookup-DJgGrigh.js";
10
+ import "../key-C6phFgFq.js";
11
+ import "../http-CwQqD0nE.js";
12
+ import "../proof-BKV4HiE8.js";
13
13
  import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-BRIQn-GV.js";
14
- import "../types-CJqlYa9v.js";
15
- import "../authdocloader-DYTQwADG.js";
16
- import "../vocab-C9CPkYQi.js";
14
+ import "../types-DBIKpLqH.js";
15
+ import "../authdocloader-cdK4XSRT.js";
16
+ import "../vocab-F6vbRsQh.js";
17
17
 
18
18
  export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -328,4 +328,5 @@ async function waitFor(predicate, timeoutMs) {
328
328
  }
329
329
  }
330
330
 
331
- //#endregion
331
+ //#endregion
332
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -41,4 +41,5 @@ function assertDurationRange(actual, min, max) {
41
41
  if (Temporal.Duration.compare(actual, minDuration) < 0 || Temporal.Duration.compare(actual, maxDuration) > 0) throw new AssertionError(`Expected ${actual} to be between ${min} and ${max}`);
42
42
  }
43
43
 
44
- //#endregion
44
+ //#endregion
45
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -95,4 +95,5 @@ test("Router.build()", () => {
95
95
  }), "/users/alice/posts/123");
96
96
  });
97
97
 
98
- //#endregion
98
+ //#endregion
99
+ export { };
@@ -1,3 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- globalThis.addEventListener = () => {};
3
+ globalThis.addEventListener = () => {};
4
+ export {};
@@ -6,18 +6,18 @@
6
6
  import { assertEquals } from "../assert_equals-CTYbeopb.js";
7
7
  import { assert } from "../assert-DmFG7ppO.js";
8
8
  import "../assert_instance_of-CF09JHYM.js";
9
- import "../docloader-BpoDr2rw.js";
9
+ import "../docloader-CgkbWVNz.js";
10
10
  import "../url-kTAI6_KP.js";
11
11
  import "../multibase-DeCHcK8L.js";
12
- import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab-b9IZeAzb.js";
12
+ import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab-BOerhowX.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-MomtMbVM.js";
14
+ import "../lookup-ChtUDlB-.js";
15
15
  import "../type-D2s5lmbZ.js";
16
- import "../actor-lW38sC2T.js";
17
- import "../key-CVu3UHNk.js";
18
- import { verifyRequest } from "../http-Bf73Pc8n.js";
19
- import { doesActorOwnKey } from "../owner-7iBuSVl4.js";
20
- import { extractInboxes, sendActivity } from "../send-CaHCB-Kf.js";
16
+ import "../actor-C9RnX-Fl.js";
17
+ import "../key-DtQ4rLnr.js";
18
+ import { verifyRequest } from "../http-D1IBucdD.js";
19
+ import { doesActorOwnKey } from "../owner-Ces3Cs3s.js";
20
+ import { extractInboxes, sendActivity } from "../send-aAmnTqe8.js";
21
21
  import { test } from "../testing-BZ0dJ4qn.js";
22
22
  import "../std__assert-vp0TKMS1.js";
23
23
  import { assertFalse, assertRejects } from "../assert_rejects-C-sxEMM5.js";
@@ -25,7 +25,7 @@ import "../assert_is_error-nrwA1GeT.js";
25
25
  import { assertNotEquals } from "../assert_not_equals-Dc7y-V5Q.js";
26
26
  import "../assert_throws-Cn9C6Jur.js";
27
27
  import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
28
- import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-DERJJq0n.js";
28
+ import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-BgLpfFXK.js";
29
29
  import { esm_default } from "../esm-Db4De7AS.js";
30
30
 
31
31
  //#region federation/send.test.ts
@@ -221,4 +221,5 @@ test("sendActivity()", async (t) => {
221
221
  esm_default.hardReset();
222
222
  });
223
223
 
224
- //#endregion
224
+ //#endregion
225
+ export { };
@@ -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-C2i2VJR7.js";
6
- import { CryptographicKey } from "./actor-BdEyRHSu.js";
7
- import { fetchKey, validateCryptoKey } from "./key-BkcDQGWw.js";
5
+ import { deno_default } from "./docloader-BK2Fp3AJ.js";
6
+ import { CryptographicKey } from "./actor-m_MgQ1Da.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-C6phFgFq.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";
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./docloader-BpoDr2rw.js";
7
- import { CryptographicKey } from "./vocab-b9IZeAzb.js";
8
- import { fetchKey, validateCryptoKey } from "./key-CVu3UHNk.js";
6
+ import { deno_default } from "./docloader-CgkbWVNz.js";
7
+ import { CryptographicKey } from "./vocab-BOerhowX.js";
8
+ import { fetchKey, validateCryptoKey } from "./key-DtQ4rLnr.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { SpanStatusCode, trace } from "@opentelemetry/api";
11
11
  import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./docloader-BpoDr2rw.js";
7
- import { Activity } from "./vocab-b9IZeAzb.js";
6
+ import { deno_default } from "./docloader-CgkbWVNz.js";
7
+ import { Activity } from "./vocab-BOerhowX.js";
8
8
  import { getTypeId } from "./type-D2s5lmbZ.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";