@fedify/fedify 1.8.1-pr.339.1222 → 1.8.1-pr.339.1267

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 +14 -11
  2. package/dist/{actor-B4TBtqRP.d.ts → actor-C2nhWp6O.d.ts} +3 -3
  3. package/dist/{actor-Bt5xDUZo.js → actor-CmkL94HP.js} +2 -2
  4. package/dist/{actor-DVPWhxHG.js → actor-aW87k6YP.js} +189 -189
  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-DgY04ZH-.js → authdocloader-CSdMJ3OD.js} +4 -4
  13. package/dist/{authdocloader-C-AUsWQ2.js → authdocloader-CfZzF6aW.js} +4 -4
  14. package/dist/{builder-C9T8U_Uf.js → builder-KOoy-ITr.js} +6 -6
  15. package/dist/{client-BQ4AQGKo.d.ts → client-D2tgjFk3.d.ts} +4 -4
  16. package/dist/{client-DWpUfRbw.js → client-DfttEsJO.js} +3 -3
  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-Csbv_Ssv.d.ts → context-BBD2ZH_P.d.ts} +95 -95
  22. package/dist/{denokv-DK9P5Jq7.js → denokv-2x6-IpXO.js} +1 -1
  23. package/dist/{docloader-vzD7dFee.js → docloader-BCgyiRag.js} +34 -34
  24. package/dist/{docloader-BeCtcTOJ.d.ts → docloader-Bz56sKV5.d.ts} +2 -2
  25. package/dist/{esm-CvgSbZB6.js → esm-BwBAFDMZ.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-CJ_WXWxy.js → http-B1ff1viM.js} +4 -4
  41. package/dist/{http-sujZOSn0.js → http-BUhvpgNR.js} +3 -3
  42. package/dist/{http-BL6S1G0j.d.ts → http-l4uEvaAw.d.ts} +5 -5
  43. package/dist/{inbox-ziHZFl9m.js → inbox-CJoj4ew9.js} +2 -2
  44. package/dist/{key-CqPfdz_a.js → key-B9HDRSYF.js} +4 -4
  45. package/dist/{key-C8O0PF-4.js → key-Bycq40gh.js} +4 -4
  46. package/dist/{key-B8eVu_yr.js → key-D-lyguVw.js} +3 -3
  47. package/dist/{key-CSJmowMR.js → key-Dytvox0s.js} +4 -4
  48. package/dist/{keycache-8pBZ0_On.js → keycache-DRL-euZL.js} +2 -2
  49. package/dist/{keys-BNpjYTyO.js → keys-3qmW6xNM.js} +2 -2
  50. package/dist/{kv-DDdb1hMa.d.ts → kv-C7sopW2E.d.ts} +2 -2
  51. package/dist/{kv-D7Yt6pnB.js → kv-CRZrzyXm.js} +1 -1
  52. package/dist/{ld-BL1xjQSp.js → ld-DCy3fb6F.js} +3 -3
  53. package/dist/{lookup-COgtfqH1.js → lookup-B0kqr1YK.js} +4 -4
  54. package/dist/{lookup-J_m4YZg0.d.ts → lookup-BJelGpWr.d.ts} +3 -3
  55. package/dist/{lookup-DofYsQEG.js → lookup-gra7DAIV.js} +2 -2
  56. package/dist/middleware-B8IJYZA9.js +17 -0
  57. package/dist/{middleware-CKluVPhT.js → middleware-CAzmuaK9.js} +53 -53
  58. package/dist/{middleware-DLufxElo.js → middleware-CWKaURv5.js} +51 -51
  59. package/dist/middleware-D8Av026r.js +26 -0
  60. package/dist/{mod-BFwgZ7_K.d.ts → mod-D79SaXL-.d.ts} +6 -6
  61. package/dist/{mod-Dc_fDCtK.d.ts → mod-DDwnlIlm.d.ts} +6 -6
  62. package/dist/{mod-D8-liXFY.d.ts → mod-DM7ZpXF4.d.ts} +4 -4
  63. package/dist/{mod-j0OCtlRW.d.ts → mod-DwquBB1g.d.ts} +6 -6
  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-X6sRUlBy.js → owner-DExszVkD.js} +3 -3
  74. package/dist/{owner-CEv_PfyK.d.ts → owner-fFqUg4lq.d.ts} +4 -4
  75. package/dist/{proof-DeKaTDaf.js → proof-Cnxcwp1a.js} +4 -4
  76. package/dist/{proof-5_7xBmeg.js → proof-DY_ZcCZq.js} +7 -7
  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-CgfThRII.js → send-ovNk9TQg.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 +90 -90
  98. package/dist/testing/mod.js +3 -3
  99. package/dist/{testing-BoRC_4LY.js → testing-Ddk8H2Ez.js} +5 -5
  100. package/dist/{transformers-ghwJuzGY.js → transformers-Dna8Fg7k.js} +4 -4
  101. package/dist/{type-ezvzDgRG.js → type-C4M92j6x.js} +221 -221
  102. package/dist/{types-n7HI7VFr.js → types-BIgY6c-l.js} +2 -2
  103. package/dist/{types-CyMsyyYb.js → types-C0RmUAha.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-By6mpzr-.d.ts → vocab-CA7YwVEz.d.ts} +3 -3
  111. package/dist/{vocab-DSvb-EJO.js → vocab-DyLqaidG.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 +16 -16
  120. package/dist/x/hono.js +3 -3
  121. package/dist/x/sveltekit.d.ts +13 -13
  122. package/dist/x/sveltekit.js +2 -2
  123. package/package.json +3 -3
  124. package/dist/middleware-BJaUQkU6.js +0 -26
  125. package/dist/middleware-DsFygqcs.js +0 -17
  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
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import "../kv-DDdb1hMa.js";
4
- import "../docloader-BeCtcTOJ.js";
5
- import { Link, LookupWebFingerOptions, ResourceDescriptor, lookupWebFinger } from "../lookup-J_m4YZg0.js";
3
+ import "../kv-C7sopW2E.js";
4
+ import "../docloader-Bz56sKV5.js";
5
+ import { Link, LookupWebFingerOptions, ResourceDescriptor, lookupWebFinger } from "../lookup-BJelGpWr.js";
6
6
  import "../mod-GIh5OYxW.js";
7
7
  export { Link, LookupWebFingerOptions, ResourceDescriptor, lookupWebFinger };
@@ -2,8 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../docloader-vzD7dFee.js";
6
- import { lookupWebFinger } from "../lookup-DofYsQEG.js";
5
+ import "../docloader-BCgyiRag.js";
6
+ import { lookupWebFinger } from "../lookup-gra7DAIV.js";
7
7
  import "../webfinger-C3GIyXIg.js";
8
8
 
9
9
  export { lookupWebFinger };
@@ -1,10 +1,10 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { KvKey, KvStore, KvStoreSetOptions } from "../kv-DDdb1hMa.js";
4
- import { MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions } from "../mq-DYKDDJmp.js";
3
+ import { KvKey, KvStore, KvStoreSetOptions } from "../kv-C7sopW2E.js";
4
+ import { MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions } from "../mq-CRGm1e_F.js";
5
5
  import { KVNamespace, Queue } from "@cloudflare/workers-types/experimental";
6
6
 
7
- //#region x/cfworkers.d.ts
7
+ //#region src/x/cfworkers.d.ts
8
8
 
9
9
  /**
10
10
  * Implementation of the {@link KvStore} interface for Cloudflare Workers KV
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- //#region x/cfworkers.ts
5
+ //#region src/x/cfworkers.ts
6
6
  /**
7
7
  * Implementation of the {@link KvStore} interface for Cloudflare Workers KV
8
8
  * binding. This class provides a wrapper around Cloudflare's KV namespace to
@@ -3,20 +3,20 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../type-ezvzDgRG.js";
7
- import { assertEquals } from "../assert_equals-C5gKCm6A.js";
8
- import "../assert-DwEa6glZ.js";
9
- import "../assert_instance_of-C9QtN-X9.js";
10
- import "../lookup-COgtfqH1.js";
11
- import { test } from "../testing-BoRC_4LY.js";
12
- import "../std__assert-BQdmxyzF.js";
13
- import "../assert_rejects-AjlKk-Vo.js";
14
- import "../assert_is_error-CeVBLPsZ.js";
15
- import "../assert_not_equals-D2R2nl5h.js";
16
- import "../assert_throws-CqMKbTh_.js";
6
+ import "../type-C4M92j6x.js";
7
+ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
+ import "../assert-MZs1qjMx.js";
9
+ import "../assert_instance_of-DHz7EHNU.js";
10
+ import "../lookup-B0kqr1YK.js";
11
+ import { test } from "../testing-Ddk8H2Ez.js";
12
+ import "../std__assert-X-_kMxKM.js";
13
+ import "../assert_rejects-DiIiJbZn.js";
14
+ import "../assert_is_error-BPGph1Jx.js";
15
+ import "../assert_not_equals-f3m3epl3.js";
16
+ import "../assert_throws-BOO88avQ.js";
17
17
  import { delay } from "es-toolkit";
18
18
 
19
- //#region x/cfworkers.ts
19
+ //#region src/x/cfworkers.ts
20
20
  /**
21
21
  * Implementation of the {@link KvStore} interface for Cloudflare Workers KV
22
22
  * binding. This class provides a wrapper around Cloudflare's KV namespace to
@@ -95,7 +95,7 @@ var WorkersMessageQueue = class {
95
95
  };
96
96
 
97
97
  //#endregion
98
- //#region x/cfworkers.test.ts
98
+ //#region src/x/cfworkers.test.ts
99
99
  test({
100
100
  name: "WorkersKvStore",
101
101
  ignore: !("navigator" in globalThis && navigator.userAgent === "Cloudflare-Workers"),
package/dist/x/hono.d.ts CHANGED
@@ -1,18 +1,18 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
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-BL6S1G0j.js";
9
- import "../owner-CEv_PfyK.js";
10
- import "../mod-BFwgZ7_K.js";
11
- import "../lookup-J_m4YZg0.js";
12
- import { Federation } from "../context-Csbv_Ssv.js";
13
- import "../mq-DYKDDJmp.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 { Federation } from "../context-BBD2ZH_P.js";
13
+ import "../mq-CRGm1e_F.js";
14
14
 
15
- //#region x/hono.d.ts
15
+ //#region src/x/hono.d.ts
16
16
  interface HonoRequest {
17
17
  raw: Request;
18
18
  }
@@ -25,9 +25,9 @@ type HonoMiddleware<THonoContext extends HonoContext> = (ctx: THonoContext, next
25
25
  * A factory function to create a context data for the {@link Federation}
26
26
  * object.
27
27
  *
28
- * @typeParam TContextData A type of the context data for the {@link Federation}
28
+ * @template TContextData A type of the context data for the {@link Federation}
29
29
  * object.
30
- * @typeParam THonoContext A type of the Hono context.
30
+ * @template THonoContext A type of the Hono context.
31
31
  * @param context A Hono context object.
32
32
  * @returns A context data for the {@link Federation} object.
33
33
  */
@@ -35,9 +35,9 @@ type ContextDataFactory<TContextData, THonoContext> = (context: THonoContext) =>
35
35
  /**
36
36
  * Create a Hono middleware to integrate with the {@link Federation} object.
37
37
  *
38
- * @typeParam TContextData A type of the context data for the {@link Federation}
38
+ * @template TContextData A type of the context data for the {@link Federation}
39
39
  * object.
40
- * @typeParam THonoContext A type of the Hono context.
40
+ * @template THonoContext A type of the Hono context.
41
41
  * @param federation A {@link Federation} object to integrate with Hono.
42
42
  * @param contextDataFactory A function to create a context data for the
43
43
  * {@link Federation} object.
package/dist/x/hono.js CHANGED
@@ -2,13 +2,13 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- //#region x/hono.ts
5
+ //#region src/x/hono.ts
6
6
  /**
7
7
  * Create a Hono middleware to integrate with the {@link Federation} object.
8
8
  *
9
- * @typeParam TContextData A type of the context data for the {@link Federation}
9
+ * @template TContextData A type of the context data for the {@link Federation}
10
10
  * object.
11
- * @typeParam THonoContext A type of the Hono context.
11
+ * @template THonoContext A type of the Hono context.
12
12
  * @param federation A {@link Federation} object to integrate with Hono.
13
13
  * @param contextDataFactory A function to create a context data for the
14
14
  * {@link Federation} object.
@@ -1,18 +1,18 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
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-BL6S1G0j.js";
9
- import "../owner-CEv_PfyK.js";
10
- import "../mod-BFwgZ7_K.js";
11
- import "../lookup-J_m4YZg0.js";
12
- import { Federation } from "../context-Csbv_Ssv.js";
13
- import "../mq-DYKDDJmp.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 { Federation } from "../context-BBD2ZH_P.js";
13
+ import "../mq-CRGm1e_F.js";
14
14
 
15
- //#region x/sveltekit.d.ts
15
+ //#region src/x/sveltekit.d.ts
16
16
  type RequestEvent = {
17
17
  request: Request;
18
18
  };
@@ -31,7 +31,7 @@ type HookParams = {
31
31
  * export const handle = fedifyHook(federation, () => undefined);
32
32
  * ```
33
33
  *
34
- * @typeParam TContextData A type of the context data for the {@link Federation}
34
+ * @template TContextData A type of the context data for the {@link Federation}
35
35
  * object.
36
36
  * @param federation A {@link Federation} object to integrate with SvelteKit.
37
37
  * @param createContextData A function to create a context data for the
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- //#region x/sveltekit.ts
5
+ //#region src/x/sveltekit.ts
6
6
  /**
7
7
  * Create a SvelteKit hook handler to integrate with the {@link Federation}
8
8
  * object.
@@ -14,7 +14,7 @@
14
14
  * export const handle = fedifyHook(federation, () => undefined);
15
15
  * ```
16
16
  *
17
- * @typeParam TContextData A type of the context data for the {@link Federation}
17
+ * @template TContextData A type of the context data for the {@link Federation}
18
18
  * object.
19
19
  * @param federation A {@link Federation} object to integrate with SvelteKit.
20
20
  * @param createContextData A function to create a context data for the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.8.1-pr.339.1222+397c0e32",
3
+ "version": "1.8.1-pr.339.1267+c179ce61",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -16,7 +16,7 @@
16
16
  "repository": {
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/fedify-dev/fedify.git",
19
- "directory": "fedify"
19
+ "directory": "packages/fedify"
20
20
  },
21
21
  "bugs": {
22
22
  "url": "https://github.com/fedify-dev/fedify/issues"
@@ -134,6 +134,6 @@
134
134
  "prepublish": "deno task codegen && tsdown",
135
135
  "test": "deno task codegen && tsdown && cd dist/ && node --test",
136
136
  "test:bun": "deno task codegen && tsdown && cd dist/ && bun test --timeout 60000",
137
- "test:cfworkers": "deno task codegen && wrangler deploy --dry-run --outdir cfworkers && node --import=tsx cfworkers/client.ts"
137
+ "test:cfworkers": "deno task codegen && wrangler deploy --dry-run --outdir src/cfworkers && node --import=tsx src/cfworkers/client.ts"
138
138
  }
139
139
  }
@@ -1,26 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import "./type-ezvzDgRG.js";
7
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-CKluVPhT.js";
8
- import "./semver-DCqorrj5.js";
9
- import "./client-DWpUfRbw.js";
10
- import "./lookup-COgtfqH1.js";
11
- import "./types-n7HI7VFr.js";
12
- import "./actor-Bt5xDUZo.js";
13
- import "./key-CSJmowMR.js";
14
- import "./http-sujZOSn0.js";
15
- import "./authdocloader-C-AUsWQ2.js";
16
- import "./ld-BL1xjQSp.js";
17
- import "./owner-X6sRUlBy.js";
18
- import "./proof-DeKaTDaf.js";
19
- import "./inbox-ziHZFl9m.js";
20
- import "./builder-C9T8U_Uf.js";
21
- import "./collection-D5V3UzU3.js";
22
- import "./keycache-8pBZ0_On.js";
23
- import "./retry-BnpVRGFC.js";
24
- import "./send-CgfThRII.js";
25
-
26
- export { FederationImpl };
@@ -1,17 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- import "./transformers-ghwJuzGY.js";
6
- import "./docloader-vzD7dFee.js";
7
- import "./actor-DVPWhxHG.js";
8
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-DLufxElo.js";
9
- import "./lookup-DofYsQEG.js";
10
- import "./key-CqPfdz_a.js";
11
- import "./http-CJ_WXWxy.js";
12
- import "./proof-5_7xBmeg.js";
13
- import "./types-CyMsyyYb.js";
14
- import "./authdocloader-DgY04ZH-.js";
15
- import "./vocab-DSvb-EJO.js";
16
-
17
- export { FederationImpl };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes