@fedify/fedify 1.7.9 → 1.7.11

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 (114) hide show
  1. package/dist/{actor-lW38sC2T.js → actor-2ENhJMd7.js} +3 -3
  2. package/dist/{actor-BdEyRHSu.js → actor-DgWryCk8.js} +179 -179
  3. package/dist/{authdocloader-DYTQwADG.js → authdocloader-BUJAQQAE.js} +3 -3
  4. package/dist/{authdocloader-DNjankdO.js → authdocloader-CK17fG7y.js} +3 -3
  5. package/dist/{builder-CngxHTRi.js → builder-CZM8EtHh.js} +3 -3
  6. package/dist/{client-BNeCIx9P.js → client-D83KwIk4.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-MUHrGcK9.js} +2 -2
  10. package/dist/{docloader-C2i2VJR7.js → docloader-BcyuO_kK.js} +2 -2
  11. package/dist/{docloader-BpoDr2rw.js → docloader-D4wl8z_4.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/fixtures/oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd.json +24 -0
  36. package/dist/{http-Bf73Pc8n.js → http-DFHfa9tA.js} +51 -5
  37. package/dist/{http-BiXP97Mg.js → http-Dsj_eYDw.js} +51 -5
  38. package/dist/{inbox-B6bABfWF.js → inbox-CltmHpHc.js} +2 -2
  39. package/dist/{key-sU83wJ27.js → key-BROjrzkW.js} +5 -5
  40. package/dist/{key-B4FI9Pmx.js → key-bBurC_PZ.js} +4 -4
  41. package/dist/{key-CVu3UHNk.js → key-bttcdrh5.js} +3 -3
  42. package/dist/{key-BkcDQGWw.js → key-qFVeObG1.js} +2 -2
  43. package/dist/{keycache-CbYZZGcu.js → keycache-DijbBawF.js} +1 -1
  44. package/dist/{keys-DERJJq0n.js → keys-DJ5t4jB4.js} +1 -1
  45. package/dist/{ld-DwQsszWL.js → ld-U-lGfuzj.js} +3 -3
  46. package/dist/{lookup-MomtMbVM.js → lookup-BGqnk7rW.js} +1 -1
  47. package/dist/{lookup-i_xNGJhe.js → lookup-BlPHJ-Ff.js} +1 -1
  48. package/dist/{lookup-Ck4rDA0d.js → lookup-C8ZpflGI.js} +3 -3
  49. package/dist/{middleware-BPdRnvp4.js → middleware-BRzqW-QG.js} +10 -10
  50. package/dist/middleware-BhqeOJrC.js +17 -0
  51. package/dist/{middleware-DtP_z9I6.js → middleware-D66R1UZl.js} +15 -15
  52. package/dist/middleware-DFra19vb.js +33 -0
  53. package/dist/mod.js +10 -10
  54. package/dist/nodeinfo/client.test.d.ts +2 -1
  55. package/dist/nodeinfo/client.test.js +4 -3
  56. package/dist/nodeinfo/handler.test.d.ts +2 -1
  57. package/dist/nodeinfo/handler.test.js +20 -19
  58. package/dist/nodeinfo/mod.js +2 -2
  59. package/dist/nodeinfo/semver.test.d.ts +2 -1
  60. package/dist/nodeinfo/semver.test.js +2 -1
  61. package/dist/nodeinfo/types.test.d.ts +2 -1
  62. package/dist/nodeinfo/types.test.js +2 -1
  63. package/dist/{owner-7iBuSVl4.js → owner-2zho-3Ew.js} +3 -3
  64. package/dist/{proof-CtoF37-N.js → proof-3J23UdVg.js} +3 -3
  65. package/dist/{proof-W7ADUBT9.js → proof-BYHc1mMr.js} +3 -3
  66. package/dist/runtime/authdocloader.test.d.ts +2 -1
  67. package/dist/runtime/authdocloader.test.js +10 -9
  68. package/dist/runtime/docloader.test.d.ts +2 -1
  69. package/dist/runtime/docloader.test.js +27 -2
  70. package/dist/runtime/key.test.d.ts +2 -1
  71. package/dist/runtime/key.test.js +7 -6
  72. package/dist/runtime/langstr.test.d.ts +2 -1
  73. package/dist/runtime/langstr.test.js +2 -1
  74. package/dist/runtime/mod.js +6 -6
  75. package/dist/runtime/multibase/multibase.test.d.ts +2 -1
  76. package/dist/runtime/multibase/multibase.test.js +2 -1
  77. package/dist/runtime/url.test.d.ts +2 -1
  78. package/dist/runtime/url.test.js +2 -1
  79. package/dist/{send-CaHCB-Kf.js → send-CW7iJ-b9.js} +2 -2
  80. package/dist/sig/http.test.d.ts +2 -1
  81. package/dist/sig/http.test.js +25 -8
  82. package/dist/sig/key.test.d.ts +2 -1
  83. package/dist/sig/key.test.js +8 -7
  84. package/dist/sig/ld.test.d.ts +2 -1
  85. package/dist/sig/ld.test.js +9 -8
  86. package/dist/sig/mod.js +6 -6
  87. package/dist/sig/owner.test.d.ts +2 -1
  88. package/dist/sig/owner.test.js +10 -9
  89. package/dist/sig/proof.test.d.ts +2 -1
  90. package/dist/sig/proof.test.js +9 -8
  91. package/dist/testing/docloader.test.d.ts +2 -1
  92. package/dist/testing/docloader.test.js +2 -1
  93. package/dist/{types-CJqlYa9v.js → types-DXmLob1B.js} +1 -1
  94. package/dist/vocab/actor.test.d.ts +2 -1
  95. package/dist/vocab/actor.test.js +6 -6
  96. package/dist/vocab/lookup.test.d.ts +2 -1
  97. package/dist/vocab/lookup.test.js +6 -5
  98. package/dist/vocab/mod.js +4 -4
  99. package/dist/vocab/type.test.d.ts +2 -1
  100. package/dist/vocab/type.test.js +4 -3
  101. package/dist/vocab/vocab.test.d.ts +2 -1
  102. package/dist/vocab/vocab.test.js +19 -18
  103. package/dist/{vocab-b9IZeAzb.js → vocab-BojAnGjI.js} +178 -178
  104. package/dist/{vocab-C9CPkYQi.js → vocab-Cy9XhW_T.js} +3 -3
  105. package/dist/webfinger/handler.test.d.ts +2 -1
  106. package/dist/webfinger/handler.test.js +20 -19
  107. package/dist/webfinger/lookup.test.d.ts +2 -1
  108. package/dist/webfinger/lookup.test.js +4 -3
  109. package/dist/webfinger/mod.js +2 -2
  110. package/dist/x/cfworkers.test.d.ts +2 -1
  111. package/dist/x/cfworkers.test.js +2 -1
  112. package/package.json +1 -1
  113. package/dist/middleware-BXEwpPLe.js +0 -17
  114. package/dist/middleware-DAbjdD1U.js +0 -33
@@ -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-BcyuO_kK.js";
6
+ import { validateCryptoKey } from "./key-qFVeObG1.js";
7
+ import { doubleKnock } from "./http-Dsj_eYDw.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 { createRequest, getRemoteDocument, logRequest } from "./docloader-BpoDr2rw.js";
6
+ import { createRequest, getRemoteDocument, logRequest } from "./docloader-D4wl8z_4.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-bttcdrh5.js";
9
+ import { doubleKnock } from "./http-DFHfa9tA.js";
10
10
  import { getLogger } from "@logtape/logtape";
11
11
 
12
12
  //#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-D4wl8z_4.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-CltmHpHc.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-DFra19vb.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-D4wl8z_4.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-D66R1UZl.js";
11
+ import "../docloader-D4wl8z_4.js";
12
12
  import "../url-kTAI6_KP.js";
13
13
  import "../semver-DWClQt_5.js";
14
- import "../client-BNeCIx9P.js";
14
+ import "../client-D83KwIk4.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-BojAnGjI.js";
19
19
  import "../langstr-DbWheeIS.js";
20
- import "../lookup-MomtMbVM.js";
20
+ import "../lookup-BGqnk7rW.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-2ENhJMd7.js";
23
+ import "../key-bttcdrh5.js";
24
+ import "../http-DFHfa9tA.js";
25
+ import "../authdocloader-CK17fG7y.js";
26
+ import "../ld-U-lGfuzj.js";
27
+ import "../owner-2zho-3Ew.js";
28
+ import "../proof-BYHc1mMr.js";
29
+ import "../lookup-C8ZpflGI.js";
30
+ import "../inbox-CltmHpHc.js";
31
+ import "../builder-CZM8EtHh.js";
32
32
  import "../collection-Dfb0TPno.js";
33
- import "../keycache-CbYZZGcu.js";
33
+ import "../keycache-DijbBawF.js";
34
34
  import "../retry-BiIhZWgD.js";
35
- import "../send-CaHCB-Kf.js";
35
+ import "../send-CW7iJ-b9.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-BGqnk7rW.js";
8
+ import { lookupObject, traverseCollection } from "./lookup-C8ZpflGI.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.11";
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.11";
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-D4wl8z_4.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-BojAnGjI.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-CltmHpHc.js";
19
+ import { createFederationBuilder } from "../builder-CZM8EtHh.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-D66R1UZl.js";
11
+ import "../docloader-D4wl8z_4.js";
12
12
  import "../url-kTAI6_KP.js";
13
13
  import "../semver-DWClQt_5.js";
14
- import "../client-BNeCIx9P.js";
14
+ import "../client-D83KwIk4.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-BojAnGjI.js";
19
19
  import "../langstr-DbWheeIS.js";
20
- import "../lookup-MomtMbVM.js";
20
+ import "../lookup-BGqnk7rW.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-2ENhJMd7.js";
23
+ import "../key-bttcdrh5.js";
24
+ import { signRequest } from "../http-DFHfa9tA.js";
25
+ import "../authdocloader-CK17fG7y.js";
26
+ import "../ld-U-lGfuzj.js";
27
+ import "../owner-2zho-3Ew.js";
28
+ import "../proof-BYHc1mMr.js";
29
+ import "../lookup-C8ZpflGI.js";
30
+ import { InboxListenerSet } from "../inbox-CltmHpHc.js";
31
+ import "../builder-CZM8EtHh.js";
32
32
  import "../collection-Dfb0TPno.js";
33
- import "../keycache-CbYZZGcu.js";
33
+ import "../keycache-DijbBawF.js";
34
34
  import "../retry-BiIhZWgD.js";
35
- import "../send-CaHCB-Kf.js";
35
+ import "../send-CW7iJ-b9.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-MUHrGcK9.js";
44
+ import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-DJ5t4jB4.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-D4wl8z_4.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-BojAnGjI.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-CltmHpHc.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-D4wl8z_4.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-BojAnGjI.js";
14
14
  import "../langstr-DbWheeIS.js";
15
- import { KvKeyCache } from "../keycache-CbYZZGcu.js";
15
+ import { KvKeyCache } from "../keycache-DijbBawF.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-D66R1UZl.js";
11
+ import { FetchError, fetchDocumentLoader } from "../docloader-D4wl8z_4.js";
12
12
  import "../url-kTAI6_KP.js";
13
13
  import "../semver-DWClQt_5.js";
14
- import "../client-BNeCIx9P.js";
14
+ import "../client-D83KwIk4.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-BojAnGjI.js";
19
19
  import "../langstr-DbWheeIS.js";
20
- import "../lookup-MomtMbVM.js";
20
+ import "../lookup-BGqnk7rW.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-2ENhJMd7.js";
23
+ import "../key-bttcdrh5.js";
24
+ import { signRequest, verifyRequest } from "../http-DFHfa9tA.js";
25
+ import { getAuthenticatedDocumentLoader } from "../authdocloader-CK17fG7y.js";
26
+ import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-U-lGfuzj.js";
27
+ import { doesActorOwnKey } from "../owner-2zho-3Ew.js";
28
+ import { signObject, verifyObject } from "../proof-BYHc1mMr.js";
29
+ import { lookupObject } from "../lookup-C8ZpflGI.js";
30
+ import "../inbox-CltmHpHc.js";
31
+ import "../builder-CZM8EtHh.js";
32
32
  import "../collection-Dfb0TPno.js";
33
- import "../keycache-CbYZZGcu.js";
33
+ import "../keycache-DijbBawF.js";
34
34
  import "../retry-BiIhZWgD.js";
35
- import "../send-CaHCB-Kf.js";
35
+ import "../send-CW7iJ-b9.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-DJ5t4jB4.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-BcyuO_kK.js";
7
+ import "../actor-DgWryCk8.js";
8
+ import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-BRzqW-QG.js";
9
+ import "../lookup-BlPHJ-Ff.js";
10
+ import "../key-qFVeObG1.js";
11
+ import "../http-Dsj_eYDw.js";
12
+ import "../proof-3J23UdVg.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-DXmLob1B.js";
15
+ import "../authdocloader-BUJAQQAE.js";
16
+ import "../vocab-Cy9XhW_T.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-D4wl8z_4.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-BojAnGjI.js";
13
13
  import "../langstr-DbWheeIS.js";
14
- import "../lookup-MomtMbVM.js";
14
+ import "../lookup-BGqnk7rW.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-2ENhJMd7.js";
17
+ import "../key-bttcdrh5.js";
18
+ import { verifyRequest } from "../http-DFHfa9tA.js";
19
+ import { doesActorOwnKey } from "../owner-2zho-3Ew.js";
20
+ import { extractInboxes, sendActivity } from "../send-CW7iJ-b9.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-DJ5t4jB4.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 { };
@@ -0,0 +1,24 @@
1
+ {
2
+ "@context": [
3
+ "https://www.w3.org/ns/activitystreams",
4
+ "https://w3id.org/security/v1"
5
+ ],
6
+ "id": "https://oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd",
7
+ "type": "Person",
8
+ "preferredUsername": "hongminhee",
9
+ "name": "洪兔",
10
+ "inbox": "https://oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd/inbox",
11
+ "outbox": "https://oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd/outbox",
12
+ "publicKey": {
13
+ "id": "https://oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd#main-key",
14
+ "owner": "https://oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd",
15
+ "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAowJfOzpA/nAYyL0bVDTm\niCAOlhFCIBnqwk1jvGrbkDhMzxlsgyoDqUSlmcJdKaPwu24YdFajDtJIgto27Ju7\nIC3hB7OFchnZ4JZrdYFo7CJABOzK58o12sdmmkCdY5hXWf1604E+mzyIdBAJ1FFJ\nL8vP07VEUsZ7yo9x0iVNg7HpCOK+y6BqI2GHS2dq9qkqQEIhC2TKHXn/RQVXwYB6\nG+YQmVUtcsbCVKdcWyTKhItLRGnepu3BqBSbieLxV27B1O9NFSoPu8xiBUnYwMoe\nsUQCE5tGcqxc75HzcVCbq7PqVqHZ1NW9RYssaSUqi4FYcjXxQrR08DrAl8rR4eXT\n4QIDAQAB\n-----END PUBLIC KEY-----\n"
16
+ },
17
+ "endpoints": {
18
+ "type": "as:Endpoints",
19
+ "sharedInbox": "https://oeee.cafe/inbox"
20
+ },
21
+ "followers": "https://oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd/followers",
22
+ "manuallyApprovesFollowers": false,
23
+ "url": "https://oeee.cafe/@hongminhee"
24
+ }