@fedify/fedify 1.8.1-pr.347.1259 → 1.8.1-pr.348.1272

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 (191) hide show
  1. package/README.md +12 -12
  2. package/dist/{actor-CWNAGvnO.d.ts → actor-C2nhWp6O.d.ts} +3 -3
  3. package/dist/{actor-DdO-fOAW.js → actor-DFZ9DT9s.js} +189 -189
  4. package/dist/{actor-kSqW2m9s.js → actor-DoqKuu1d.js} +2 -2
  5. package/dist/{assert-DwEa6glZ.js → assert-MZs1qjMx.js} +2 -2
  6. package/dist/{assert_equals-C5gKCm6A.js → assert_equals-DSbWqCm3.js} +9 -9
  7. package/dist/{assert_instance_of-C9QtN-X9.js → assert_instance_of-DHz7EHNU.js} +2 -2
  8. package/dist/{assert_is_error-CeVBLPsZ.js → assert_is_error-BPGph1Jx.js} +2 -2
  9. package/dist/{assert_not_equals-D2R2nl5h.js → assert_not_equals-f3m3epl3.js} +2 -2
  10. package/dist/{assert_rejects-AjlKk-Vo.js → assert_rejects-DiIiJbZn.js} +4 -4
  11. package/dist/{assert_throws-CqMKbTh_.js → assert_throws-BOO88avQ.js} +3 -3
  12. package/dist/{authdocloader-BgOsGnB8.js → authdocloader-BY72RD14.js} +4 -4
  13. package/dist/{authdocloader-DYYMt196.js → authdocloader-Cj8aQaAh.js} +4 -4
  14. package/dist/{builder-CuALdUQk.js → builder-Bm7BksTx.js} +5 -5
  15. package/dist/{client-BCk5jxWY.js → client-CJkecID_.js} +3 -3
  16. package/dist/{client-B0IOer6B.d.ts → client-D2tgjFk3.d.ts} +4 -4
  17. package/dist/{collection-D5V3UzU3.js → collection-CSzG2j1P.js} +1 -1
  18. package/dist/compat/mod.d.ts +12 -12
  19. package/dist/compat/mod.js +1 -1
  20. package/dist/compat/transformers.test.js +25 -25
  21. package/dist/{context-BNA3vzcr.d.ts → context-BBD2ZH_P.d.ts} +22 -22
  22. package/dist/{denokv-DK9P5Jq7.js → denokv-2x6-IpXO.js} +1 -1
  23. package/dist/{docloader-CLolPVL_.d.ts → docloader-Bz56sKV5.d.ts} +2 -2
  24. package/dist/{docloader-DHjlz7X5.js → docloader-CfyWzSEu.js} +34 -34
  25. package/dist/{esm-Cvi3LpEg.js → esm-CjTjptC8.js} +15 -15
  26. package/dist/federation/builder.test.js +16 -16
  27. package/dist/federation/collection.test.js +13 -13
  28. package/dist/federation/handler.test.js +31 -31
  29. package/dist/federation/inbox.test.js +8 -8
  30. package/dist/federation/keycache.test.js +9 -9
  31. package/dist/federation/kv.test.js +13 -13
  32. package/dist/federation/middleware.test.js +34 -34
  33. package/dist/federation/mod.d.ts +11 -11
  34. package/dist/federation/mod.js +12 -12
  35. package/dist/federation/mq.test.js +15 -15
  36. package/dist/federation/retry.test.js +7 -7
  37. package/dist/federation/router.test.js +12 -12
  38. package/dist/federation/send.test.js +19 -19
  39. package/dist/{federation-C44ekWNP.js → federation-CMX7WzeL.js} +2 -2
  40. package/dist/{http-Dg492DpA.js → http-Rstqz4A-.js} +3 -3
  41. package/dist/{http-C9-_WlFq.js → http-ZrQ5PzoV.js} +4 -4
  42. package/dist/{http-COez3YdK.d.ts → http-l4uEvaAw.d.ts} +4 -4
  43. package/dist/{inbox-D9x-aduD.js → inbox-CdNWEgOl.js} +2 -2
  44. package/dist/{key-CDj47wth.js → key-CEQ4r8bQ.js} +3 -3
  45. package/dist/{key-BCBR3lGB.js → key-DbOvPjOz.js} +3 -3
  46. package/dist/{key-oFx3pQ1W.js → key-IYWKz1vL.js} +3 -3
  47. package/dist/{key-DVxtiWyj.js → key-Og0C6fan.js} +4 -4
  48. package/dist/{keycache-DaVhPHNQ.js → keycache-CH8zDqBu.js} +2 -2
  49. package/dist/{keys-CZDFaFde.js → keys-Cro0zXtI.js} +2 -2
  50. package/dist/{kv-BqOK6zss.d.ts → kv-C7sopW2E.d.ts} +1 -1
  51. package/dist/{kv-D7Yt6pnB.js → kv-CRZrzyXm.js} +1 -1
  52. package/dist/{ld-C0RaYcmD.js → ld-C__07wHE.js} +3 -3
  53. package/dist/{lookup-tSXYzgYs.d.ts → lookup-BJelGpWr.d.ts} +3 -3
  54. package/dist/{lookup-CeJx40Ll.js → lookup-CM2Ey7X1.js} +4 -4
  55. package/dist/{lookup-4V3xc-t2.js → lookup-CSqoSI-Y.js} +2 -2
  56. package/dist/{middleware-CseqBfnM.js → middleware-B3aEP28I.js} +23 -23
  57. package/dist/middleware-BseSNvvB.js +17 -0
  58. package/dist/middleware-C3AP34UG.js +26 -0
  59. package/dist/{middleware-CxCCJY-Y.js → middleware-CS36fMG_.js} +23 -23
  60. package/dist/{mod-C2jQirfr.d.ts → mod-D79SaXL-.d.ts} +6 -6
  61. package/dist/{mod-CxD6XXBN.d.ts → mod-DDwnlIlm.d.ts} +3 -3
  62. package/dist/{mod-UTC30uNC.d.ts → mod-DM7ZpXF4.d.ts} +4 -4
  63. package/dist/{mod-Bf-mThHd.d.ts → mod-DwquBB1g.d.ts} +5 -5
  64. package/dist/mod.d.ts +14 -14
  65. package/dist/mod.js +12 -12
  66. package/dist/{mq-DYKDDJmp.d.ts → mq-CRGm1e_F.d.ts} +1 -1
  67. package/dist/nodeinfo/client.test.js +15 -15
  68. package/dist/nodeinfo/handler.test.js +30 -30
  69. package/dist/nodeinfo/mod.d.ts +3 -3
  70. package/dist/nodeinfo/mod.js +2 -2
  71. package/dist/nodeinfo/semver.test.js +13 -13
  72. package/dist/nodeinfo/types.test.js +14 -14
  73. package/dist/{owner-COtZOSiN.js → owner-Dx-6q6Tm.js} +3 -3
  74. package/dist/{owner-BlxMNrL4.d.ts → owner-fFqUg4lq.d.ts} +4 -4
  75. package/dist/{proof-B9SPQtgj.js → proof-CEdkdQ36.js} +3 -3
  76. package/dist/{proof-BZR52iDB.js → proof-Q5ET7ZZH.js} +6 -6
  77. package/dist/{retry-BnpVRGFC.js → retry-D4GJ670a.js} +1 -1
  78. package/dist/runtime/authdocloader.test.js +18 -18
  79. package/dist/runtime/docloader.test.js +14 -14
  80. package/dist/runtime/key.test.js +14 -14
  81. package/dist/runtime/langstr.test.js +12 -12
  82. package/dist/runtime/mod.d.ts +5 -5
  83. package/dist/runtime/mod.js +6 -6
  84. package/dist/runtime/multibase/multibase.test.js +12 -12
  85. package/dist/runtime/url.test.js +8 -8
  86. package/dist/{semver-DCqorrj5.js → semver-dArNLkR9.js} +1 -1
  87. package/dist/{send-CyqH9Cwb.js → send-fwhV2JRq.js} +3 -3
  88. package/dist/sig/http.test.js +17 -17
  89. package/dist/sig/key.test.js +15 -15
  90. package/dist/sig/ld.test.js +13 -13
  91. package/dist/sig/mod.d.ts +7 -7
  92. package/dist/sig/mod.js +6 -6
  93. package/dist/sig/owner.test.js +16 -16
  94. package/dist/sig/proof.test.js +16 -16
  95. package/dist/{std__assert-BQdmxyzF.js → std__assert-X-_kMxKM.js} +6 -6
  96. package/dist/testing/docloader.test.js +12 -12
  97. package/dist/testing/mod.d.ts +19 -19
  98. package/dist/testing/mod.js +3 -3
  99. package/dist/{testing-lEZnBSp7.js → testing-B1DcRr-r.js} +5 -5
  100. package/dist/{transformers-DJRB0yFF.js → transformers-Dna8Fg7k.js} +1 -1
  101. package/dist/{type-CvULFGVI.js → type-ClTaanks.js} +221 -221
  102. package/dist/{types-n7HI7VFr.js → types-BIgY6c-l.js} +2 -2
  103. package/dist/{types-DbIPF4hQ.js → types-CmbptM4x.js} +4 -4
  104. package/dist/vocab/actor.test.js +143 -143
  105. package/dist/vocab/lookup.test.js +13 -13
  106. package/dist/vocab/mod.d.ts +5 -5
  107. package/dist/vocab/mod.js +4 -4
  108. package/dist/vocab/type.test.js +5 -5
  109. package/dist/vocab/vocab.test.js +54 -54
  110. package/dist/{vocab-Cyrb7_co.d.ts → vocab-CA7YwVEz.d.ts} +3 -3
  111. package/dist/{vocab-B9ftirjB.js → vocab-CpRYbb89.js} +6 -6
  112. package/dist/webfinger/handler.test.js +30 -30
  113. package/dist/webfinger/lookup.test.js +13 -13
  114. package/dist/webfinger/mod.d.ts +3 -3
  115. package/dist/webfinger/mod.js +2 -2
  116. package/dist/x/cfworkers.d.ts +3 -3
  117. package/dist/x/cfworkers.js +1 -1
  118. package/dist/x/cfworkers.test.js +13 -13
  119. package/dist/x/hono.d.ts +12 -12
  120. package/dist/x/hono.js +1 -1
  121. package/dist/x/sveltekit.d.ts +12 -12
  122. package/dist/x/sveltekit.js +1 -1
  123. package/package.json +3 -3
  124. package/dist/middleware-BOSQXbo8.js +0 -17
  125. package/dist/middleware-BuLigY8C.js +0 -26
  126. /package/dist/{vocab → src/vocab}/accept.yaml +0 -0
  127. /package/dist/{vocab → src/vocab}/activity.yaml +0 -0
  128. /package/dist/{vocab → src/vocab}/add.yaml +0 -0
  129. /package/dist/{vocab → src/vocab}/announce.yaml +0 -0
  130. /package/dist/{vocab → src/vocab}/application.yaml +0 -0
  131. /package/dist/{vocab → src/vocab}/arrive.yaml +0 -0
  132. /package/dist/{vocab → src/vocab}/article.yaml +0 -0
  133. /package/dist/{vocab → src/vocab}/audio.yaml +0 -0
  134. /package/dist/{vocab → src/vocab}/block.yaml +0 -0
  135. /package/dist/{vocab → src/vocab}/chatmessage.yaml +0 -0
  136. /package/dist/{vocab → src/vocab}/collection.yaml +0 -0
  137. /package/dist/{vocab → src/vocab}/collectionpage.yaml +0 -0
  138. /package/dist/{vocab → src/vocab}/create.yaml +0 -0
  139. /package/dist/{vocab → src/vocab}/dataintegrityproof.yaml +0 -0
  140. /package/dist/{vocab → src/vocab}/delete.yaml +0 -0
  141. /package/dist/{vocab → src/vocab}/didservice.yaml +0 -0
  142. /package/dist/{vocab → src/vocab}/dislike.yaml +0 -0
  143. /package/dist/{vocab → src/vocab}/document.yaml +0 -0
  144. /package/dist/{vocab → src/vocab}/emoji.yaml +0 -0
  145. /package/dist/{vocab → src/vocab}/emojireact.yaml +0 -0
  146. /package/dist/{vocab → src/vocab}/endpoints.yaml +0 -0
  147. /package/dist/{vocab → src/vocab}/event.yaml +0 -0
  148. /package/dist/{vocab → src/vocab}/export.yaml +0 -0
  149. /package/dist/{vocab → src/vocab}/flag.yaml +0 -0
  150. /package/dist/{vocab → src/vocab}/follow.yaml +0 -0
  151. /package/dist/{vocab → src/vocab}/group.yaml +0 -0
  152. /package/dist/{vocab → src/vocab}/hashtag.yaml +0 -0
  153. /package/dist/{vocab → src/vocab}/ignore.yaml +0 -0
  154. /package/dist/{vocab → src/vocab}/image.yaml +0 -0
  155. /package/dist/{vocab → src/vocab}/intransitiveactivity.yaml +0 -0
  156. /package/dist/{vocab → src/vocab}/invite.yaml +0 -0
  157. /package/dist/{vocab → src/vocab}/join.yaml +0 -0
  158. /package/dist/{vocab → src/vocab}/key.yaml +0 -0
  159. /package/dist/{vocab → src/vocab}/leave.yaml +0 -0
  160. /package/dist/{vocab → src/vocab}/like.yaml +0 -0
  161. /package/dist/{vocab → src/vocab}/link.yaml +0 -0
  162. /package/dist/{vocab → src/vocab}/listen.yaml +0 -0
  163. /package/dist/{vocab → src/vocab}/mention.yaml +0 -0
  164. /package/dist/{vocab → src/vocab}/move.yaml +0 -0
  165. /package/dist/{vocab → src/vocab}/multikey.yaml +0 -0
  166. /package/dist/{vocab → src/vocab}/note.yaml +0 -0
  167. /package/dist/{vocab → src/vocab}/object.yaml +0 -0
  168. /package/dist/{vocab → src/vocab}/offer.yaml +0 -0
  169. /package/dist/{vocab → src/vocab}/orderedcollection.yaml +0 -0
  170. /package/dist/{vocab → src/vocab}/orderedcollectionpage.yaml +0 -0
  171. /package/dist/{vocab → src/vocab}/organization.yaml +0 -0
  172. /package/dist/{vocab → src/vocab}/page.yaml +0 -0
  173. /package/dist/{vocab → src/vocab}/person.yaml +0 -0
  174. /package/dist/{vocab → src/vocab}/place.yaml +0 -0
  175. /package/dist/{vocab → src/vocab}/profile.yaml +0 -0
  176. /package/dist/{vocab → src/vocab}/propertyvalue.yaml +0 -0
  177. /package/dist/{vocab → src/vocab}/question.yaml +0 -0
  178. /package/dist/{vocab → src/vocab}/read.yaml +0 -0
  179. /package/dist/{vocab → src/vocab}/reject.yaml +0 -0
  180. /package/dist/{vocab → src/vocab}/relationship.yaml +0 -0
  181. /package/dist/{vocab → src/vocab}/remove.yaml +0 -0
  182. /package/dist/{vocab → src/vocab}/service.yaml +0 -0
  183. /package/dist/{vocab → src/vocab}/source.yaml +0 -0
  184. /package/dist/{vocab → src/vocab}/tentativeaccept.yaml +0 -0
  185. /package/dist/{vocab → src/vocab}/tentativereject.yaml +0 -0
  186. /package/dist/{vocab → src/vocab}/tombstone.yaml +0 -0
  187. /package/dist/{vocab → src/vocab}/travel.yaml +0 -0
  188. /package/dist/{vocab → src/vocab}/undo.yaml +0 -0
  189. /package/dist/{vocab → src/vocab}/update.yaml +0 -0
  190. /package/dist/{vocab → src/vocab}/video.yaml +0 -0
  191. /package/dist/{vocab → src/vocab}/view.yaml +0 -0
