@fedify/fedify 1.7.5-pr.293.995 → 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-DpOCWBU2.js → actor-CESvGo9c.js} +179 -179
  5. package/dist/{actor-DCfCQoKy.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-C8ocs8WK.js → authdocloader-QSRLyapW.js} +3 -3
  14. package/dist/{authdocloader-u7iRvJI6.js → authdocloader-rYXZAJDf.js} +3 -3
  15. package/dist/{builder-CoMaHOSj.js → builder-rGWE83Jn.js} +4 -4
  16. package/dist/{client-ve1fySOk.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-DJ0lZffc.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-CWnRyKZz.js → docloader-Coh6BBtD.js} +5 -13
  25. package/dist/{docloader-0f763awu.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-C2jYH3Wj.js → http-CkfVl7ql.js} +29 -21
  43. package/dist/{http-Ctrc1mTY.js → http-lmPPO2Eo.js} +29 -21
  44. package/dist/{inbox-C0lZZQrn.js → inbox-CF21yedu.js} +2 -2
  45. package/dist/{key-w62j0nN_.js → key-BLqpPTN_.js} +3 -3
  46. package/dist/{key-Du7Mtz6c.js → key-BjUOfK1Q.js} +2 -2
  47. package/dist/{key-DdzidiHt.js → key-CSLD2uRf.js} +4 -4
  48. package/dist/{key-DaROeJaM.js → key-NY6yQihW.js} +5 -5
  49. package/dist/{keycache-HV9rL4Zg.js → keycache-yqwT_M3m.js} +1 -1
  50. package/dist/{keys-CLKmoYUK.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-d8SMvc77.js → ld-zsHn8nfn.js} +3 -3
  54. package/dist/{lookup-C0QZwcNp.js → lookup-BYgWjDk7.js} +4 -3
  55. package/dist/{lookup-vqz66SuH.js → lookup-BlRxqykX.js} +62 -10
  56. package/dist/{lookup-BhjMJsQq.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-CaLPAUX8.js → middleware-BmxgK7wV.js} +11 -11
  59. package/dist/middleware-CILojq-d.js +17 -0
  60. package/dist/{middleware-z6PAl2ao.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-B681rcfZ.js → owner-yriwUrxg.js} +3 -3
  76. package/dist/{proof-Ckfj_lUB.js → proof-B0keqm8m.js} +3 -3
  77. package/dist/{proof-R1Gw5CZB.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-C3nUuiVP.js → send-CdU_Vjiy.js} +2 -2
  88. package/dist/sig/http.test.js +41 -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-NuyNm5jf.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-BIEZj4Uc.js → vocab-BFfwVBw7.js} +84 -11
  105. package/dist/{vocab-CzEfWQk2.d.ts → vocab-By6mpzr-.d.ts} +1 -1
  106. package/dist/{vocab-CJVgR_C2.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-0Gslab3l.js +0 -33
  118. package/dist/middleware-DTBS4kbm.js +0 -17
package/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Copyright 2024–2025 Hong Minhee
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -81,6 +81,39 @@ join our [Matrix chat space][Matrix] or [Discord server][Discord] or
81
81
  [PeerTube]: https://joinpeertube.org/
82
82
 
83
83
 
84
+ Packages
85
+ --------
86
+
87
+ Fedify is a monorepo that contains several packages, each of which provides
88
+ different features and functionalities. The main package is *@fedify/fedify*,
89
+ which provides the core functionality of the framework. Other packages provide
90
+ integrations with various web frameworks, database drivers, and other features.
91
+ Here is the list of packages:
92
+
93
+ | Package | JSR | npm | Description |
94
+ | ------------------------------ | --------------------------- | --------------------------- | --------------------------------------- |
95
+ | [@fedify/fedify](/fedify/) | [JSR] | [npm] | The core framework of Fedify |
96
+ | [@fedify/cli](/cli/) | [JSR][jsr:@fedify/cli] | [npm][npm:@fedify/cli] | CLI toolchain for testing and debugging |
97
+ | [@fedify/amqp](/amqp/) | [JSR][jsr:@fedify/amqp] | [npm][npm:@fedify/amqp] | AMQP/RabbitMQ driver |
98
+ | [@fedify/express](/express/) | [JSR][jsr:@fedify/express] | [npm][npm:@fedify/express] | Express integration |
99
+ | [@fedify/h3](/h3/) | [JSR][jsr:@fedify/h3] | [npm][npm:@fedify/h3] | H3 integration |
100
+ | [@fedify/postgres](/postgres/) | [JSR][jsr:@fedify/postgres] | [npm][npm:@fedify/postgres] | PostgreSQL driver |
101
+ | [@fedify/redis](/redis/) | [JSR][jsr:@fedify/redis] | [npm][npm:@fedify/redis] | Redis driver |
102
+
103
+ [jsr:@fedify/cli]: https://jsr.io/@fedify/cli
104
+ [npm:@fedify/cli]: https://www.npmjs.com/package/@fedify/cli
105
+ [jsr:@fedify/amqp]: https://jsr.io/@fedify/amqp
106
+ [npm:@fedify/amqp]: https://www.npmjs.com/package/@fedify/amqp
107
+ [jsr:@fedify/express]: https://jsr.io/@fedify/express
108
+ [npm:@fedify/express]: https://www.npmjs.com/package/@fedify/express
109
+ [jsr:@fedify/h3]: https://jsr.io/@fedify/h3
110
+ [npm:@fedify/h3]: https://www.npmjs.com/package/@fedify/h3
111
+ [jsr:@fedify/postgres]: https://jsr.io/@fedify/postgres
112
+ [npm:@fedify/postgres]: https://www.npmjs.com/package/@fedify/postgres
113
+ [jsr:@fedify/redis]: https://jsr.io/@fedify/redis
114
+ [npm:@fedify/redis]: https://www.npmjs.com/package/@fedify/redis
115
+
116
+
84
117
  Sponsors
85
118
  --------
86
119
 
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { GetUserAgentOptions } from "./docloader-Q42SMRIB.js";
4
- import { Application, Group, Organization, Person, Service } from "./vocab-CzEfWQk2.js";
3
+ import { GetUserAgentOptions } from "./docloader-BeCtcTOJ.js";
4
+ import { Application, Group, Organization, Person, Service } from "./vocab-By6mpzr-.js";
5
5
  import { TracerProvider } from "@opentelemetry/api";
6
6
 
7
7
  //#region vocab/actor.d.ts