@fedify/fedify 1.7.5 → 1.8.0-dev.1003

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 (118) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +33 -0
  3. package/dist/{actor-CPpvuBKU.d.ts → actor-B4TBtqRP.d.ts} +2 -2
  4. package/dist/{actor-CKXuhyRT.js → actor-CESvGo9c.js} +179 -179
  5. package/dist/{actor-D-zfQLAH.js → actor-CqSuisvH.js} +3 -3
  6. package/dist/{assert-0DSnLFa8.js → assert-DwEa6glZ.js} +2 -2
  7. package/dist/{assert_equals-XhPMqqO2.js → assert_equals-C5gKCm6A.js} +10 -22
  8. package/dist/{assert_instance_of-v5adm_-K.js → assert_instance_of-C9QtN-X9.js} +2 -2
  9. package/dist/{assert_is_error-Drwb_yQp.js → assert_is_error-DQdKoRgb.js} +2 -2
  10. package/dist/{assert_not_equals-BRPdeJ9D.js → assert_not_equals-7pyUM3Ib.js} +2 -2
  11. package/dist/{assert_rejects-D_nYI1gs.js → assert_rejects-DceVjUlD.js} +4 -4
  12. package/dist/{assert_throws-DNuPhPNp.js → assert_throws-DTDC_gwN.js} +3 -3
  13. package/dist/{authdocloader-CFk80WJv.js → authdocloader-QSRLyapW.js} +3 -3
  14. package/dist/{authdocloader-81r40Meg.js → authdocloader-rYXZAJDf.js} +3 -3
  15. package/dist/{builder-Cmn0cpiZ.js → builder-rGWE83Jn.js} +4 -4
  16. package/dist/{client-CuYHcL1K.js → client-B3xo9NFO.js} +1 -1
  17. package/dist/{client-DvtwXO7t.d.ts → client-BQ4AQGKo.d.ts} +1 -1
  18. package/dist/compat/mod.d.ts +11 -11
  19. package/dist/compat/transformers.test.js +22 -22
  20. package/dist/{context-DPggmpB4.d.ts → context-CrSyJrIa.d.ts} +9 -9
  21. package/dist/{context-CFiKyaR_.js → context-T6ATmy_o.js} +3 -3
  22. package/dist/{denokv-CvROlGYX.js → denokv-QWKsIqML.js} +2 -0
  23. package/dist/{docloader-Q42SMRIB.d.ts → docloader-BeCtcTOJ.d.ts} +1 -1
  24. package/dist/{docloader-BLY7GyoJ.js → docloader-Coh6BBtD.js} +5 -13
  25. package/dist/{docloader-Ck2GBnC3.js → docloader-DP2c5RKR.js} +5 -13
  26. package/dist/{esm-CASHO3OR.js → esm-d-9EVGaP.js} +14 -14
  27. package/dist/federation/builder.test.js +14 -14
  28. package/dist/federation/collection.test.js +8 -8
  29. package/dist/federation/handler.test.js +29 -29
  30. package/dist/federation/inbox.test.js +6 -6
  31. package/dist/federation/keycache.test.js +7 -7
  32. package/dist/federation/kv.test.js +21 -9
  33. package/dist/federation/middleware.test.js +644 -630
  34. package/dist/federation/mod.d.ts +10 -10
  35. package/dist/federation/mod.js +11 -11
  36. package/dist/federation/mq.test.js +11 -11
  37. package/dist/federation/retry.test.js +2 -2
  38. package/dist/federation/router.test.js +9 -9
  39. package/dist/federation/send.test.js +18 -18
  40. package/dist/{federation-BRIQn-GV.js → federation-C44ekWNP.js} +28 -6
  41. package/dist/{http-B8EiSgi2.d.ts → http-CP2ZUALI.d.ts} +2 -2
  42. package/dist/{http-Cmpdwx_X.js → http-CkfVl7ql.js} +3 -3
  43. package/dist/{http-B6yJ2mAf.js → http-lmPPO2Eo.js} +3 -3
  44. package/dist/{inbox-CcAueP-r.js → inbox-CF21yedu.js} +2 -2
  45. package/dist/{key-BAckFVRH.js → key-BLqpPTN_.js} +3 -3
  46. package/dist/{key-D1uKqeD5.js → key-BjUOfK1Q.js} +2 -2
  47. package/dist/{key-Cj0F3jFv.js → key-CSLD2uRf.js} +4 -4
  48. package/dist/{key-rZ_Yr0Yr.js → key-NY6yQihW.js} +5 -5
  49. package/dist/{keycache-Ce9ou6p4.js → keycache-yqwT_M3m.js} +1 -1
  50. package/dist/{keys-DcrALCdq.js → keys-D9Gc5bvV.js} +1 -1
  51. package/dist/{kv-BMY6Qf_A.js → kv-D7Yt6pnB.js} +22 -0
  52. package/dist/{kv-DRaeSXco.d.ts → kv-DDdb1hMa.d.ts} +14 -0
  53. package/dist/{ld-S8bkC8Cg.js → ld-zsHn8nfn.js} +3 -3
  54. package/dist/{lookup-CQ5H1v6m.js → lookup-BYgWjDk7.js} +4 -3
  55. package/dist/{lookup-DW0leLqq.js → lookup-BlRxqykX.js} +62 -10
  56. package/dist/{lookup-DNZf9_oN.js → lookup-DU2MRGYe.js} +4 -3
  57. package/dist/{lookup-Bf-K85bV.d.ts → lookup-J_m4YZg0.d.ts} +7 -1
  58. package/dist/{middleware-Ba2-qvzk.js → middleware-BmxgK7wV.js} +11 -11
  59. package/dist/middleware-CILojq-d.js +17 -0
  60. package/dist/{middleware-CrCDov2d.js → middleware-CkV-ui-y.js} +16 -16
  61. package/dist/middleware-NVGAT7X_.js +33 -0
  62. package/dist/{mod-CDzlVCUF.d.ts → mod-BFwgZ7_K.d.ts} +77 -3
  63. package/dist/{mod-C2drFqH8.d.ts → mod-CytXBx8A.d.ts} +2 -2
  64. package/dist/{mod-sEI6_uZ2.d.ts → mod-D2uPZuP-.d.ts} +3 -3
  65. package/dist/{mod-CbjCOiVh.d.ts → mod-DpE8T10I.d.ts} +2 -2
  66. package/dist/mod.d.ts +14 -14
  67. package/dist/mod.js +12 -12
  68. package/dist/nodeinfo/client.test.js +11 -11
  69. package/dist/nodeinfo/handler.test.js +28 -28
  70. package/dist/nodeinfo/mod.d.ts +3 -3
  71. package/dist/nodeinfo/mod.js +2 -2
  72. package/dist/nodeinfo/semver.test.js +8 -8
  73. package/dist/nodeinfo/types.test.js +8 -8
  74. package/dist/{owner-D0cOz8R5.d.ts → owner-CEv_PfyK.d.ts} +3 -3
  75. package/dist/{owner-B5IFvDCy.js → owner-yriwUrxg.js} +3 -3
  76. package/dist/{proof-C6nF-oYD.js → proof-B0keqm8m.js} +3 -3
  77. package/dist/{proof-CnQWIl9G.js → proof-CTzg7mvj.js} +3 -3
  78. package/dist/{router-D_aVZZUc.js → router-D3UybECj.js} +1 -1
  79. package/dist/runtime/authdocloader.test.js +17 -17
  80. package/dist/runtime/docloader.test.js +11 -11
  81. package/dist/runtime/key.test.js +13 -13
  82. package/dist/runtime/langstr.test.js +8 -8
  83. package/dist/runtime/mod.d.ts +5 -5
  84. package/dist/runtime/mod.js +6 -6
  85. package/dist/runtime/multibase/multibase.test.js +8 -8
  86. package/dist/runtime/url.test.js +4 -4
  87. package/dist/{send-IlYZ_CVt.js → send-CdU_Vjiy.js} +2 -2
  88. package/dist/sig/http.test.js +16 -16
  89. package/dist/sig/key.test.js +14 -14
  90. package/dist/sig/ld.test.js +12 -12
  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 +15 -15
  95. package/dist/{std__assert-CmyZxqPw.js → std__assert-B3iAixc-.js} +6 -6
  96. package/dist/testing/docloader.test.js +8 -8
  97. package/dist/{types-BAIE7lzA.js → types-D9EP9eEB.js} +1 -1
  98. package/dist/vocab/actor.test.js +197 -190
  99. package/dist/vocab/lookup.test.js +13 -13
  100. package/dist/vocab/mod.d.ts +6 -6
  101. package/dist/vocab/mod.js +5 -5
  102. package/dist/vocab/type.test.js +3 -3
  103. package/dist/vocab/vocab.test.js +128 -110
  104. package/dist/{vocab-BdvvrpJb.js → vocab-BFfwVBw7.js} +84 -11
  105. package/dist/{vocab-CzEfWQk2.d.ts → vocab-By6mpzr-.d.ts} +1 -1
  106. package/dist/{vocab-Cs1Xg69m.js → vocab-Df91ohvp.js} +178 -178
  107. package/dist/webfinger/handler.test.js +28 -28
  108. package/dist/webfinger/lookup.test.js +30 -12
  109. package/dist/webfinger/mod.d.ts +3 -3
  110. package/dist/webfinger/mod.js +2 -2
  111. package/dist/x/cfworkers.d.ts +6 -1
  112. package/dist/x/cfworkers.js +5 -0
  113. package/dist/x/cfworkers.test.js +14 -9
  114. package/dist/x/hono.d.ts +10 -10
  115. package/dist/x/sveltekit.d.ts +10 -10
  116. package/package.json +7 -6
  117. package/dist/middleware-BBLmcWi8.js +0 -33
  118. package/dist/middleware-OQqgTYLn.js +0 -17
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./docloader-BLY7GyoJ.js";
7
- import { Application, Group, Organization, Person, Service } from "./vocab-Cs1Xg69m.js";
8
- import { lookupWebFinger } from "./lookup-DNZf9_oN.js";
6
+ import { deno_default } from "./docloader-Coh6BBtD.js";
7
+ import { Application, Group, Organization, Person, Service } from "./vocab-Df91ohvp.js";
8
+ import { lookupWebFinger } from "./lookup-DU2MRGYe.js";
9
9
  import { getTypeId } from "./type-D2s5lmbZ.js";