@@ -3,11 +3,11 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Application, Group, Organization, Person, Service, deno_default, getTypeId, lookupWebFinger } from "./type-CvULFGVI.js";
6
+ import { Application, Group, Organization, Person, Service, deno_default, getTypeId, lookupWebFinger } from "./type-ClTaanks.js";
7
7
  import { SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  import { domainToASCII, domainToUnicode } from "node:url";
9
9
 
10
- //#region vocab/actor.ts
10
+ //#region src/vocab/actor.ts
11
11
  /**
12
12
  * Checks if the given object is an {@link Actor}.
13
13
  * @param object The object to check.
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { AssertionError } from "./assert_equals-C5gKCm6A.js";
6
+ import { AssertionError } from "./assert_equals-DSbWqCm3.js";
7
7
 
8
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js
8
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js
9
9
  /**
10
10
  * Make an assertion, error will be thrown if `expr` does not have truthy value.
11
11
  *
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js
6
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js
7
7
  /**
8
8
  * Error thrown when an assertion fails.
9
9
  *
@@ -31,7 +31,7 @@
31
31
  };
32
32
 
33
33
  //#endregion
34
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js
34
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js
35
35
  function isKeyedCollection(x) {
36
36
  return [Symbol.iterator, "size"].every((k) => k in x);
37
37
  }
@@ -105,7 +105,7 @@ function constructorsEqual(a, b) {
105
105
  }
106
106
 
107
107
  //#endregion
108
- //#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/assertion_state.js
108
+ //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/assertion_state.js
109
109
  /**
110
110
  * Check the test suite internal state
111
111
  *
@@ -284,7 +284,7 @@ function constructorsEqual(a, b) {
284
284
  const assertionState = new AssertionState();
285
285
 
286
286
  //#endregion
287
- //#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/styles.js
287
+ //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/styles.js
288
288
  const { Deno } = globalThis;
289
289
  const noColor = typeof Deno?.noColor === "boolean" ? Deno.noColor : false;
290
290
  const enabled = !noColor;
@@ -451,7 +451,7 @@ const ANSI_PATTERN = new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-z
451
451
  }
452
452
 
453
453
  //#endregion
454
- //#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/build_message.js
454
+ //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/build_message.js
455
455
  /**
456
456
  * Colors the output of assertion diffs.
457
457
  *
@@ -545,7 +545,7 @@ const ANSI_PATTERN = new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-z
545
545
  }
546
546
 
547
547
  //#endregion
548
- //#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/diff.js
548
+ //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/diff.js
549
549
  const REMOVED = 1;
550
550
  const COMMON = 2;
551
551
  const ADDED = 3;
@@ -814,7 +814,7 @@ const ADDED = 3;
814
814
  }
815
815
 
816
816
  //#endregion
817
- //#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/diff_str.js
817
+ //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/diff_str.js
818
818
  /**
819
819
  * Unescape invisible characters.
820
820
  *
@@ -955,7 +955,7 @@ const NON_WHITESPACE_REGEXP = /\S/;
955
955
  }
956
956
 
957
957
  //#endregion
958
- //#region ../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/format.js
958
+ //#region ../../node_modules/.pnpm/@jsr+std__internal@1.0.8/node_modules/@jsr/std__internal/format.js
959
959
  /**
960
960
  * Converts the input into a string. Objects, Sets and Maps are sorted so as to
961
961
  * make tests less flaky.
@@ -987,7 +987,7 @@ const NON_WHITESPACE_REGEXP = /\S/;
987
987
  }
988
988
 
989
989
  //#endregion
990
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js
990
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js
991
991
  /**
992
992
  * Make an assertion that `actual` and `expected` are equal, deeply. If not
993
993
  * deeply equal, then throw.
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { AssertionError } from "./assert_equals-C5gKCm6A.js";
6
+ import { AssertionError } from "./assert_equals-DSbWqCm3.js";
7
7
 
8
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js
8
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js
9
9
  /**
10
10
  * Make an assertion that `obj` is an instance of `type`.
11
11
  * If not then throw.
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { AssertionError, stripAnsiCode } from "./assert_equals-C5gKCm6A.js";
6
+ import { AssertionError, stripAnsiCode } from "./assert_equals-DSbWqCm3.js";
7
7
 
8
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js
8
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js
9
9
  /**
10
10
  * Make an assertion that `error` is an `Error`.
11
11
  * If not then an error will be thrown.
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { AssertionError, equal } from "./assert_equals-C5gKCm6A.js";
6
+ import { AssertionError, equal } from "./assert_equals-DSbWqCm3.js";
7
7
 
8
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js
8
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js
9
9
  /**
10
10
  * Make an assertion that `actual` and `expected` are not equal, deeply.
11
11
  * If not then throw.
@@ -3,10 +3,10 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { AssertionError } from "./assert_equals-C5gKCm6A.js";
7
- import { assertIsError } from "./assert_is_error-CeVBLPsZ.js";
6
+ import { AssertionError } from "./assert_equals-DSbWqCm3.js";
7
+ import { assertIsError } from "./assert_is_error-BPGph1Jx.js";
8
8
 
9
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js
9
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js
10
10
  /**
11
11
  * Make an assertion, error will be thrown if `expr` have truthy value.
12
12
  *
@@ -25,7 +25,7 @@ import { assertIsError } from "./assert_is_error-CeVBLPsZ.js";
25
25
  }
26
26
 
27
27
  //#endregion
28
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js
28
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js
29
29
  async function assertRejects(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
30
30
  let ErrorClass = void 0;
31
31
  let msgIncludes = void 0;
@@ -3,10 +3,10 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { AssertionError } from "./assert_equals-C5gKCm6A.js";
7
- import { assertIsError } from "./assert_is_error-CeVBLPsZ.js";
6
+ import { AssertionError } from "./assert_equals-DSbWqCm3.js";
7
+ import { assertIsError } from "./assert_is_error-BPGph1Jx.js";
8
8
 
9
- //#region ../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js
9
+ //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js
10
10
  function assertThrows(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
11
11
  let ErrorClass = void 0;
12
12
  let msgIncludes = void 0;
@@ -3,12 +3,12 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./type-CvULFGVI.js";
7
- import { validateCryptoKey } from "./key-CDj47wth.js";
8
- import { doubleKnock } from "./http-Dg492DpA.js";
6
+ import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./type-ClTaanks.js";
7
+ import { validateCryptoKey } from "./key-CEQ4r8bQ.js";
8
+ import { doubleKnock } from "./http-Rstqz4A-.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
 
11
- //#region runtime/authdocloader.ts
11
+ //#region src/runtime/authdocloader.ts
12
12
  const logger = getLogger([
13
13
  "fedify",
14
14
  "runtime",
@@ -2,12 +2,12 @@
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-DHjlz7X5.js";
6
- import { validateCryptoKey } from "./key-oFx3pQ1W.js";
7
- import { doubleKnock } from "./http-C9-_WlFq.js";
5
+ import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-CfyWzSEu.js";
6
+ import { validateCryptoKey } from "./key-IYWKz1vL.js";
7
+ import { doubleKnock } from "./http-ZrQ5PzoV.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
 
10
- //#region runtime/authdocloader.ts
10
+ //#region src/runtime/authdocloader.ts
11
11
  const logger = getLogger([
12
12
  "fedify",
13
13
  "runtime",
@@ -3,13 +3,13 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default, getTypeId } from "./type-CvULFGVI.js";
7
- import { Router, RouterError } from "./lookup-CeJx40Ll.js";
8
- import { InboxListenerSet } from "./inbox-D9x-aduD.js";
6
+ import { deno_default, getTypeId } from "./type-ClTaanks.js";
7
+ import { Router, RouterError } from "./lookup-CM2Ey7X1.js";
8
+ import { InboxListenerSet } from "./inbox-CdNWEgOl.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
11
11
 
12
- //#region federation/builder.ts
12
+ //#region src/federation/builder.ts
13
13
  var FederationBuilderImpl = class {
14
14
  router;
15
15
  actorCallbacks;
@@ -41,7 +41,7 @@ var FederationBuilderImpl = class {
41
41
  this.collectionTypeIds = {};
42
42
  }
43
43
  async build(options) {
44
- const { FederationImpl } = await import("./middleware-BuLigY8C.js");
44
+ const { FederationImpl } = await import("./middleware-C3AP34UG.js");
45
45
  const f = new FederationImpl(options);
46
46
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
47
47
  f.router = this.router.clone();
@@ -3,11 +3,11 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { getUserAgent } from "./type-CvULFGVI.js";
7
- import { parseSemVer } from "./semver-DCqorrj5.js";
6
+ import { getUserAgent } from "./type-ClTaanks.js";
7
+ import { parseSemVer } from "./semver-dArNLkR9.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
 
10
- //#region nodeinfo/client.ts
10
+ //#region src/nodeinfo/client.ts
11
11
  const logger = getLogger([
12
12
  "fedify",
13
13
  "nodeinfo",
@@ -1,8 +1,8 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { GetUserAgentOptions } from "./docloader-CLolPVL_.js";
3
+ import { GetUserAgentOptions } from "./docloader-Bz56sKV5.js";
4
4
 
5
- //#region nodeinfo/semver.d.ts
5
+ //#region src/nodeinfo/semver.d.ts
6
6
  /**
7
7
  * A SemVer object parsed into its constituent parts.
8
8
  * @since 1.2.0
@@ -73,7 +73,7 @@ declare function parseSemVer(value: string): SemVer;
73
73
  */
74
74
  declare function formatSemVer(version: SemVer): string;
75
75
  //#endregion
76
- //#region nodeinfo/types.d.ts
76
+ //#region src/nodeinfo/types.d.ts
77
77
  /**
78
78
  * The type of the result of parsing JSON.
79
79
  */
@@ -206,7 +206,7 @@ interface Usage {
206
206
  */
207
207
  declare function nodeInfoToJson(nodeInfo: NodeInfo): JsonValue;
208
208
  //#endregion
209
- //#region nodeinfo/client.d.ts
209
+ //#region src/nodeinfo/client.d.ts
210
210
  /**
211
211
  * Options for {@link getNodeInfo} function.
212
212
  * @since 1.2.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { encodeHex } from "byte-encodings/hex";
7
7
 
8
- //#region federation/collection.ts
8
+ //#region src/federation/collection.ts
9
9
  /**
10
10
  * Calculates the [partial follower collection digest][1].
11
11
  *
@@ -1,15 +1,15 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import "../kv-BqOK6zss.js";
4
- import "../docloader-CLolPVL_.js";
5
- import "../client-B0IOer6B.js";
6
- import "../vocab-Cyrb7_co.js";
7
- import "../actor-CWNAGvnO.js";
8
- import "../http-COez3YdK.js";
9
- import "../owner-BlxMNrL4.js";
10
- import "../mod-C2jQirfr.js";
11
- import "../lookup-tSXYzgYs.js";
12
- import { ActivityTransformer } from "../context-BNA3vzcr.js";
13
- import "../mq-DYKDDJmp.js";
14
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-CxD6XXBN.js";
3
+ import "../kv-C7sopW2E.js";
4
+ import "../docloader-Bz56sKV5.js";
5
+ import "../client-D2tgjFk3.js";
6
+ import "../vocab-CA7YwVEz.js";
7
+ import "../actor-C2nhWp6O.js";
8
+ import "../http-l4uEvaAw.js";
9
+ import "../owner-fFqUg4lq.js";
10
+ import "../mod-D79SaXL-.js";
11
+ import "../lookup-BJelGpWr.js";
12
+ import { ActivityTransformer } from "../context-BBD2ZH_P.js";
13
+ import "../mq-CRGm1e_F.js";
14
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DDwnlIlm.js";
15
15
  export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../transformers-DJRB0yFF.js";
5
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../transformers-Dna8Fg7k.js";
6
6
  import "../compat-Bb5myD13.js";
7
7
 
8
8
  export { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -3,32 +3,32 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Follow, Person } from "../type-CvULFGVI.js";
7
- import { assertEquals } from "../assert_equals-C5gKCm6A.js";
8
- import { assert } from "../assert-DwEa6glZ.js";
9
- import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
10
- import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
11
- import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-CxCCJY-Y.js";
12
- import "../semver-DCqorrj5.js";
13
- import "../client-BCk5jxWY.js";
14
- import "../lookup-CeJx40Ll.js";
15
- import "../types-n7HI7VFr.js";
16
- import "../actor-kSqW2m9s.js";
17
- import "../key-CDj47wth.js";
18
- import "../http-Dg492DpA.js";
19
- import "../authdocloader-BgOsGnB8.js";
20
- import "../ld-C0RaYcmD.js";
21
- import "../owner-COtZOSiN.js";
22
- import "../proof-B9SPQtgj.js";
23
- import "../inbox-D9x-aduD.js";
24
- import "../builder-CuALdUQk.js";
25
- import "../collection-D5V3UzU3.js";
26
- import "../keycache-DaVhPHNQ.js";
27
- import "../retry-BnpVRGFC.js";
28
- import "../send-CyqH9Cwb.js";
29
- import { test } from "../testing-lEZnBSp7.js";
6
+ import { Follow, Person } from "../type-ClTaanks.js";
7
+ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
+ import { assert } from "../assert-MZs1qjMx.js";
9
+ import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
+ import { MemoryKvStore } from "../kv-CRZrzyXm.js";
11
+ import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-CS36fMG_.js";
12
+ import "../semver-dArNLkR9.js";
13
+ import "../client-CJkecID_.js";
14
+ import "../lookup-CM2Ey7X1.js";
15
+ import "../types-BIgY6c-l.js";
16
+ import "../actor-DoqKuu1d.js";
17
+ import "../key-CEQ4r8bQ.js";
18
+ import "../http-Rstqz4A-.js";
19
+ import "../authdocloader-BY72RD14.js";
20
+ import "../ld-C__07wHE.js";
21
+ import "../owner-Dx-6q6Tm.js";
22
+ import "../proof-CEdkdQ36.js";
23
+ import "../inbox-CdNWEgOl.js";
24
+ import "../builder-Bm7BksTx.js";
25
+ import "../collection-CSzG2j1P.js";
26
+ import "../keycache-CH8zDqBu.js";
27
+ import "../retry-D4GJ670a.js";
28
+ import "../send-fwhV2JRq.js";
29
+ import { test } from "../testing-B1DcRr-r.js";
30
30
 
31
- //#region compat/transformers.test.ts
31
+ //#region src/compat/transformers.test.ts
32
32
  const federation = new FederationImpl({ kv: new MemoryKvStore() });
33
33
  const context = federation.createContext(new URL("http://example.com/"));
34
34
  test("autoIdAssigner", async () => {
@@ -1,25 +1,25 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { KvKey, KvStore } from "./kv-BqOK6zss.js";
4
- import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "./docloader-CLolPVL_.js";
5
- import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-B0IOer6B.js";
6
- import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-Cyrb7_co.js";
7
- import { Actor, Recipient } from "./actor-CWNAGvnO.js";
8
- import { HttpMessageSignaturesSpec } from "./http-COez3YdK.js";
9
- import { GetKeyOwnerOptions } from "./owner-BlxMNrL4.js";
10
- import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-C2jQirfr.js";
11
- import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-tSXYzgYs.js";
12
- import { MessageQueue } from "./mq-DYKDDJmp.js";
3
+ import { KvKey, KvStore } from "./kv-C7sopW2E.js";
4
+ import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "./docloader-Bz56sKV5.js";
5
+ import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-D2tgjFk3.js";
6
+ import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-CA7YwVEz.js";
7
+ import { Actor, Recipient } from "./actor-C2nhWp6O.js";
8
+ import { HttpMessageSignaturesSpec } from "./http-l4uEvaAw.js";
9
+ import { GetKeyOwnerOptions } from "./owner-fFqUg4lq.js";
10
+ import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-D79SaXL-.js";
11
+ import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-BJelGpWr.js";
12
+ import { MessageQueue } from "./mq-CRGm1e_F.js";
13
13
  import { Span, TracerProvider } from "@opentelemetry/api";
14
14
 
15
- //#region compat/types.d.ts
15
+ //#region src/compat/types.d.ts
16
16
  /**
17
17
  * A function that transforms an activity object.
18
18
  * @since 1.4.0
19
19
  */
20
20
  type ActivityTransformer<TContextData> = (activity: Activity, context: Context<TContextData>) => Activity;
21
21
  //#endregion
22
- //#region federation/collection.d.ts
22
+ //#region src/federation/collection.d.ts
23
23
  /**
24
24
  * A page of items.
25
25
  */
@@ -47,7 +47,7 @@ declare function digest(uris: Iterable<string | URL>): Promise<Uint8Array>;
47
47
  */
48
48
  declare function buildCollectionSynchronizationHeader(collectionId: string | URL, actorIds: Iterable<string | URL>): Promise<string>;
49
49
  //#endregion
50
- //#region federation/send.d.ts
50
+ //#region src/federation/send.d.ts
51
51
  /**
52
52
  * A key pair for an actor who sends an activity.
53
53
  * @since 0.10.0
@@ -66,7 +66,7 @@ interface SenderKeyPair {
66
66
  * Parameters for {@link sendActivity}.
67
67
  */
68
68
  //#endregion
69
- //#region federation/callback.d.ts
69
+ //#region src/federation/callback.d.ts
70
70
  /**
71
71
  * A callback that dispatches a {@link NodeInfo} object.
72
72
  *
@@ -300,7 +300,7 @@ type CustomCollectionCounter<TParams extends Record<string, string>, TContextDat
300
300
  */
301
301
  type CustomCollectionCursor<TParams extends Record<string, string>, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: TParams) => string | null | Promise<string | null>;
302
302
  //#endregion
303
- //#region federation/handler.d.ts
303
+ //#region src/federation/handler.d.ts
304
304
 
305
305
  /**
306
306
  * Options for the {@link respondWithObject} and
@@ -333,7 +333,7 @@ declare function respondWithObject(object: Object$1, options?: RespondWithObject
333
333
  */
334
334
  declare function respondWithObjectIfAcceptable(object: Object$1, request: Request, options?: RespondWithObjectOptions): Promise<Response | null>;
335
335
  //#endregion
336
- //#region federation/router.d.ts
336
+ //#region src/federation/router.d.ts
337
337
  /**
338
338
  * Options for the {@link Router}.
339
339
  * @since 0.12.0
@@ -418,7 +418,7 @@ declare class RouterError extends Error {
418
418
  constructor(message: string);
419
419
  }
420
420
  //#endregion
421
- //#region federation/builder.d.ts
421
+ //#region src/federation/builder.d.ts
422
422
  /**
423
423
  * Creates a new {@link FederationBuilder} instance.
424
424
  * @returns A new {@link FederationBuilder} instance.
@@ -426,7 +426,7 @@ declare class RouterError extends Error {
426
426
  */
427
427
  declare function createFederationBuilder<TContextData>(): FederationBuilder<TContextData>;
428
428
  //#endregion
429
- //#region federation/queue.d.ts
429
+ //#region src/federation/queue.d.ts
430
430
  interface SenderKeyJwkPair {
431
431
  keyId: string;
432
432
  privateKey: JsonWebKey;
@@ -482,7 +482,7 @@ interface InboxMessage {
482
482
  traceContext: Record<string, string>;
483
483
  }
484
484
  //#endregion
485
- //#region federation/retry.d.ts
485
+ //#region src/federation/retry.d.ts
486
486
  /**
487
487
  * The context passed to a {@link RetryPolicy} callback.
488
488
  * @since 0.12.0
@@ -546,7 +546,7 @@ interface CreateExponentialBackoffPolicyOptions {
546
546
  */
547
547
  declare function createExponentialBackoffPolicy(options?: CreateExponentialBackoffPolicyOptions): RetryPolicy;
548
548
  //#endregion
549
- //#region federation/middleware.d.ts
549
+ //#region src/federation/middleware.d.ts
550
550
  /**
551
551
  * Options for {@link createFederation} function.
552
552
  * @template TContextData The type of the context data.
@@ -633,7 +633,7 @@ interface FederationOrigin {
633
633
  */
634
634
  declare function createFederation<TContextData>(options: CreateFederationOptions<TContextData>): Federation<TContextData>;
635
635
  //#endregion
636
- //#region federation/federation.d.ts
636
+ //#region src/federation/federation.d.ts
637
637
  /**
638
638
  * Options for {@link Federation.startQueue} method.
639
639
  * @since 1.0.0
@@ -1478,7 +1478,7 @@ type ParamPath<Param extends string> = `${string}{${Param}}${string}`;
1478
1478
  */
1479
1479
  type UnionToIntersection<U> = (U extends unknown ? (x: U) => void : never) extends ((x: infer I) => void) ? I : never;
1480
1480
  //#endregion
1481
- //#region federation/context.d.ts
1481
+ //#region src/federation/context.d.ts
1482
1482
  /**
1483
1483
  * A context.
1484
1484
  */
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { isEqual } from "es-toolkit";
7
7
 
8
- //#region x/denokv.ts
8
+ //#region src/x/denokv.ts
9
9
  /**
10
10
  * Represents a message queue adapter that uses Deno KV store.
11
11
  */
@@ -1,8 +1,8 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { KvKey, KvStore } from "./kv-BqOK6zss.js";
3
+ import { KvKey, KvStore } from "./kv-C7sopW2E.js";
4
4
 
5
- //#region runtime/docloader.d.ts
5
+ //#region src/runtime/docloader.d.ts
6
6
  /**
7
7
  * A remote JSON-LD document and its context fetched by
8
8
  * a {@link DocumentLoader}.