10
10
  import { SpanStatusCode, trace } from "@opentelemetry/api";
11
11
  import { domainToASCII, domainToUnicode } from "node:url";
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { AssertionError } from "./assert_equals-XhPMqqO2.js";
6
+ import { AssertionError } from "./assert_equals-C5gKCm6A.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.9/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.9/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.9/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.9/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.9/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.9/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,19 +987,7 @@ const NON_WHITESPACE_REGEXP = /\S/;
987
987
  }
988
988
 
989
989
  //#endregion
990
- //#region node_modules/.pnpm/@jsr+std__internal@1.0.9/node_modules/@jsr/std__internal/_os.js
991
- function checkWindows() {
992
- const global = globalThis;
993
- const os = global.Deno?.build?.os;
994
- return typeof os === "string" ? os === "windows" : global.navigator?.platform?.startsWith("Win") ?? global.process?.platform?.startsWith("win") ?? false;
995
- }
996
-
997
- //#endregion
998
- //#region node_modules/.pnpm/@jsr+std__internal@1.0.9/node_modules/@jsr/std__internal/os.js
999
- /** Whether the current platform is Windows */ const isWindows = checkWindows();
1000
-
1001
- //#endregion
1002
- //#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
1003
991
  /**
1004
992
  * Make an assertion that `actual` and `expected` are equal, deeply. If not
1005
993
  * deeply equal, then throw.
@@ -1036,4 +1024,4 @@ function checkWindows() {
1036
1024
  }
1037
1025
 
1038
1026
  //#endregion
1039
- export { AssertionError, assertEquals, buildMessage, diff, diffStr, equal, format, isWindows, red, stripAnsiCode };
1027
+ export { AssertionError, assertEquals, buildMessage, diff, diffStr, equal, format, red, stripAnsiCode };
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { AssertionError } from "./assert_equals-XhPMqqO2.js";
6
+ import { AssertionError } from "./assert_equals-C5gKCm6A.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-XhPMqqO2.js";
6
+ import { AssertionError, stripAnsiCode } from "./assert_equals-C5gKCm6A.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-XhPMqqO2.js";
6
+ import { AssertionError, equal } from "./assert_equals-C5gKCm6A.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-XhPMqqO2.js";
7
- import { assertIsError } from "./assert_is_error-Drwb_yQp.js";
6
+ import { AssertionError } from "./assert_equals-C5gKCm6A.js";
7
+ import { assertIsError } from "./assert_is_error-DQdKoRgb.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-Drwb_yQp.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-XhPMqqO2.js";
7
- import { assertIsError } from "./assert_is_error-Drwb_yQp.js";
6
+ import { AssertionError } from "./assert_equals-C5gKCm6A.js";
7
+ import { assertIsError } from "./assert_is_error-DQdKoRgb.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;
@@ -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-Ck2GBnC3.js";
6
- import { validateCryptoKey } from "./key-D1uKqeD5.js";
7
- import { doubleKnock } from "./http-B6yJ2mAf.js";
5
+ import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-DP2c5RKR.js";
6
+ import { validateCryptoKey } from "./key-BjUOfK1Q.js";
7
+ import { doubleKnock } from "./http-lmPPO2Eo.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-BLY7GyoJ.js";
6
+ import { createRequest, getRemoteDocument, logRequest } from "./docloader-Coh6BBtD.js";
7
7
  import { UrlError, validatePublicUrl } from "./url-kTAI6_KP.js";
8
- import { validateCryptoKey } from "./key-BAckFVRH.js";
9
- import { doubleKnock } from "./http-Cmpdwx_X.js";
8
+ import { validateCryptoKey } from "./key-BLqpPTN_.js";
9
+ import { doubleKnock } from "./http-CkfVl7ql.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-BLY7GyoJ.js";
7
- import { Router, RouterError } from "./router-D_aVZZUc.js";
6
+ import { deno_default } from "./docloader-Coh6BBtD.js";
7
+ import { Router, RouterError } from "./router-D3UybECj.js";
8
8
  import { getTypeId } from "./type-D2s5lmbZ.js";
9
- import { InboxListenerSet } from "./inbox-CcAueP-r.js";
9
+ import { InboxListenerSet } from "./inbox-CF21yedu.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-BBLmcWi8.js");
37
+ const { FederationImpl } = await import("./middleware-NVGAT7X_.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-BLY7GyoJ.js";
6
+ import { getUserAgent } from "./docloader-Coh6BBtD.js";
7
7
  import { parseSemVer } from "./semver-DWClQt_5.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
 
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { GetUserAgentOptions } from "./docloader-Q42SMRIB.js";
3
+ import { GetUserAgentOptions } from "./docloader-BeCtcTOJ.js";
4
4
 
5
5
  //#region nodeinfo/semver.d.ts
6
6
  /**
@@ -1,15 +1,15 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import "../kv-DRaeSXco.js";
4
- import "../docloader-Q42SMRIB.js";
5
- import "../client-DvtwXO7t.js";
6
- import "../vocab-CzEfWQk2.js";
7
- import "../actor-CPpvuBKU.js";
8
- import "../http-B8EiSgi2.js";
9
- import "../owner-D0cOz8R5.js";
10
- import "../mod-CDzlVCUF.js";
11
- import "../lookup-Bf-K85bV.js";
12
- import { ActivityTransformer } from "../context-DPggmpB4.js";
3
+ import "../kv-DDdb1hMa.js";
4
+ import "../docloader-BeCtcTOJ.js";
5
+ import "../client-BQ4AQGKo.js";
6
+ import "../vocab-By6mpzr-.js";
7
+ import "../actor-B4TBtqRP.js";
8
+ import "../http-CP2ZUALI.js";
9
+ import "../owner-CEv_PfyK.js";
10
+ import "../mod-BFwgZ7_K.js";
11
+ import "../lookup-J_m4YZg0.js";
12
+ import { ActivityTransformer } from "../context-CrSyJrIa.js";
13
13
  import "../mq-DYKDDJmp.js";
14
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-CbjCOiVh.js";
14
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DpE8T10I.js";
15
15
  export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -3,36 +3,36 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { assertEquals } from "../assert_equals-XhPMqqO2.js";
7
- import { assert } from "../assert-0DSnLFa8.js";
8
- import { assertInstanceOf } from "../assert_instance_of-v5adm_-K.js";
9
- import { MemoryKvStore } from "../kv-BMY6Qf_A.js";
10
- import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-CrCDov2d.js";
11
- import "../docloader-BLY7GyoJ.js";
6
+ import { assertEquals } from "../assert_equals-C5gKCm6A.js";
7
+ import { assert } from "../assert-DwEa6glZ.js";
8
+ import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
9
+ import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
10
+ import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-CkV-ui-y.js";
11
+ import "../docloader-Coh6BBtD.js";
12
12
  import "../url-kTAI6_KP.js";
13
13
  import "../semver-DWClQt_5.js";
14
- import "../client-CuYHcL1K.js";
15
- import "../router-D_aVZZUc.js";
14
+ import "../client-B3xo9NFO.js";
15
+ import "../router-D3UybECj.js";
16
16
  import "../types-C7C_l-jz.js";
17
17
  import "../multibase-DeCHcK8L.js";
18
- import { Follow, Person } from "../vocab-Cs1Xg69m.js";
18
+ import { Follow, Person } from "../vocab-Df91ohvp.js";
19
19
  import "../langstr-DbWheeIS.js";
20
- import "../lookup-DNZf9_oN.js";
20
+ import "../lookup-DU2MRGYe.js";
21
21
  import "../type-D2s5lmbZ.js";
22
- import "../actor-D-zfQLAH.js";
23
- import "../key-BAckFVRH.js";
24
- import "../http-Cmpdwx_X.js";
25
- import "../authdocloader-81r40Meg.js";
26
- import "../ld-S8bkC8Cg.js";
27
- import "../owner-B5IFvDCy.js";
28
- import "../proof-CnQWIl9G.js";
29
- import "../lookup-DW0leLqq.js";
30
- import "../inbox-CcAueP-r.js";
31
- import "../builder-Cmn0cpiZ.js";
22
+ import "../actor-CqSuisvH.js";
23
+ import "../key-BLqpPTN_.js";
24
+ import "../http-CkfVl7ql.js";
25
+ import "../authdocloader-rYXZAJDf.js";
26
+ import "../ld-zsHn8nfn.js";
27
+ import "../owner-yriwUrxg.js";
28
+ import "../proof-CTzg7mvj.js";
29
+ import "../lookup-BlRxqykX.js";
30
+ import "../inbox-CF21yedu.js";
31
+ import "../builder-rGWE83Jn.js";
32
32
  import "../collection-Dfb0TPno.js";
33
- import "../keycache-Ce9ou6p4.js";
33
+ import "../keycache-yqwT_M3m.js";
34
34
  import "../retry-BiIhZWgD.js";
35
- import "../send-IlYZ_CVt.js";
35
+ import "../send-CdU_Vjiy.js";
36
36
  import { test } from "../testing-BZ0dJ4qn.js";
37
37
 
38
38
  //#region compat/transformers.test.ts
@@ -1,14 +1,14 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { KvKey, KvStore } from "./kv-DRaeSXco.js";
4
- import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "./docloader-Q42SMRIB.js";
5
- import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-DvtwXO7t.js";
6
- import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-CzEfWQk2.js";
7
- import { Actor, Recipient } from "./actor-CPpvuBKU.js";
8
- import { HttpMessageSignaturesSpec } from "./http-B8EiSgi2.js";
9
- import { GetKeyOwnerOptions } from "./owner-D0cOz8R5.js";
10
- import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-CDzlVCUF.js";
11
- import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-Bf-K85bV.js";
3
+ import { KvKey, KvStore } from "./kv-DDdb1hMa.js";
4
+ import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "./docloader-BeCtcTOJ.js";
5
+ import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-BQ4AQGKo.js";
6
+ import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-By6mpzr-.js";
7
+ import { Actor, Recipient } from "./actor-B4TBtqRP.js";
8
+ import { HttpMessageSignaturesSpec } from "./http-CP2ZUALI.js";
9
+ import { GetKeyOwnerOptions } from "./owner-CEv_PfyK.js";
10
+ import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-BFwgZ7_K.js";
11
+ import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-J_m4YZg0.js";
12
12
  import { MessageQueue } from "./mq-DYKDDJmp.js";
13
13
  import { Span, TracerProvider } from "@opentelemetry/api";
14
14
 
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { RouterError } from "./router-D_aVZZUc.js";
7
- import { lookupWebFinger } from "./lookup-DNZf9_oN.js";
8
- import { lookupObject, traverseCollection } from "./lookup-DW0leLqq.js";
6
+ import { RouterError } from "./router-D3UybECj.js";
7
+ import { lookupWebFinger } from "./lookup-DU2MRGYe.js";
8
+ import { lookupObject, traverseCollection } from "./lookup-BlRxqykX.js";
9
9
  import { mockDocumentLoader } from "./docloader-09nVWLAZ.js";
10
10
  import { trace } from "@opentelemetry/api";
11
11
 
@@ -3,6 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
+ import { isEqual } from "es-toolkit";
7
+
6
8
  //#region x/denokv.ts
7
9
  /**
8
10
  * Represents a message queue adapter that uses Deno KV store.
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { KvKey, KvStore } from "./kv-DRaeSXco.js";
3
+ import { KvKey, KvStore } from "./kv-DDdb1hMa.js";
4
4
 
5
5
  //#region runtime/docloader.d.ts
6
6
  /**
@@ -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.5";
13
+ var version = "1.8.0-dev.1003+777674dd";
14
14
  var license = "MIT";
15
15
  var exports = {
16
16
  ".": "./mod.ts",
@@ -29,8 +29,6 @@ var exports = {
29
29
  };
30
30
  var imports = {
31
31
  "@cfworker/json-schema": "npm:@cfworker/json-schema@^4.1.1",
32
- "@cloudflare/workers-types": "npm:@cloudflare/workers-types@^4.20250529.0",
33
- "@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.38.0",
34
32
  "@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
35
33
  "@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
36
34
  "@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
@@ -42,6 +40,7 @@ var imports = {
42
40
  "@std/yaml": "jsr:@std/yaml@^0.224.3",
43
41
  "asn1js": "npm:asn1js@^3.0.5",
44
42
  "byte-encodings": "npm:byte-encodings@^1.0.11",
43
+ "es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.39.5",
45
44
  "fast-check": "npm:fast-check@^3.22.0",
46
45
  "fetch-mock": "npm:fetch-mock@^12.5.2",
47
46
  "json-canon": "npm:json-canon@^1.0.1",
@@ -49,7 +48,6 @@ var imports = {
49
48
  "multicodec": "npm:multicodec@^3.2.1",
50
49
  "pkijs": "npm:pkijs@^3.2.4",
51
50
  "structured-field-values": "npm:structured-field-values@^2.0.4",
52
- "tsdown": "npm:tsdown@^0.12.2",
53
51
  "uri-template-router": "npm:uri-template-router@^0.0.17",
54
52
  "url-template": "npm:url-template@^3.1.1"
55
53
  };
@@ -73,12 +71,10 @@ var exclude = [
73
71
  "!vocab/vocab.ts"
74
72
  ];
75
73
  var tasks = {
76
- "codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/vocab.ts && deno fmt vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts",
77
- "check-version": "deno run --allow-read=package.json scripts/check_version.ts && deno run ../cli/scripts/check_version.ts",
78
- "sync-version": "deno run --allow-read=package.json --allow-write=package.json scripts/sync_version.ts && deno run --allow-read=../cli/deno.json --allow-write=../cli/deno.json ../cli/scripts/sync_version.ts",
74
+ "codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/.vocab.ts && deno fmt vocab/.vocab.ts && mv vocab/.vocab.ts vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts",
79
75
  "cache": {
80
76
  "command": "deno cache mod.ts",
81
- "dependencies": ["check-version", "codegen"]
77
+ "dependencies": ["codegen"]
82
78
  },
83
79
  "check": {
84
80
  "command": "deno fmt --check && deno lint && deno check */*.ts",
@@ -99,17 +95,13 @@ var tasks = {
99
95
  },
100
96
  "publish": {
101
97
  "command": "deno publish",
102
- "dependencies": ["check-version", "codegen"]
98
+ "dependencies": ["codegen"]
103
99
  },
104
100
  "pnpm:install": "pnpm install",
105
101
  "pnpm:build": {
106
102
  "command": "pnpm exec tsdown",
107
103
  "dependencies": ["codegen", "pnpm:install"]
108
104
  },
109
- "npm": {
110
- "command": "pnpm pack",
111
- "dependencies": ["sync-version", "pnpm:install"]
112
- },
113
105
  "test:node": {
114
106
  "command": "cd dist/ && node --test",
115
107
  "dependencies": ["pnpm:build"]
@@ -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.5";
13
+ var version = "1.8.0-dev.1003+777674dd";
14
14
  var license = "MIT";
15
15
  var exports = {
16
16
  ".": "./mod.ts",
@@ -29,8 +29,6 @@ var exports = {
29
29
  };
30
30
  var imports = {
31
31
  "@cfworker/json-schema": "npm:@cfworker/json-schema@^4.1.1",
32
- "@cloudflare/workers-types": "npm:@cloudflare/workers-types@^4.20250529.0",
33
- "@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.38.0",
34
32
  "@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
35
33
  "@multiformats/base-x": "npm:@multiformats/base-x@^4.0.1",
36
34
  "@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
@@ -42,6 +40,7 @@ var imports = {
42
40
  "@std/yaml": "jsr:@std/yaml@^0.224.3",
43
41
  "asn1js": "npm:asn1js@^3.0.5",
44
42
  "byte-encodings": "npm:byte-encodings@^1.0.11",
43
+ "es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.39.5",
45
44
  "fast-check": "npm:fast-check@^3.22.0",
46
45
  "fetch-mock": "npm:fetch-mock@^12.5.2",
47
46
  "json-canon": "npm:json-canon@^1.0.1",
@@ -49,7 +48,6 @@ var imports = {
49
48
  "multicodec": "npm:multicodec@^3.2.1",
50
49
  "pkijs": "npm:pkijs@^3.2.4",
51
50
  "structured-field-values": "npm:structured-field-values@^2.0.4",
52
- "tsdown": "npm:tsdown@^0.12.2",
53
51
  "uri-template-router": "npm:uri-template-router@^0.0.17",
54
52
  "url-template": "npm:url-template@^3.1.1"
55
53
  };
@@ -73,12 +71,10 @@ var exclude = [
73
71
  "!vocab/vocab.ts"
74
72
  ];
75
73
  var tasks = {
76
- "codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/vocab.ts && deno fmt vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts",
77
- "check-version": "deno run --allow-read=package.json scripts/check_version.ts && deno run ../cli/scripts/check_version.ts",
78
- "sync-version": "deno run --allow-read=package.json --allow-write=package.json scripts/sync_version.ts && deno run --allow-read=../cli/deno.json --allow-write=../cli/deno.json ../cli/scripts/sync_version.ts",
74
+ "codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/.vocab.ts && deno fmt vocab/.vocab.ts && mv vocab/.vocab.ts vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts",
79
75
  "cache": {
80
76
  "command": "deno cache mod.ts",
81
- "dependencies": ["check-version", "codegen"]
77
+ "dependencies": ["codegen"]
82
78
  },
83
79
  "check": {
84
80
  "command": "deno fmt --check && deno lint && deno check */*.ts",
@@ -99,17 +95,13 @@ var tasks = {
99
95
  },
100
96
  "publish": {
101
97
  "command": "deno publish",
102
- "dependencies": ["check-version", "codegen"]
98
+ "dependencies": ["codegen"]
103
99
  },
104
100
  "pnpm:install": "pnpm install",
105
101
  "pnpm:build": {
106
102
  "command": "pnpm exec tsdown",
107
103
  "dependencies": ["codegen", "pnpm:install"]
108
104
  },
109
- "npm": {
110
- "command": "pnpm pack",
111
- "dependencies": ["sync-version", "pnpm:install"]
112
- },
113
105
  "test:node": {
114
106
  "command": "cd dist/ && node --test",
115
107
  "dependencies": ["pnpm:build"]